![]() |
PandaRoot
|
#include <PndSdsDetector.h>
Public Member Functions | |
PndSdsDetector () | |
PndSdsDetector (PndSdsDetector &other) | |
PndSdsDetector (const char *name, Bool_t active) | |
virtual | ~PndSdsDetector () |
PndSdsDetector & | operator= (PndSdsDetector &other) |
virtual void | Initialize () |
virtual void | SetBranchNames ()=0 |
virtual void | SetDefaultSensorNames ()=0 |
void | SetExclusiveSensorType (const TString sens) |
virtual Bool_t | ProcessHits (FairVolume *vol=0) |
virtual void | EndOfEvent () |
virtual void | FinishRun () |
virtual void | Register () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | Print () const |
virtual void | SetSpecialPhysicsCuts () |
virtual void | Reset () |
virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
virtual void | ConstructGeometry () |
virtual void | ConstructASCIIGeometry () |
void | SetDetectorID (DetectorId id) |
void | SetRadDamOption (bool val) |
bool | GetRadDamOption () |
void | SetVerboseLevel (Int_t level) |
void | SetPersistance (Bool_t p=kTRUE) |
Bool_t | GetPersistance () |
Protected Member Functions | |
bool | CheckIfSensitive (std::string name) |
PndSdsMCPoint * | AddHit (Int_t trackID, Int_t detID, Int_t sensorID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss) |
void | ResetParameters () |
ClassDef (PndSdsDetector, 6) | |
Protected Attributes | |
Bool_t | fPersistance |
Int_t | fTrackID |
Int_t | fVolumeID |
track index More... | |
TLorentzVector | fPosIn |
Det id. More... | |
TLorentzVector | fPosOut |
entry position in global frame More... | |
TLorentzVector | fMomIn |
exit position in global frame More... | |
TLorentzVector | fMomOut |
momentum More... | |
Double32_t | fTime |
momentum More... | |
Double32_t | fLength |
time More... | |
Double32_t | fELoss |
length More... | |
PndGeoHandling * | fGeoH |
energy loss More... | |
Int_t | fPosIndex |
Gives Access to the Path info of a hit. More... | |
TClonesArray * | fPndSdsCollection |
bool | fUseRadDamOption |
Hit collection. More... | |
TString | fOutBranchName |
enables the detection of neutral particles More... | |
TString | fFolderName |
To be set by daughter classes. More... | |
DetectorId | fDetectorID |
To be set by daughter classes. More... | |
std::vector< std::string > | fListOfSensitives |
To be set by daughter classes. More... | |
Definition at line 34 of file PndSdsDetector.h.
PndSdsDetector::PndSdsDetector | ( | ) |
Default constructor
Referenced by PndSdsDetector().
|
inline |
Definition at line 40 of file PndSdsDetector.h.
References PndSdsDetector(), and ~PndSdsDetector().
PndSdsDetector::PndSdsDetector | ( | const char * | name, |
Bool_t | active | ||
) |
Standard constructor.
name | detetcor name |
active | sensitivity flag |
|
virtual |
Destructor
Referenced by PndSdsDetector().
|
protected |
Private method AddHit
Adds a CbmTrdPoint to the HitCollection
|
protected |
|
protected |
|
virtual |
Referenced by operator=().
|
virtual |
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
cl1 | Origin |
cl2 | Target |
offset | Index offset |
Referenced by operator=().
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, Print hit collection at the end of the event and resets it afterwards.
Referenced by operator=().
|
virtual |
Referenced by operator=().
|
virtual |
Accessor to the hit collection
Referenced by operator=().
|
inline |
|
inline |
Definition at line 164 of file PndSdsDetector.h.
References fUseRadDamOption.
|
virtual |
Reimplemented in PndLmdDetector, and PndMvdDetector.
Referenced by PndMvdDetector::Initialize(), PndLmdDetector::Initialize(), and operator=().
|
inline |
Definition at line 54 of file PndSdsDetector.h.
References ConstructASCIIGeometry(), ConstructGeometry(), CopyClones(), EndOfEvent(), fDetectorID, fELoss, fFolderName, fGeoH, FinishRun(), fLength, fListOfSensitives, fMomIn, fMomOut, fOutBranchName, fPersistance, fPndSdsCollection, fPosIn, fPosIndex, fPosOut, fTime, fTrackID, fUseRadDamOption, fVolumeID, GetCollection(), Initialize(), Print(), ProcessHits(), Register(), Reset(), SetBranchNames(), SetDefaultSensorNames(), SetExclusiveSensorType(), and SetSpecialPhysicsCuts().
|
virtual |
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates CbmTrdPoints and adds them to the collection.
vol | Pointer to the active volume |
Referenced by operator=().
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
Referenced by operator=().
|
virtual |
|
inlineprotected |
Private method ResetParameters
Resets the private members for the track parameters
Definition at line 219 of file PndSdsDetector.h.
References fELoss, fLength, fMomIn, fMomOut, fPosIn, fPosIndex, fPosOut, fTime, fTrackID, and fVolumeID.
|
pure virtual |
pure virtual method SetBranchName
called by Initialize() function to set individual branch names
Implemented in PndLmdDetector, and PndMvdDetector.
Referenced by operator=().
|
pure virtual |
pure virtual method SetDefaultSensorNames
called by Initialize() function to set individual sensor type names
Implemented in PndLmdDetector, and PndMvdDetector.
Referenced by operator=().
|
inline |
Definition at line 157 of file PndSdsDetector.h.
References fDetectorID.
void PndSdsDetector::SetExclusiveSensorType | ( | const TString | sens | ) |
Referenced by operator=().
|
inline |
|
inline |
Definition at line 163 of file PndSdsDetector.h.
References fUseRadDamOption.
|
virtual |
Virtual Method SetSpecialPhysicsCuts
replaces some Geant initialisation via g3Config.C and so on
Reimplemented in PndMvdDetector.
Referenced by operator=().
|
inline |
Definition at line 167 of file PndSdsDetector.h.
References fGeoH, and PndGeoHandling::SetVerbose().
|
protected |
To be set by daughter classes.
Definition at line 197 of file PndSdsDetector.h.
Referenced by operator=(), and SetDetectorID().
|
protected |
length
Definition at line 189 of file PndSdsDetector.h.
Referenced by operator=(), and ResetParameters().
|
protected |
To be set by daughter classes.
Definition at line 196 of file PndSdsDetector.h.
Referenced by operator=().
|
protected |
energy loss
Definition at line 191 of file PndSdsDetector.h.
Referenced by operator=(), and SetVerboseLevel().
|
protected |
time
Definition at line 188 of file PndSdsDetector.h.
Referenced by operator=(), and ResetParameters().
|
protected |
To be set by daughter classes.
Definition at line 199 of file PndSdsDetector.h.
Referenced by operator=().
|
protected |
exit position in global frame
Definition at line 185 of file PndSdsDetector.h.
Referenced by operator=(), and ResetParameters().
|
protected |
momentum
Definition at line 186 of file PndSdsDetector.h.
Referenced by operator=(), and ResetParameters().
|
protected |
enables the detection of neutral particles
Definition at line 195 of file PndSdsDetector.h.
Referenced by operator=().
|
protected |
Definition at line 174 of file PndSdsDetector.h.
Referenced by GetPersistance(), operator=(), and SetPersistance().
|
protected |
Definition at line 193 of file PndSdsDetector.h.
Referenced by operator=().
|
protected |
Det id.
Definition at line 183 of file PndSdsDetector.h.
Referenced by operator=(), and ResetParameters().
|
protected |
Gives Access to the Path info of a hit.
Definition at line 192 of file PndSdsDetector.h.
Referenced by operator=(), and ResetParameters().
|
protected |
entry position in global frame
Definition at line 184 of file PndSdsDetector.h.
Referenced by operator=(), and ResetParameters().
|
protected |
momentum
Definition at line 187 of file PndSdsDetector.h.
Referenced by operator=(), and ResetParameters().
|
protected |
Track information to be stored until the track leaves the active volume.
Definition at line 181 of file PndSdsDetector.h.
Referenced by operator=(), and ResetParameters().
|
protected |
Hit collection.
Definition at line 194 of file PndSdsDetector.h.
Referenced by GetRadDamOption(), operator=(), and SetRadDamOption().
|
protected |
track index
Definition at line 182 of file PndSdsDetector.h.
Referenced by operator=(), and ResetParameters().