Skip to content

Commit

Permalink
chore: Drop Fair{ParSet,Container} forward decls
Browse files Browse the repository at this point in the history
and drop some useless includes as well.
  • Loading branch information
ChristianTackeGSI authored and dennisklein committed Mar 4, 2024
1 parent bf88520 commit a3dbb00
Show file tree
Hide file tree
Showing 17 changed files with 6 additions and 58 deletions.
5 changes: 1 addition & 4 deletions examples/MQ/parameters/FairMQExParamsContFact.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand All @@ -10,9 +10,6 @@

#include "FairContFact.h"

class FairContainer;
class FairParSet;

class FairMQExParamsContFact : public FairContFact
{
public:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand All @@ -10,10 +10,6 @@

#include "FairContFact.h" // for FairContFact, etc

#include <Rtypes.h> // for ClassDef

class FairParSet;

class FairTestDetectorContFact : public FairContFact
{
public:
Expand Down
4 changes: 1 addition & 3 deletions examples/advanced/propagator/src/FairTutPropContFact.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2019-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2019-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand All @@ -13,8 +13,6 @@

#include <string.h> // for strcmp, NULL

class FairParSet;

static FairTutPropContFact gFairTutPropContFact;

FairTutPropContFact::FairTutPropContFact()
Expand Down
5 changes: 1 addition & 4 deletions examples/advanced/propagator/src/FairTutPropContFact.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2019-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2019-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand All @@ -9,9 +9,6 @@
#define FAIRTUTPROPCONTFACT_H_

#include "FairContFact.h" // for FairContFact, etc
#include "Rtypes.h" // for ClassDef

class FairParSet;

class FairTutPropContFact : public FairContFact
{
Expand Down
4 changes: 0 additions & 4 deletions examples/common/passive/FairPassiveContFact.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@

#include "FairContFact.h" // for FairContFact, etc

#include <Rtypes.h> // for FairPassiveContFact::Class, etc

class FairParSet;

class FairPassiveContFact : public FairContFact
{
public:
Expand Down
4 changes: 0 additions & 4 deletions examples/simulation/Tutorial1/src/FairTutorialDet1ContFact.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@

#include "FairContFact.h" // for FairContFact, etc

#include <Rtypes.h>

class FairParSet;

class FairTutorialDet1ContFact : public FairContFact
{
public:
Expand Down
4 changes: 0 additions & 4 deletions examples/simulation/Tutorial2/src/FairTutorialDet2ContFact.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@

#include "FairContFact.h"

#include <Rtypes.h>

class FairParSet;

class FairTutorialDet2ContFact : public FairContFact
{
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@

#include "FairContFact.h" // for FairContFact, etc

#include <Rtypes.h> // for ClassDef

class FairParSet;

class FairTutorialDet4ContFact : public FairContFact
{
public:
Expand Down
4 changes: 0 additions & 4 deletions examples/simulation/rutherford/src/FairRutherfordContFact.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@

#include "FairContFact.h" // for FairContFact, etc

#include <Rtypes.h> // for ClassDef

class FairParSet;

class FairRutherfordContFact : public FairContFact
{
public:
Expand Down
2 changes: 0 additions & 2 deletions templates/NewDetector_root_containers/NewDetectorContFact.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

#include "FairContFact.h"

class FairContainer;

class NewDetectorContFact : public FairContFact
{
public:
Expand Down
2 changes: 0 additions & 2 deletions templates/NewDetector_stl_containers/NewDetectorContFact.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

#include "FairContFact.h"

class FairContainer;

class NewDetectorContFact : public FairContFact
{
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

#include "FairContFact.h"

class FairContainer;

class NewDetectorContFact : public FairContFact
{
public:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand Down Expand Up @@ -27,8 +27,6 @@
#include <TString.h> // for TString
#include <string.h> // for strcmp, NULL

class FairParSet;

static MyPassiveContFact gMyPassiveContFact;

MyPassiveContFact::MyPassiveContFact()
Expand Down
4 changes: 0 additions & 4 deletions templates/project_root_containers/passive/MyPassiveContFact.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@

#include "FairContFact.h" // for FairContFact, etc

#include <Rtypes.h> // for MyPassiveContFact::Class, etc

class FairParSet;

class MyPassiveContFact : public FairContFact
{
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

#include "FairContFact.h"

class FairContainer;

class NewDetectorContFact : public FairContFact
{
public:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand Down Expand Up @@ -27,8 +27,6 @@
#include <TString.h> // for TString
#include <string.h> // for strcmp, NULL

class FairParSet;

static MyPassiveContFact gMyPassiveContFact;

MyPassiveContFact::MyPassiveContFact()
Expand Down
4 changes: 0 additions & 4 deletions templates/project_stl_containers/passive/MyPassiveContFact.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@

#include "FairContFact.h" // for FairContFact, etc

#include <Rtypes.h> // for MyPassiveContFact::Class, etc

class FairParSet;

class MyPassiveContFact : public FairContFact
{
public:
Expand Down

0 comments on commit a3dbb00

Please sign in to comment.