CbmRoot
CbmTrdModuleAbstract.cxx
Go to the documentation of this file.
1 #include "CbmTrdModuleAbstract.h"
2 
3 //_______________________________________________________________________________
5  : TNamed()
6  , fModAddress(0)
7  , fLayerId(-1)
8  , fRotation(0)
9  , fDigiPar(nullptr)
10  , fChmbPar(nullptr)
11  , fAsicPar(nullptr)
12  , fGainPar(nullptr)
13  , fGeoPar(nullptr) {}
14 
15 //_______________________________________________________________________________
16 CbmTrdModuleAbstract::CbmTrdModuleAbstract(Int_t mod, Int_t ly, Int_t rot)
17  : TNamed("CbmTrdModule", "Abstract TRD module implementation")
18  , fModAddress(mod)
19  , fLayerId(ly)
20  , fRotation(rot)
21  , fDigiPar(nullptr)
22  , fChmbPar(nullptr)
23  , fAsicPar(nullptr)
24  , fGainPar(nullptr)
25  , fGeoPar(nullptr) {}
26 
27 //_______________________________________________________________________________
29  if (fAsicPar) delete fAsicPar;
30 }
31 
32 //_______________________________________________________________________________
33 void CbmTrdModuleAbstract::LocalToMaster(Double_t in[3], Double_t out[3]) {
34  if (!fGeoPar) return;
35  fGeoPar->LocalToMaster(in, out);
36 }
37 
CbmTrdModuleAbstract::CbmTrdModuleAbstract
CbmTrdModuleAbstract()
Default constructor.
Definition: CbmTrdModuleAbstract.cxx:4
CbmTrdModuleAbstract::fAsicPar
CbmTrdParSetAsic * fAsicPar
the set of ASIC operating on the module (owned)
Definition: CbmTrdModuleAbstract.h:87
CbmTrdModuleAbstract::~CbmTrdModuleAbstract
virtual ~CbmTrdModuleAbstract()
Definition: CbmTrdModuleAbstract.cxx:28
CbmTrdParModGeo::LocalToMaster
virtual void LocalToMaster(Double_t in[3], Double_t out[3]) const
Definition: CbmTrdParModGeo.cxx:34
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition: CbmConverterManager.cxx:12
CbmTrdModuleAbstract.h
CbmTrdModuleAbstract
Abstract class for TRD module.
Definition: CbmTrdModuleAbstract.h:18
CbmTrdModuleAbstract::LocalToMaster
virtual void LocalToMaster(Double_t in[3], Double_t out[3])
Definition: CbmTrdModuleAbstract.cxx:33
CbmTrdModuleAbstract::fGeoPar
const CbmTrdParModGeo * fGeoPar
link to gGeometry for module
Definition: CbmTrdModuleAbstract.h:90