|
BmnRoot
|
#include <CbmSts.h>
Public Member Functions | |
| CbmSts () | |
| CbmSts (const char *name, Bool_t active) | |
| virtual | ~CbmSts () |
| virtual Bool_t | ProcessHits (FairVolume *vol=0) |
| virtual void | BeginEvent () |
| virtual void | EndOfEvent () |
| virtual void | Register () |
| virtual TClonesArray * | GetCollection (Int_t iColl) const |
| virtual void | Print (Option_t *) const |
| virtual void | Reset () |
| virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
| virtual void | ConstructGeometry () |
| virtual void | ConstructAsciiGeometry () |
| virtual void | ConstructGDMLGeometry (TGeoMatrix *) |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| CbmSts () | |
| CbmSts (const char *name, Bool_t active) | |
| virtual | ~CbmSts () |
| virtual Bool_t | ProcessHits (FairVolume *vol=0) |
| virtual void | BeginEvent () |
| virtual void | EndOfEvent () |
| virtual void | Register () |
| virtual TClonesArray * | GetCollection (Int_t iColl) const |
| virtual void | Print (Option_t *) const |
| virtual void | Reset () |
| virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
| virtual void | ConstructGeometry () |
| virtual void | ConstructAsciiGeometry () |
| virtual void | ConstructGDMLGeometry (TGeoMatrix *) |
| virtual Bool_t | CheckIfSensitive (std::string name) |
CbmSts.h
Defines the active detector STS. Constructs the geometry and registeres MCPoints.
| CbmSts::CbmSts | ( | ) |
Default constructor
Definition at line 39 of file CbmSts.cxx.
| CbmSts::CbmSts | ( | const char * | name, |
| Bool_t | active | ||
| ) |
Standard constructor.
| name | detetcor name |
| active | sensitivity flag |
Definition at line 65 of file CbmSts.cxx.
|
virtual |
Destructor
Definition at line 88 of file CbmSts.cxx.
| CbmSts::CbmSts | ( | ) |
Default constructor
| CbmSts::CbmSts | ( | const char * | name, |
| Bool_t | active | ||
| ) |
Standard constructor.
| name | detetcor name |
| active | sensitivity flag |
|
virtual |
Destructor
|
virtual |
Virtual method BeginEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
Definition at line 187 of file CbmSts.cxx.
|
virtual |
Virtual method BeginEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
|
virtual |
Check whether a volume is sensitive. The decision is based on the volume name. Only used in case of ROOT geometry.
| (name) | Volume name @value kTRUE if volume is sensitive, else kFALSE |
Definition at line 405 of file CbmSts.cxx.
|
virtual |
Check whether a volume is sensitive. The decision is based on the volume name. Only used in case of ROOT geometry.
| (name) | Volume name @value kTRUE if volume is sensitive, else kFALSE |
|
virtual |
Construct the geometry from an ASCII geometry file
Definition at line 272 of file CbmSts.cxx.
References CbmGeoStsPar::GetGeoPassiveNodes(), and CbmGeoStsPar::GetGeoSensitiveNodes().
Referenced by ConstructGeometry().
|
virtual |
Construct the geometry from an ASCII geometry file
|
virtual |
Construct the geometry from a GDML geometry file
To avoid having different names of the default matrices because we could have get the volume from another TGeoManager, we reset the default matrix name
Now we can add the node to the existing cave
Definition at line 311 of file CbmSts.cxx.
Referenced by ConstructGeometry().
|
virtual |
Construct the geometry from a GDML geometry file
|
virtual |
Construct the STS geometry. Depending on the geometry file extension, the base class method ConstructRootGeometry is called (.root), or the ASCII geometry file is read by the FairGeoLoader (.geo).
Definition at line 254 of file CbmSts.cxx.
References ConstructAsciiGeometry(), and ConstructGDMLGeometry().
|
virtual |
Construct the STS geometry. Depending on the geometry file extension, the base class method ConstructRootGeometry is called (.root), or the ASCII geometry file is read by the FairGeoLoader (.geo).
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
| cl1 | Origin |
| cl2 | Target |
| offset | Index offset |
Definition at line 236 of file CbmSts.cxx.
References i, and CbmStsPoint::SetTrackID().
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
| cl1 | Origin |
| cl2 | Target |
| offset | Index offset |
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
Definition at line 189 of file CbmSts.cxx.
References Print().
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
|
virtual |
Accessor to the hit collection
Definition at line 209 of file CbmSts.cxx.
|
virtual |
Accessor to the hit collection
|
virtual |
Virtual method Print
Screen output of hit collection.
Definition at line 219 of file CbmSts.cxx.
Referenced by EndOfEvent().
|
virtual |
Virtual method Print
Screen output of hit collection.
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates a CbmStsPoint and adds it to the collection.
| vol | Pointer to the active volume |
Definition at line 98 of file CbmSts.cxx.
References CbmStack::AddPoint(), and kGEM.
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates a CbmStsPoint and adds it to the collection.
| vol | Pointer to the active volume |
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
Definition at line 202 of file CbmSts.cxx.
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
|
virtual |
|
virtual |
Virtual method Reset
Clears the hit collection