#include <AtSiArray.h>
|
| AtSiArray (const char *Name, Bool_t Active) |
|
| AtSiArray () |
|
virtual | ~AtSiArray () |
|
virtual void | Initialize () |
|
virtual Bool_t | ProcessHits (FairVolume *v=0) |
|
virtual void | Register () |
|
virtual TClonesArray * | GetCollection (Int_t iColl) const |
|
virtual void | Reset () |
|
virtual void | Print (Option_t *option="") const |
|
void | ConstructGeometry () |
|
Bool_t | CheckIfSensitive (std::string name) |
|
AtSiPoint * | AddHit (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss) |
|
AtSiPoint * | AddHit (Int_t trackID, Int_t detID, TString VolName, Int_t detCopyID, TVector3 posIn, TVector3 pos_out, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Double_t EIni, Double_t AIni, Int_t A, Int_t Z) |
|
std::pair< Int_t, Int_t > | DecodePdG (Int_t PdG_Code) |
|
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 () |
|
Definition at line 22 of file AtSiArray.h.
◆ AtSiArray() [1/2]
AtSiArray::AtSiArray |
( |
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 31 of file AtSiArray.cxx.
◆ AtSiArray() [2/2]
◆ ~AtSiArray()
AtSiArray::~AtSiArray |
( |
| ) |
|
|
virtual |
◆ AddHit() [1/2]
AtSiPoint * AtSiArray::AddHit |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
TString |
VolName, |
|
|
Int_t |
detCopyID, |
|
|
TVector3 |
posIn, |
|
|
TVector3 |
pos_out, |
|
|
TVector3 |
momIn, |
|
|
TVector3 |
momOut, |
|
|
Double_t |
time, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss, |
|
|
Double_t |
EIni, |
|
|
Double_t |
AIni, |
|
|
Int_t |
A, |
|
|
Int_t |
Z |
|
) |
| |
◆ AddHit() [2/2]
AtSiPoint * AtSiArray::AddHit |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
TVector3 |
pos, |
|
|
TVector3 |
mom, |
|
|
Double_t |
time, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss |
|
) |
| |
This method is an example of how to add your own point of type AtTpcPoint to the clones array
Definition at line 254 of file AtSiArray.cxx.
◆ BeginEvent()
virtual void AtSiArray::BeginEvent |
( |
| ) |
|
|
inlinevirtual |
◆ BeginPrimary()
virtual void AtSiArray::BeginPrimary |
( |
| ) |
|
|
inlinevirtual |
◆ CheckIfSensitive()
Bool_t AtSiArray::CheckIfSensitive |
( |
std::string |
name | ) |
|
◆ ConstructGeometry()
void AtSiArray::ConstructGeometry |
( |
| ) |
|
◆ CopyClones()
virtual void AtSiArray::CopyClones |
( |
TClonesArray * |
cl1, |
|
|
TClonesArray * |
cl2, |
|
|
Int_t |
offset |
|
) |
| |
|
inlinevirtual |
The following methods can be implemented if you need to make any optional action in your detector during the transport.
Definition at line 81 of file AtSiArray.h.
◆ DecodePdG()
std::pair< Int_t, Int_t > AtSiArray::DecodePdG |
( |
Int_t |
PdG_Code | ) |
|
◆ EndOfEvent()
void AtSiArray::EndOfEvent |
( |
| ) |
|
|
virtual |
◆ FinishPrimary()
virtual void AtSiArray::FinishPrimary |
( |
| ) |
|
|
inlinevirtual |
◆ FinishRun()
virtual void AtSiArray::FinishRun |
( |
| ) |
|
|
inlinevirtual |
◆ GetCollection()
TClonesArray * AtSiArray::GetCollection |
( |
Int_t |
iColl | ) |
const |
|
virtual |
◆ Initialize()
void AtSiArray::Initialize |
( |
| ) |
|
|
virtual |
Initialization of the detector is done here
Definition at line 46 of file AtSiArray.cxx.
◆ PostTrack()
virtual void AtSiArray::PostTrack |
( |
| ) |
|
|
inlinevirtual |
◆ PreTrack()
virtual void AtSiArray::PreTrack |
( |
| ) |
|
|
inlinevirtual |
◆ Print()
void AtSiArray::Print |
( |
Option_t * |
option = "" | ) |
const |
|
virtual |
Virtual method Print
Screen output of hit collection.
Definition at line 223 of file AtSiArray.cxx.
◆ ProcessHits()
Bool_t AtSiArray::ProcessHits |
( |
FairVolume * |
v = 0 | ) |
|
|
virtual |
this method is called for each step during simulation (see FairMCApplication::Stepping())
This method is called from the MC stepping
Definition at line 53 of file AtSiArray.cxx.
◆ Register()
void AtSiArray::Register |
( |
| ) |
|
|
virtual |
Registers the produced collections in FAIRRootManager.
This will create a branch in the output tree called AtTpcPoint, 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 197 of file AtSiArray.cxx.
◆ Reset()
void AtSiArray::Reset |
( |
| ) |
|
|
virtual |
has to be called after each event to reset the containers
Definition at line 218 of file AtSiArray.cxx.
◆ SetSpecialPhysicsCuts()
virtual void AtSiArray::SetSpecialPhysicsCuts |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following files: