Skip to content

Commit

Permalink
chore(base): Drop ClassImp
Browse files Browse the repository at this point in the history
See: 744fad7
  • Loading branch information
ChristianTackeGSI authored and karabowi committed Mar 7, 2023
1 parent 58f3bdc commit 10d8b32
Show file tree
Hide file tree
Showing 56 changed files with 53 additions and 163 deletions.
4 changes: 1 addition & 3 deletions base/event/FairEventBuilder.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -99,5 +99,3 @@ void FairEventBuilder::Finish()
std::cout << " Should be implemented by the user" << std::endl;
std::cout << "---------------------------------------------------------------------" << std::endl;
}

ClassImp(FairEventBuilder);
4 changes: 1 addition & 3 deletions base/event/FairEventBuilderManager.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -162,5 +162,3 @@ void FairEventBuilderManager::Finish()
}
cout << "=====================================================================" << endl;
}

ClassImp(FairEventBuilderManager);
2 changes: 0 additions & 2 deletions base/event/FairEventHeader.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@ void FairEventHeader::Register(Bool_t Persistence)
{
FairRootManager::Instance()->Register("EventHeader.", "EvtHeader", this, Persistence);
}

ClassImp(FairEventHeader);
5 changes: 1 addition & 4 deletions base/event/FairFileHeader.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand All @@ -18,7 +18,6 @@
#include <TList.h> // for TList
#include <TObjString.h> // for TObjString
#include <TObject.h> // for TObject
class TFile;

FairFileHeader::FairFileHeader()
: TNamed()
Expand Down Expand Up @@ -51,5 +50,3 @@ FairFileInfo* FairFileHeader::GetFileInfo(UInt_t id, UInt_t ChId)
}

FairFileHeader::~FairFileHeader() {}

ClassImp(FairFileHeader);
3 changes: 1 addition & 2 deletions base/event/FairFileInfo.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -45,4 +45,3 @@ void FairFileInfo::Print(Option_t*) const
printf("File order in input chain : %i \n", fInChainId);
}
//__________________________________________________________________________
ClassImp(FairFileInfo);
4 changes: 1 addition & 3 deletions base/event/FairHit.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -32,5 +32,3 @@ FairHit::FairHit(Int_t detID, const TVector3& pos, const TVector3& dpos, Int_t i
{}

FairHit::~FairHit() {}

ClassImp(FairHit);
4 changes: 1 addition & 3 deletions base/event/FairLink.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand All @@ -16,8 +16,6 @@

#include "FairRootManager.h"

ClassImp(FairLink);

FairLink::FairLink(TString branchName, Int_t index, Float_t weight)
: fFile(0)
, fType(0)
Expand Down
4 changes: 1 addition & 3 deletions base/event/FairMCEventHeader.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -84,5 +84,3 @@ void FairMCEventHeader::Register()
// Dot at the end of the name is needed for splitting!!
FairRootManager::Instance()->Register("MCEventHeader.", "Event", this, kTRUE);
}

ClassImp(FairMCEventHeader);
4 changes: 1 addition & 3 deletions base/event/FairMCPoint.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -58,5 +58,3 @@ void FairMCPoint::Print(const Option_t*) const
LOG(debug) << " Time " << fTime << " ns, Length " << fLength << " cm, Energy loss " << fELoss * 1.0e06
<< " keV";
}

ClassImp(FairMCPoint);
4 changes: 1 addition & 3 deletions base/event/FairMesh.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -97,5 +97,3 @@ void FairMesh::print()
cout << " Zmin " << fZmin << " Zmax " << fZmax << endl;
cout << " NX " << NXbin << " NY " << NXbin << endl;
}

ClassImp(FairMesh);
4 changes: 1 addition & 3 deletions base/event/FairMultiLinkedData.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand All @@ -22,8 +22,6 @@
#include <algorithm> // for find
#include <iterator> // for distance

ClassImp(FairMultiLinkedData);

FairMultiLinkedData::FairMultiLinkedData()
: TObject()
, fLinks()
Expand Down
2 changes: 0 additions & 2 deletions base/event/FairMultiLinkedData_Interface.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

#include "FairRootManager.h" // for FairRootManager

ClassImp(FairMultiLinkedData_Interface);

FairMultiLinkedData_Interface::FairMultiLinkedData_Interface(FairMultiLinkedData& links, Bool_t)
{
SetLinks(links);
Expand Down
2 changes: 0 additions & 2 deletions base/event/FairPrintFairLinks.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,3 @@ void FairPrintFairLinks::Exec(Option_t*)
}

void FairPrintFairLinks::Finish() {}

ClassImp(FairPrintFairLinks);
4 changes: 1 addition & 3 deletions base/event/FairRadLenPoint.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -59,5 +59,3 @@ FairRadLenPoint::~FairRadLenPoint() {}
void FairRadLenPoint::Print(const Option_t*) const
{ /**to be implimented*/
}

