CbmRoot
Loading...
Searching...
No Matches
CbmGeoMuchPar.h
Go to the documentation of this file.
1/* Copyright (C) 2006-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Evgeny Kryshen, Denis Bertini [committer], Florian Uhlig, Mikhail Ryzhinskiy, Mohammad Al-Turany */
4
18#ifndef CBMGEOMUCHPAR_H
19#define CBMGEOMUCHPAR_H
20
21#include <FairParGenericSet.h> // for FairParGenericSet
22
23#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
24#include <RtypesCore.h> // for Bool_t, Int_t
25#include <TObjArray.h> // for TObjArray
26
27class FairParamList;
28
29class CbmGeoMuchPar : public FairParGenericSet {
30public:
31 TObjArray* fGeoSensNodes; // List of FairGeoNodes for sensitive volumes
32 TObjArray* fGeoPassNodes; // List of FairGeoNodes for passive volumes
33 TObjArray* fStations;
34
35 CbmGeoMuchPar(const char* name = "CbmGeoMuchPar", const char* title = "Much Geometry Parameters",
36 const char* context = "TestDefaultContext");
37 ~CbmGeoMuchPar(void);
38 void clear(void);
39 void putParams(FairParamList*);
40 Bool_t getParams(FairParamList*);
41 TObjArray* GetGeoSensitiveNodes() { return fGeoSensNodes; }
42 TObjArray* GetGeoPassiveNodes() { return fGeoPassNodes; }
43 TObjArray* GetStations() { return fStations; }
44 Int_t GetNStations() const { return fStations->GetEntriesFast(); }
45
46private:
49
50 ClassDef(CbmGeoMuchPar, 1)
51};
52
53#endif /* !CBMGEOMUCHPAR_H */
CbmGeoMuchPar(const CbmGeoMuchPar &)
TObjArray * fGeoSensNodes
TObjArray * fStations
void clear(void)
TObjArray * GetGeoPassiveNodes()
CbmGeoMuchPar(const char *name="CbmGeoMuchPar", const char *title="Much Geometry Parameters", const char *context="TestDefaultContext")
TObjArray * fGeoPassNodes
TObjArray * GetStations()
Int_t GetNStations() const
void putParams(FairParamList *)
Bool_t getParams(FairParamList *)
TObjArray * GetGeoSensitiveNodes()
CbmGeoMuchPar & operator=(const CbmGeoMuchPar &)