FairRoot/PandaRoot
|
#include <PndFtof.h>
Public Member Functions | |
PndFtof () | |
PndFtof (const char *name, Bool_t active) | |
virtual | ~PndFtof () |
virtual void | Initialize () |
virtual Bool_t | ProcessHits (FairVolume *vol=0) |
virtual void | EndOfEvent () |
virtual void | BeginEvent () |
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 | ConstructASCIIGeometry () |
PndFtofPoint * | AddHit (Int_t trackID, Int_t evtID, Int_t detID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t dist, Double_t PLin, Double_t PLout) |
Private Member Functions | |
bool | CheckIfSensitive (std::string name) |
void | ResetParameters () |
Hit collection. More... | |
Private Attributes | |
std::vector< std::string > | fListOfSensitives |
PndGeoFtofPar * | par |
Int_t | fTrackID |
Int_t | fVolumeID |
Int_t | fEventID |
TLorentzVector | fPosIn |
TLorentzVector | fMomIn |
TLorentzVector | fPosOut |
TLorentzVector | fMomOut |
Double_t | fPLout |
Double_t | fPLin |
Double32_t | fTime |
Double32_t | fLength |
Double32_t | fELoss |
Int_t | fPosIndex |
Int_t | fpdgCode |
Int_t | SiId |
Int_t | CId |
Int_t | alId |
Int_t | beId |
Int_t | CpipeId |
Double_t | fcharge |
Double_t | fmass |
Double_t | fdist |
TClonesArray * | fFtofCollection |
PndFtof::PndFtof | ( | ) |
Default constructor
Definition at line 55 of file PndFtof.cxx.
References fFtofCollection, and fListOfSensitives.
PndFtof::PndFtof | ( | const char * | name, |
Bool_t | active | ||
) |
Standard constructor.
name | detetcor name |
active | sensitivity flag |
Definition at line 75 of file PndFtof.cxx.
References fFtofCollection, and fListOfSensitives.
|
virtual |
PndFtofPoint * PndFtof::AddHit | ( | Int_t | trackID, |
Int_t | evtID, | ||
Int_t | detID, | ||
TString | detName, | ||
TVector3 | posin, | ||
TVector3 | momin, | ||
TVector3 | posout, | ||
TVector3 | momout, | ||
Double_t | tof, | ||
Double_t | length, | ||
Double_t | eLoss, | ||
Double_t | charge, | ||
Double_t | mass, | ||
Int_t | pdgCode, | ||
Double_t | dist, | ||
Double_t | PLin, | ||
Double_t | PLout | ||
) |
Definition at line 471 of file PndFtof.cxx.
References fFtofCollection, and fTime.
Referenced by ProcessHits().
|
virtual |
Definition at line 127 of file PndFtof.cxx.
|
private |
void PndFtof::ConstructASCIIGeometry | ( | ) |
Definition at line 288 of file PndFtof.cxx.
References Double_t, geobuild, geoFace, geoLoad, gGeoManager, i, Media, name, name1, offset(), SubunitVol, trc1, and TString.
Referenced by ConstructGeometry().
|
virtual |
Virtual method Construct geometry
Definition at line 275 of file PndFtof.cxx.
References ConstructASCIIGeometry(), 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 258 of file PndFtof.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 209 of file PndFtof.cxx.
References Print(), and Reset().
|
virtual |
Accessor to the hit collection
Definition at line 225 of file PndFtof.cxx.
References fFtofCollection.
|
virtual |
Virtual method Initialize Initialises detector. Stores volume IDs for MUO detector and mirror.
Definition at line 107 of file PndFtof.cxx.
References gGeoManager, Initialize(), par, rtdb, and sim().
|
virtual |
Virtual method Print
Screen output of hit collection.
Definition at line 235 of file PndFtof.cxx.
References fFtofCollection, 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 PndFtofPoints and PndFtofMirrorPoints and adds them to the collections.
vol | Pointer to the active volume |
Definition at line 136 of file PndFtof.cxx.
References AddHit(), PndStack::AddPoint(), fcharge, fdist, fELoss, fEventID, fLength, fmass, fMomIn, fMomOut, fpdgCode, fPLin, fPLout, fPosIn, fPosOut, fTime, fTrackID, fVolumeID, kFTOF, ResetParameters(), and TString.
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
Definition at line 217 of file PndFtof.cxx.
References fFtofCollection.
|
virtual |
Virtual method Reset
Clears the hit collection
Definition at line 248 of file PndFtof.cxx.
References fFtofCollection, and fPosIndex.
Referenced by EndOfEvent().
|
inlineprivate |
|
private |
Definition at line 154 of file PndFtof.h.
Referenced by ProcessHits().
|
private |
Definition at line 155 of file PndFtof.h.
Referenced by ProcessHits().
|
private |
Definition at line 149 of file PndFtof.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 138 of file PndFtof.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 157 of file PndFtof.h.
Referenced by AddHit(), GetCollection(), PndFtof(), Print(), Register(), Reset(), and ~PndFtof().
|
private |
Definition at line 148 of file PndFtof.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 132 of file PndFtof.h.
Referenced by CheckIfSensitive(), and PndFtof().
|
private |
Definition at line 155 of file PndFtof.h.
Referenced by ProcessHits().
|
private |
Definition at line 140 of file PndFtof.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 142 of file PndFtof.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 151 of file PndFtof.h.
Referenced by ProcessHits().
|
private |
Definition at line 144 of file PndFtof.h.
Referenced by ProcessHits().
|
private |
Definition at line 144 of file PndFtof.h.
Referenced by ProcessHits().
|
private |
Definition at line 139 of file PndFtof.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 150 of file PndFtof.h.
Referenced by CopyClones(), and Reset().
|
private |
Definition at line 141 of file PndFtof.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 147 of file PndFtof.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 136 of file PndFtof.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 137 of file PndFtof.h.
Referenced by ProcessHits(), and ResetParameters().
|
private |
Definition at line 135 of file PndFtof.h.
Referenced by Initialize().