SND@LHC Software
|
#include <TargetTracker.h>
Public Member Functions | |
TargetTracker (const char *name, Double_t TTX, Double_t TTY, Double_t TTZ, Bool_t Active, const char *Title="TargetTrackers") | |
TargetTracker () | |
virtual | ~TargetTracker () |
void | ConstructGeometry () |
void | SetSciFiParam (Double_t scifimat_width_, Double_t scifimat_hor_, Double_t scifimat_vert_, Double_t scifimat_z_, Double_t support_z_, Double_t honeycomb_z_) |
void | SetNumberSciFi (Int_t n_hor_planes_, Int_t n_vert_planes_) |
void | SetTargetTrackerParam (Double_t TTX, Double_t TTY, Double_t TTZ) |
void | SetBrickParam (Double_t CellW) |
void | SetTotZDimension (Double_t Zdim) |
void | DecodeTTID (Int_t detID, Int_t &NTT, int &nplane, Bool_t &ishor) |
void | SetNumberTT (Int_t n) |
void | SetDesign (Int_t Design) |
virtual void | Initialize () |
virtual Bool_t | ProcessHits (FairVolume *v=0) |
virtual void | Register () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | Reset () |
TTPoint * | AddHit (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss, Int_t pdgCode) |
virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
virtual void | SetSpecialPhysicsCuts () |
virtual void | EndOfEvent () |
virtual void | FinishPrimary () |
virtual void | FinishRun () |
virtual void | BeginPrimary () |
virtual void | PostTrack () |
virtual void | PreTrack () |
virtual void | BeginEvent () |
TargetTracker (const TargetTracker &) | |
TargetTracker & | operator= (const TargetTracker &) |
ClassDef (TargetTracker, 4) | |
Protected Member Functions | |
Int_t | InitMedium (const char *name) |
Protected Attributes | |
Double_t | TTrackerX |
Double_t | TTrackerY |
Double_t | TTrackerZ |
Double_t | scifimat_width |
Double_t | scifimat_hor |
Double_t | scifimat_vert |
Double_t | scifimat_z |
Double_t | support_z |
Double_t | honeycomb_z |
Int_t | n_hor_planes |
Int_t | n_vert_planes |
Double_t | CellWidth |
Double_t | ZDimension |
Int_t | fNTT |
Int_t | fDesign |
Private Attributes | |
Int_t | fTrackID |
Int_t | fVolumeID |
track index | |
TLorentzVector | fPos |
volume id | |
TLorentzVector | fMom |
position at entrance | |
Double32_t | fTime |
momentum at entrance | |
Double32_t | fLength |
time | |
Double32_t | fELoss |
length | |
TClonesArray * | fTTPointCollection |
energy loss | |
Definition at line 26 of file TargetTracker.h.
TargetTracker::TargetTracker | ( | const char * | name, |
Double_t | TTX, | ||
Double_t | TTY, | ||
Double_t | TTZ, | ||
Bool_t | Active, | ||
const char * | Title = "TargetTrackers" |
||
) |
Definition at line 78 of file TargetTracker.cxx.
TargetTracker::TargetTracker | ( | ) |
Definition at line 65 of file TargetTracker.cxx.
|
virtual |
Definition at line 94 of file TargetTracker.cxx.
TargetTracker::TargetTracker | ( | const TargetTracker & | ) |
TTPoint * TargetTracker::AddHit | ( | Int_t | trackID, |
Int_t | detID, | ||
TVector3 | pos, | ||
TVector3 | mom, | ||
Double_t | time, | ||
Double_t | length, | ||
Double_t | eLoss, | ||
Int_t | pdgCode | ||
) |
This method is an example of how to add your own point of type muonPoint to the clones array
Definition at line 348 of file TargetTracker.cxx.
|
inlinevirtual |
Definition at line 85 of file TargetTracker.h.
|
inlinevirtual |
Definition at line 82 of file TargetTracker.h.
TargetTracker::ClassDef | ( | TargetTracker | , |
4 | |||
) |
void TargetTracker::ConstructGeometry | ( | ) |
Definition at line 172 of file TargetTracker.cxx.
|
inlinevirtual |
The following methods can be implemented if you need to make any optional action in your detector during the transport.
Definition at line 76 of file TargetTracker.h.
void TargetTracker::DecodeTTID | ( | Int_t | detID, |
Int_t & | NTT, | ||
int & | nplane, | ||
Bool_t & | ishor | ||
) |
Definition at line 305 of file TargetTracker.cxx.
|
virtual |
Definition at line 317 of file TargetTracker.cxx.
|
inlinevirtual |
Definition at line 80 of file TargetTracker.h.
|
inlinevirtual |
Definition at line 81 of file TargetTracker.h.
|
virtual |
Gets the produced collections
Definition at line 336 of file TargetTracker.cxx.
|
virtual |
Initialization of the detector is done here
Definition at line 102 of file TargetTracker.cxx.
|
protected |
Definition at line 108 of file TargetTracker.cxx.
TargetTracker & TargetTracker::operator= | ( | const TargetTracker & | ) |
|
inlinevirtual |
Definition at line 83 of file TargetTracker.h.
|
inlinevirtual |
Definition at line 84 of file TargetTracker.h.
|
virtual |
this method is called for each step during simulation (see FairMCApplication::Stepping())
This method is called from the MC stepping
Definition at line 257 of file TargetTracker.cxx.
|
virtual |
Registers the produced collections in FAIRRootManager.
This will create a branch in the output tree called TargetPoint, 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 323 of file TargetTracker.cxx.
|
virtual |
has to be called after each event to reset the containers
Definition at line 342 of file TargetTracker.cxx.
void TargetTracker::SetBrickParam | ( | Double_t | CellW | ) |
Definition at line 152 of file TargetTracker.cxx.
void TargetTracker::SetDesign | ( | Int_t | Design | ) |
Definition at line 167 of file TargetTracker.cxx.
void TargetTracker::SetNumberSciFi | ( | Int_t | n_hor_planes_, |
Int_t | n_vert_planes_ | ||
) |
Definition at line 139 of file TargetTracker.cxx.
void TargetTracker::SetNumberTT | ( | Int_t | n | ) |
Definition at line 162 of file TargetTracker.cxx.
void TargetTracker::SetSciFiParam | ( | Double_t | scifimat_width_, |
Double_t | scifimat_hor_, | ||
Double_t | scifimat_vert_, | ||
Double_t | scifimat_z_, | ||
Double_t | support_z_, | ||
Double_t | honeycomb_z_ | ||
) |
Definition at line 128 of file TargetTracker.cxx.
|
inlinevirtual |
Definition at line 78 of file TargetTracker.h.
void TargetTracker::SetTargetTrackerParam | ( | Double_t | TTX, |
Double_t | TTY, | ||
Double_t | TTZ | ||
) |
void TargetTracker::SetTotZDimension | ( | Double_t | Zdim | ) |
Definition at line 157 of file TargetTracker.cxx.
|
protected |
Definition at line 124 of file TargetTracker.h.
|
protected |
Definition at line 129 of file TargetTracker.h.
|
private |
length
Definition at line 104 of file TargetTracker.h.
|
private |
time
Definition at line 103 of file TargetTracker.h.
|
private |
position at entrance
Definition at line 101 of file TargetTracker.h.
|
protected |
Definition at line 127 of file TargetTracker.h.
|
private |
volume id
Definition at line 100 of file TargetTracker.h.
|
private |
momentum at entrance
Definition at line 102 of file TargetTracker.h.
|
private |
Track information to be stored until the track leaves the active volume.
Definition at line 98 of file TargetTracker.h.
|
private |
|
private |
track index
Definition at line 99 of file TargetTracker.h.
|
protected |
Definition at line 120 of file TargetTracker.h.
|
protected |
Definition at line 121 of file TargetTracker.h.
|
protected |
Definition at line 122 of file TargetTracker.h.
|
protected |
Definition at line 116 of file TargetTracker.h.
|
protected |
Definition at line 117 of file TargetTracker.h.
|
protected |
Definition at line 115 of file TargetTracker.h.
|
protected |
Definition at line 118 of file TargetTracker.h.
|
protected |
Definition at line 119 of file TargetTracker.h.
|
protected |
Definition at line 111 of file TargetTracker.h.
|
protected |
Definition at line 112 of file TargetTracker.h.
|
protected |
Definition at line 113 of file TargetTracker.h.
|
protected |
Definition at line 125 of file TargetTracker.h.