CbmRoot
CbmGeoMuchPar.h
Go to the documentation of this file.
1 
14 #ifndef CBMGEOMUCHPAR_H
15 #define CBMGEOMUCHPAR_H
16 
17 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
18 #include <RtypesCore.h> // for Bool_t, Int_t
19 #include <TObjArray.h> // for TObjArray
20 
21 #include <FairParGenericSet.h> // for FairParGenericSet
22 
23 class FairParamList;
24 
25 class CbmGeoMuchPar : public FairParGenericSet {
26 public:
27  TObjArray* fGeoSensNodes; // List of FairGeoNodes for sensitive volumes
28  TObjArray* fGeoPassNodes; // List of FairGeoNodes for passive volumes
29  TObjArray* fStations;
30 
31  CbmGeoMuchPar(const char* name = "CbmGeoMuchPar",
32  const char* title = "Much Geometry Parameters",
33  const char* context = "TestDefaultContext");
34  ~CbmGeoMuchPar(void);
35  void clear(void);
36  void putParams(FairParamList*);
37  Bool_t getParams(FairParamList*);
38  TObjArray* GetGeoSensitiveNodes() { return fGeoSensNodes; }
39  TObjArray* GetGeoPassiveNodes() { return fGeoPassNodes; }
40  TObjArray* GetStations() { return fStations; }
41  Int_t GetNStations() const { return fStations->GetEntriesFast(); }
42 
43 private:
46 
47  ClassDef(CbmGeoMuchPar, 1)
48 };
49 
50 #endif /* !CBMGEOMUCHPAR_H */
CbmGeoMuchPar::operator=
CbmGeoMuchPar & operator=(const CbmGeoMuchPar &)
CbmGeoMuchPar::putParams
void putParams(FairParamList *)
Definition: CbmGeoMuchPar.cxx:36
CbmGeoMuchPar::clear
void clear(void)
Definition: CbmGeoMuchPar.cxx:30
CbmGeoMuchPar::GetStations
TObjArray * GetStations()
Definition: CbmGeoMuchPar.h:40
CbmGeoMuchPar
Definition: CbmGeoMuchPar.h:25
CbmGeoMuchPar::CbmGeoMuchPar
CbmGeoMuchPar(const char *name="CbmGeoMuchPar", const char *title="Much Geometry Parameters", const char *context="TestDefaultContext")
Definition: CbmGeoMuchPar.cxx:20
CbmGeoMuchPar::GetGeoSensitiveNodes
TObjArray * GetGeoSensitiveNodes()
Definition: CbmGeoMuchPar.h:38
CbmGeoMuchPar::CbmGeoMuchPar
CbmGeoMuchPar(const CbmGeoMuchPar &)
CbmGeoMuchPar::~CbmGeoMuchPar
~CbmGeoMuchPar(void)
Definition: CbmGeoMuchPar.cxx:28
CbmGeoMuchPar::GetNStations
Int_t GetNStations() const
Definition: CbmGeoMuchPar.h:41
CbmGeoMuchPar::GetGeoPassiveNodes
TObjArray * GetGeoPassiveNodes()
Definition: CbmGeoMuchPar.h:39
CbmGeoMuchPar::fGeoPassNodes
TObjArray * fGeoPassNodes
Definition: CbmGeoMuchPar.h:28
CbmGeoMuchPar::fStations
TObjArray * fStations
Definition: CbmGeoMuchPar.h:29
CbmGeoMuchPar::fGeoSensNodes
TObjArray * fGeoSensNodes
Definition: CbmGeoMuchPar.h:27
CbmGeoMuchPar::getParams
Bool_t getParams(FairParamList *)
Definition: CbmGeoMuchPar.cxx:43