ClassImp(FairRadLenPoint);
4 changes: 1 addition & 3 deletions base/event/FairRadMapPoint.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -69,5 +69,3 @@ FairRadMapPoint::~FairRadMapPoint() {}
void FairRadMapPoint::Print(const Option_t*) const
{ /**to be implimented*/
}

ClassImp(FairRadMapPoint);
4 changes: 1 addition & 3 deletions base/event/FairRecoEventHeader.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand All @@ -20,5 +20,3 @@ FairRecoEventHeader::FairRecoEventHeader()
{}

FairRecoEventHeader::~FairRecoEventHeader() {}

ClassImp(FairRecoEventHeader);
4 changes: 1 addition & 3 deletions base/event/FairRunInfo.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand All @@ -19,8 +19,6 @@
#include <algorithm> // for sort
#include <memory> // for unique_ptr

ClassImp(FairRunInfo);

FairRunInfo::FairRunInfo()
: TObject()
, fTimeStamp()
Expand Down
4 changes: 1 addition & 3 deletions base/event/FairTimeStamp.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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,5 +13,3 @@ std::ostream& FairTimeStamp::PrintTimeInfo(std::ostream& out) const
FairMultiLinkedData_Interface::PrintLinkInfo(out);
return out;
}

ClassImp(FairTimeStamp);
4 changes: 1 addition & 3 deletions base/event/FairTrackParam.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -203,5 +203,3 @@ FairTrackParam& FairTrackParam::operator=(const FairTrackParam& par)
SetCovMatrix(cov);
return *this;
}

ClassImp(FairTrackParam);
4 changes: 1 addition & 3 deletions base/field/FairField.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -41,5 +41,3 @@ void FairField::GetFieldValue(const Double_t point[3], Double_t* bField)
bField[1] = GetBy(point[0], point[1], point[2]);
bField[2] = GetBz(point[0], point[1], point[2]);
}

ClassImp(FairField);
9 changes: 5 additions & 4 deletions base/field/FairFieldFactory.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -31,6 +31,7 @@ FairFieldFactory::~FairFieldFactory()
}
}

FairFieldFactory* FairFieldFactory::Instance() { return fgRinstance; }

ClassImp(FairFieldFactory);
FairFieldFactory* FairFieldFactory::Instance()
{
return fgRinstance;
}
4 changes: 0 additions & 4 deletions base/sim/FairBaseContFact.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
#include <TString.h>
#include <string.h>

class FairParSet;

ClassImp(FairBaseContFact);

static FairBaseContFact gFairBaseContFact;

FairBaseContFact::FairBaseContFact()
Expand Down
4 changes: 1 addition & 3 deletions base/sim/FairBaseParSet.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand All @@ -17,8 +17,6 @@

#include <TObjArray.h>

ClassImp(FairBaseParSet);

FairBaseParSet::FairBaseParSet(const char* name, const char* title, const char* context)
: FairParGenericSet(name, title, context)
, fDetList(0)
Expand Down
4 changes: 1 addition & 3 deletions base/sim/FairDetector.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -140,5 +140,3 @@ void FairDetector::SaveGeoParams()
fGeoSaved = kTRUE;
}
}

ClassImp(FairDetector);
4 changes: 1 addition & 3 deletions base/sim/FairDoubleHit.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
Expand All @@ -19,5 +19,3 @@ FairDoubleHit::FairDoubleHit()
{}

FairDoubleHit::~FairDoubleHit() {}

ClassImp(FairDoubleHit);
9 changes: 5 additions & 4 deletions base/sim/FairGeaneApplication.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -68,6 +68,7 @@ void FairGeaneApplication::GeaneStepping()
}
}

void FairGeaneApplication::SetField(FairField* field) { fxField = field; }

ClassImp(FairGeaneApplication);
void FairGeaneApplication::SetField(FairField* field)
{
fxField = field;
}
4 changes: 1 addition & 3 deletions base/sim/FairGenerator.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -42,5 +42,3 @@ FairGenerator* FairGenerator::CloneGenerator() const
Fatal("CloneGenerator", "Has to be overriden in multi-threading applications.");
return 0;
}

ClassImp(FairGenerator);
4 changes: 1 addition & 3 deletions base/sim/FairGenericStack.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -172,5 +172,3 @@ void FairGenericStack::FastSimPushSecondary(Int_t parentID,
fFSFirstSecondary = GetListOfParticles()->GetEntries() - 1;
fFSNofSecondaries++;
}

ClassImp(FairGenericStack);
4 changes: 1 addition & 3 deletions base/sim/FairGenericVMCConfig.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2023 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 @@ -224,5 +224,3 @@ void FairGenericVMCConfig::SetupPostInit(const char* mcEngine)
gROOT->ProcessLine("ConfigPostInit()");
}
}

ClassImp(FairGenericVMCConfig);
Loading

0 comments on commit 10d8b32

Please sign in to comment.