FairRoot/PandaRoot
|
#include <PndStt.h>
Public Member Functions | |
PndStt () | |
PndStt (const char *name, Bool_t active) | |
virtual | ~PndStt () |
virtual void | Initialize () |
virtual Bool_t | ProcessHits (FairVolume *vol=0) |
virtual void | EndOfEvent () |
virtual void | Register () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | Print () const |
virtual void | Reset () |
virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
virtual void | ConstructGeometry () |
void | SetDefaultSensorNames () |
Protected Member Functions | |
bool | CheckIfSensitive (std::string name) |
Protected Attributes | |
std::vector< std::string > | fListOfSensitives |
Private Member Functions | |
PndSttPoint * | AddHit (Int_t trackID, Int_t detID, Int_t tubeID, TVector3 pos, TVector3 posInLocal, TVector3 posOutLocal, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Double_t mass) |
std::string | GetStringPart (std::string &aSrc, Int_t part, char aDelim) |
bool | Split (std::string &aDest, std::string &aSrc, char aDelim) |
void | ResetParameters () |
float | GetSquaredDistanceFromWire () |
PndStt (const PndStt &L) | |
PndStt & | operator= (const PndStt &) |
Private Attributes | |
Int_t | fTrackID |
Int_t | fVolumeID |
track index More... | |
TVector3 | fPosInLocal |
volume id More... | |
TVector3 | fPosOutLocal |
entry position in straw frame More... | |
TVector3 | fMomIn |
exit position in straw frame More... | |
TVector3 | fMomOut |
momentum More... | |
Double_t | fTime |
momentum More... | |
Double_t | fLength |
time More... | |
Double_t | fELoss |
length More... | |
Double_t | fMass |
energy loss More... | |
Bool_t | fIsInitialized |
particle mass More... | |
Int_t | fPosIndex |
TClonesArray * | fSttCollection |
TVector3 | fpostot |
Hit collection. More... | |
TVector3 | fpostotin |
TVector3 | fpostotout |
TObjArray * | fPassNodes |
Int_t | fGeoType |
Bool_t | fInFlag |
PndStt::PndStt | ( | ) |
Default constructor
Definition at line 46 of file PndStt.cxx.
References fSttCollection.
PndStt::PndStt | ( | const char * | name, |
Bool_t | active | ||
) |
Standard constructor.
name | detetcor name |
active | sensitivity flag |
Definition at line 59 of file PndStt.cxx.
References fSttCollection.
|
virtual |
|
private |
|
private |
Private method AddHit
Adds a CbmTrdPoint to the HitCollection
Definition at line 422 of file PndStt.cxx.
References fSttCollection, and PndSttPoint::SetTubeID().
Referenced by ProcessHits().
|
protected |
|
virtual |
Virtual method Construct geometry
Constructs the STT geometry
Definition at line 347 of file PndStt.cxx.
References Bool_t, PndGeoHandling::CreateUniqueSensorId(), fGeoType, PndSttMapCreator::FillSttTubeParameters(), PndSttMapCreator::FillSttTubeParametersType2(), fListOfSensitives, fRun, geoFace, geoLoad, PndGeoHandling::Instance(), par, PndGeoHandling::PrintSensorNames(), rtdb, SetDefaultSensorNames(), and TString.
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
cl1 | Origin |
cl2 | Target |
offset | Index offset |
Definition at line 317 of file PndStt.cxx.
References fPosIndex, i, and 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 258 of file PndStt.cxx.
References fPosIndex, fSttCollection, and Print().
|
virtual |
Accessor to the hit collection
Definition at line 279 of file PndStt.cxx.
References fSttCollection.
|
private |
Private method GetSquaredDistanceFromWire
Returns the square of the distance of the current trackpoint to the wire
Definition at line 98 of file PndStt.cxx.
|
private |
Definition at line 136 of file PndStt.cxx.
References counter, and Split().
|
virtual |
Definition at line 86 of file PndStt.cxx.
References gGeoManager, and Initialize().
|
virtual |
Virtual method Print
Screen output of hit collection.
Definition at line 291 of file PndStt.cxx.
References fSttCollection, i, and nHits.
Referenced by EndOfEvent().
|
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 |
Definition at line 159 of file PndStt.cxx.
References AddHit(), PndStack::AddPoint(), Double_t, fELoss, fGeoType, fInFlag, fLength, fMass, fMomIn, fMomOut, fPosInLocal, fPosOutLocal, fpostot, fpostotin, fpostotout, fTime, fTrackID, fVolumeID, PndGeoHandling::GetShortID(), PndSttMapCreator::GetTubeIDFromPath(), PndGeoHandling::Instance(), kSTT, mom, name, ResetParameters(), and TString.
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
Definition at line 270 of file PndStt.cxx.
References fSttCollection.
|
virtual |
Virtual method Reset
Clears the hit collection
Definition at line 307 of file PndStt.cxx.
References fSttCollection, and ResetParameters().
|
inlineprivate |
Private method ResetParameters
Resets the private members for the track parameters
Definition at line 186 of file PndStt.h.
References fELoss, fLength, fMass, fMomIn, fMomOut, fPosIndex, fPosInLocal, fPosOutLocal, fpostot, fpostotin, fpostotout, fTime, fTrackID, and fVolumeID.
Referenced by ProcessHits(), and Reset().
void PndStt::SetDefaultSensorNames | ( | ) |
Definition at line 448 of file PndStt.cxx.
References fListOfSensitives.
Referenced by ConstructGeometry().
|
private |
|
private |
|
private |
Definition at line 147 of file PndStt.h.
Referenced by ConstructGeometry(), and ProcessHits().
|
private |
Definition at line 150 of file PndStt.h.
Referenced by ProcessHits().
|
private |
|
protected |
Definition at line 117 of file PndStt.h.
Referenced by CheckIfSensitive(), ConstructGeometry(), and SetDefaultSensorNames().
|
private |
energy loss
Definition at line 135 of file PndStt.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
exit position in straw frame
Definition at line 130 of file PndStt.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
momentum
Definition at line 131 of file PndStt.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 138 of file PndStt.h.
Referenced by CopyClones(), EndOfEvent(), and ResetParameters().
|
private |
volume id
Definition at line 128 of file PndStt.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
entry position in straw frame
Definition at line 129 of file PndStt.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Hit collection.
Definition at line 140 of file PndStt.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 141 of file PndStt.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 142 of file PndStt.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 139 of file PndStt.h.
Referenced by AddHit(), EndOfEvent(), GetCollection(), PndStt(), Print(), Register(), Reset(), and ~PndStt().
|
private |
momentum
Definition at line 132 of file PndStt.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Track information to be stored until the track leaves the active volume.
Definition at line 126 of file PndStt.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
track index
Definition at line 127 of file PndStt.h.
Referenced by ProcessHits(), and ResetParameters().