FairRoot/PandaRoot
|
#include <PndFts2.h>
Public Member Functions | |
PndFts2 () | |
PndFts2 (const char *name, Bool_t active) | |
virtual | ~PndFts2 () |
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 () |
PndFts2 (const PndFts2 &L) | |
PndFts2 & | operator= (const PndFts2 &) |
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 |
PndFts2::PndFts2 | ( | ) |
Default constructor
Definition at line 43 of file PndFts2.cxx.
References fFtsCollection.
PndFts2::PndFts2 | ( | const char * | name, |
Bool_t | active | ||
) |
Standard constructor.
name | detetcor name |
active | sensitivity flag |
Definition at line 56 of file PndFts2.cxx.
References fFtsCollection.
|
virtual |
|
private |
|
private |
Private method AddHit
Adds a CbmTrdPoint to the HitCollection
Definition at line 468 of file PndFts2.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 414 of file PndFts2.cxx.
References Bool_t, fGeoType, 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 378 of file PndFts2.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 319 of file PndFts2.cxx.
References fFtsCollection, fPosIndex, and Print().
|
virtual |
Accessor to the hit collection
Definition at line 340 of file PndFts2.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 PndFts2.cxx.
|
private |
Definition at line 120 of file PndFts2.cxx.
References counter, and Split().
void PndFts2::Initialize | ( | ) |
|
virtual |
Virtual method Print
Screen output of hit collection.
Definition at line 352 of file PndFts2.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 PndFts2.cxx.
References AddHit(), PndStack::AddPoint(), Double_t, fELoss, fLength, fMass, fMomIn, fMomOut, fPos, fPosInLocal, fPosOut, fPosOutLocal, fpostot, fpostotin, fpostotout, fTime, fTrackID, fVolumeID, kFTS, name, ResetParameters(), TString, and valid.
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
Definition at line 331 of file PndFts2.cxx.
References fFtsCollection.
|
virtual |
Virtual method Reset
Clears the hit collection
Definition at line 368 of file PndFts2.cxx.
References fFtsCollection, and ResetParameters().
|
inlineprivate |
Private method ResetParameters
Resets the private members for the track parameters
Definition at line 173 of file PndFts2.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 |
length
Definition at line 122 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 127 of file PndFts2.h.
Referenced by AddHit(), EndOfEvent(), GetCollection(), PndFts2(), Print(), Register(), Reset(), and ~PndFts2().
|
private |
Definition at line 135 of file PndFts2.h.
Referenced by ConstructGeometry().
|
private |
|
private |
|
private |
energy loss
Definition at line 123 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
exit position in straw frame
Definition at line 118 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
momentum
Definition at line 119 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 132 of file PndFts2.h.
Referenced by ConstructGeometry().
|
private |
volume id
Definition at line 113 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
wire position in global frame
Definition at line 114 of file PndFts2.h.
Referenced by ResetParameters().
|
private |
Definition at line 126 of file PndFts2.h.
Referenced by CopyClones(), EndOfEvent(), and ResetParameters().
|
private |
exit position in global frame
Definition at line 116 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
entry position in global frame
Definition at line 115 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
entry position in straw frame
Definition at line 117 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Hit collection.
Definition at line 128 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 129 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 130 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
momentum
Definition at line 120 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
GFTrack information to be stored until the track leaves the active volume.
Definition at line 111 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
track index
Definition at line 112 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 134 of file PndFts2.h.
Referenced by ProcessHits(), and ResetParameters().