SND@LHC Software
|
#include <TimeDet.h>
Public Member Functions | |
TimeDet (const char *Name, Bool_t Active) | |
TimeDet () | |
virtual | ~TimeDet () |
virtual void | Initialize () |
virtual Bool_t | ProcessHits (FairVolume *v=0) |
virtual void | Register () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | Reset () |
void | SetZposition (Double_t z) |
void | SetBarZspacing (Double_t row, Double_t column) |
void | SetBarZ (Double_t dz) |
void | SetSizeX (Double_t x) |
void | SetSizeY (Double_t y) |
double | GetXCol (int ic) const |
double | GetYRow (int ir) const |
void | GetBarRowCol (int ib, int &irow, int &icol) const |
double | GetZBar (int ir, int ic) const |
void | ConstructGeometry () |
TimeDetPoint * | AddHit (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss, Int_t pdgCode, TVector3 Lpos, TVector3 Lmom) |
virtual void | EndOfEvent () |
virtual void | FinishPrimary () |
virtual void | FinishRun () |
virtual void | BeginPrimary () |
virtual void | PostTrack () |
virtual void | PreTrack () |
virtual void | BeginEvent () |
Private Member Functions | |
TimeDet (const TimeDet &) | |
TimeDet & | operator= (const TimeDet &) |
Int_t | InitMedium (const char *name) |
Private Attributes | |
Int_t | fTrackID |
Int_t | fVolumeID |
track index | |
TLorentzVector | fPos |
volume id | |
TLorentzVector | fMom |
position at entrance | |
Double_t | fTime |
momentum at entrance | |
Double_t | fLength |
time | |
Double_t | fELoss |
length | |
Double_t | fzPos |
energy loss | |
Double_t | fxSize |
z-position of veto station | |
Double_t | fySize |
width of the detector | |
Double_t | fxBar |
height of the detector | |
Double_t | fyBar |
length of the bar | |
Double_t | fzBar |
width of the bar | |
Double_t | fdzBarCol |
depth of the bar | |
Double_t | fdzBarRow |
z-distance between columns | |
Int_t | fNCol |
z-distance between rows | |
Int_t | fNRow |
Number of columns. | |
Double_t | fxCenter |
Number of rows. | |
Double_t | fyCenter |
x-position of the detector center | |
Int_t | fNBars |
y-position of the detector center | |
Double_t | fxOv |
Number of bars. | |
Double_t | fyOv |
Overlap along x. | |
TGeoVolume * | fDetector |
Overlap along y. | |
TClonesArray * | fTimeDetPointCollection |
TimeDet::TimeDet | ( | const char * | Name, |
Bool_t | Active | ||
) |
Name : Detector Name Active: kTRUE for active detectors (ProcessHits() will be called) kFALSE for inactive detectors
Definition at line 73 of file TimeDet.cxx.
TimeDet::TimeDet | ( | ) |
default constructor
Definition at line 39 of file TimeDet.cxx.
|
virtual |
destructor
Definition at line 112 of file TimeDet.cxx.
|
private |
TimeDetPoint * TimeDet::AddHit | ( | Int_t | trackID, |
Int_t | detID, | ||
TVector3 | pos, | ||
TVector3 | mom, | ||
Double_t | time, | ||
Double_t | length, | ||
Double_t | eLoss, | ||
Int_t | pdgCode, | ||
TVector3 | Lpos, | ||
TVector3 | Lmom | ||
) |
This method is an example of how to add your own point of type TimeDetPoint to the clones array
Definition at line 283 of file TimeDet.cxx.
void TimeDet::ConstructGeometry | ( | ) |
Create the detector geometry
Definition at line 244 of file TimeDet.cxx.
|
virtual |
Definition at line 207 of file TimeDet.cxx.
|
inlinevirtual |
void TimeDet::GetBarRowCol | ( | int | ib, |
int & | irow, | ||
int & | icol | ||
) | const |
|
virtual |
Gets the produced collections
Definition at line 229 of file TimeDet.cxx.
double TimeDet::GetXCol | ( | int | ic | ) | const |
Definition at line 304 of file TimeDet.cxx.
double TimeDet::GetYRow | ( | int | ir | ) | const |
Definition at line 312 of file TimeDet.cxx.
double TimeDet::GetZBar | ( | int | ir, |
int | ic | ||
) | const |
Definition at line 320 of file TimeDet.cxx.
|
virtual |
Initialization of the detector is done here
Definition at line 106 of file TimeDet.cxx.
|
private |
Definition at line 122 of file TimeDet.cxx.
|
virtual |
this method is called for each step during simulation (see FairMCApplication::Stepping())
This method is called from the MC stepping
Definition at line 148 of file TimeDet.cxx.
|
virtual |
Registers the produced collections in FAIRRootManager.
This will create a branch in the output tree called TimeDetPoint, setting the last parameter to kFALSE means: this collection will not be written to the file, it will exist only during the simulation.
Definition at line 214 of file TimeDet.cxx.
|
virtual |
has to be called after each event to reset the containers
Definition at line 237 of file TimeDet.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |