FairRoot/PandaRoot
|
#include <PndFts.h>
Public Member Functions | |
PndFts () | |
PndFts (const char *name, Bool_t active) | |
virtual | ~PndFts () |
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 () |
void | Initialize () |
virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
virtual void | ConstructGeometry () |
Private Member Functions | |
PndFtsPoint * | AddHit (Int_t trackID, Int_t detID, Int_t tubeID, Int_t chamberID, Int_t layerID, 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 () |
PndFts (const PndFts &L) | |
PndFts & | operator= (const PndFts &) |
Private Attributes | |
Int_t | fTrackID |
Int_t | fVolumeID |
track index More... | |
TLorentzVector | fPos |
volume id More... | |
TLorentzVector | fPosIn |
wire position in global frame More... | |
TLorentzVector | fPosOut |
entry position in global frame More... | |
TLorentzVector | fPosInLocal |
exit position in global frame More... | |
TLorentzVector | fPosOutLocal |
entry position in straw frame More... | |
TLorentzVector | fMomIn |
exit position in straw frame More... | |
TLorentzVector | 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 * | fFtsCollection |
TLorentzVector | fpostot |
Hit collection. More... | |
TLorentzVector | fpostotin |
TLorentzVector | fpostotout |
TObjArray * | fPassNodes |
Bool_t | valid |
Int_t | fGeoType |
PndFtsMapCreator * | fMapper |
PndFts::PndFts | ( | ) |
Default constructor
Definition at line 43 of file PndFts.cxx.
References fFtsCollection.
PndFts::PndFts | ( | const char * | name, |
Bool_t | active | ||
) |
Standard constructor.
name | detetcor name |
active | sensitivity flag |
Definition at line 56 of file PndFts.cxx.
References fFtsCollection.
|
virtual |
|
private |
|
private |
Private method AddHit
Adds a CbmTrdPoint to the HitCollection
Definition at line 469 of file PndFts.cxx.
References fFtsCollection, PndFtsPoint::SetChamberID(), PndFtsPoint::SetLayerID(), and PndFtsPoint::SetTubeID().
Referenced by ProcessHits().
|
virtual |
Virtual method Construct geometry
Constructs the STT geometry
Definition at line 413 of file PndFts.cxx.
References Bool_t, fGeoType, fMapper, fPassNodes, fRun, geoFace, geoLoad, PndGeoFtsPar::GetGeoPassiveNodes(), PndGeoFtsPar::GetGeoSensitiveNodes(), par, rtdb, PndGeoFtsPar::SetGeometryType(), PndGeoFtsPar::SetTubeInRad(), and PndGeoFtsPar::SetTubeOutRad().
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
cl1 | Origin |
cl2 | Target |
offset | Index offset |
Definition at line 377 of file PndFts.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 318 of file PndFts.cxx.
References fFtsCollection, fPosIndex, and Print().
|
virtual |
Accessor to the hit collection
Definition at line 339 of file PndFts.cxx.
References fFtsCollection.
|
private |
Private method GetSquaredDistanceFromWire
Returns the square of the distance of the current trackpoint to the wire
Definition at line 82 of file PndFts.cxx.
|
private |
Definition at line 120 of file PndFts.cxx.
References counter, and Split().
Referenced by ProcessHits().
void PndFts::Initialize | ( | ) |
|
virtual |
Virtual method Print
Screen output of hit collection.
Definition at line 351 of file PndFts.cxx.
References fFtsCollection, 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 143 of file PndFts.cxx.
References AddHit(), PndStack::AddPoint(), Double_t, fELoss, fLength, fMapper, fMass, fMomIn, fMomOut, fPassNodes, fPos, fPosInLocal, fPosOut, fPosOutLocal, fpostot, fpostotin, fpostotout, fTime, fTrackID, fVolumeID, PndFtsMapCreator::GetChamberIDFromPath(), PndFtsMapCreator::GetLayerID(), GetStringPart(), PndFtsMapCreator::GetTubeIDFromPath(), PndFtsMapCreator::GetTubeIDTot(), kFTS, name, ResetParameters(), TString, and valid.
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
Definition at line 330 of file PndFts.cxx.
References fFtsCollection.
|
virtual |
Virtual method Reset
Clears the hit collection
Definition at line 367 of file PndFts.cxx.
References fFtsCollection, and ResetParameters().
|
inlineprivate |
Private method ResetParameters
Resets the private members for the track parameters
Definition at line 174 of file PndFts.h.
References fELoss, fIsInitialized, fLength, fMass, fMomIn, fMomOut, fPos, fPosIn, fPosIndex, fPosInLocal, fPosOut, fPosOutLocal, fpostot, fpostotin, fpostotout, fTime, fTrackID, fVolumeID, and valid.
Referenced by ProcessHits(), and Reset().
|
private |
|
private |
|
private |
Definition at line 128 of file PndFts.h.
Referenced by AddHit(), EndOfEvent(), GetCollection(), PndFts(), Print(), Register(), Reset(), and ~PndFts().
|
private |
Definition at line 136 of file PndFts.h.
Referenced by ConstructGeometry().
|
private |
|
private |
|
private |
Definition at line 138 of file PndFts.h.
Referenced by ConstructGeometry(), and ProcessHits().
|
private |
energy loss
Definition at line 124 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
exit position in straw frame
Definition at line 119 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
momentum
Definition at line 120 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 133 of file PndFts.h.
Referenced by ConstructGeometry(), and ProcessHits().
|
private |
volume id
Definition at line 114 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
wire position in global frame
Definition at line 115 of file PndFts.h.
Referenced by ResetParameters().
|
private |
Definition at line 127 of file PndFts.h.
Referenced by CopyClones(), EndOfEvent(), and ResetParameters().
|
private |
exit position in global frame
Definition at line 117 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
entry position in global frame
Definition at line 116 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
entry position in straw frame
Definition at line 118 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Hit collection.
Definition at line 129 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 130 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 131 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
momentum
Definition at line 121 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
GFTrack information to be stored until the track leaves the active volume.
Definition at line 112 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
track index
Definition at line 113 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 135 of file PndFts.h.
Referenced by ProcessHits(), and ResetParameters().