SND@LHC Software
|
#include <EmulsionDet.h>
Public Member Functions | |
EmulsionDet (const char *name, Bool_t Active, const char *Title="EmulsionDet") | |
EmulsionDet () | |
virtual | ~EmulsionDet () |
void | ConstructGeometry () |
virtual void | Initialize () |
virtual Bool_t | ProcessHits (FairVolume *v=0) |
virtual void | Register () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | Reset () |
EmulsionDetPoint * | 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 | 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 () |
void | DecodeBrickID (Int_t detID, Int_t &NWall, Int_t &NRow, Int_t &NColumn, Int_t &NPlate) |
TString | PathBrickID (Int_t detID) |
void | SetConfPar (TString name, Float_t value) |
void | SetConfPar (TString name, Int_t value) |
void | SetConfPar (TString name, TString value) |
Float_t | GetConfParF (TString name) |
Int_t | GetConfParI (TString name) |
TString | GetConfParS (TString name) |
EmulsionDet (const EmulsionDet &) | |
EmulsionDet & | operator= (const EmulsionDet &) |
Public Attributes | |
ClassDef(EmulsionDet, 5) private 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 * | fEmulsionDetPointCollection |
energy loss | |
std::map< TString, Float_t > | conf_floats |
std::map< TString, Int_t > | conf_ints |
std::map< TString, TString > | conf_strings |
Protected Member Functions | |
Int_t | InitMedium (const char *name) |
Protected Attributes | |
Double_t | XDimension |
Double_t | YDimension |
Double_t | ZDimension |
Int_t | fNWall |
Int_t | fNRow |
Int_t | fNCol |
Int_t | fNTarget |
Int_t | number_of_plates |
Double_t | WallXDim |
Double_t | WallYDim |
Double_t | WallZDim |
Double_t | TotalWallZDim |
Double_t | WallZBorder_offset |
Double_t | EmulsionThickness |
Double_t | EmulsionX |
Double_t | EmulsionY |
Double_t | PlasticBaseThickness |
Double_t | PassiveThickness |
Double_t | EmPlateWidth |
Double_t | AllPlateWidth |
Double_t | BrickPackageX |
Double_t | BrickPackageY |
Double_t | BrickPackageZ |
Double_t | BrickZ |
Double_t | BrickY |
Double_t | BrickX |
Int_t | fPassiveOption |
Double_t | TTrackerZ |
Double_t | ShiftY |
Double_t | ShiftX |
Definition at line 23 of file EmulsionDet.h.
EmulsionDet::EmulsionDet | ( | const char * | name, |
Bool_t | Active, | ||
const char * | Title = "EmulsionDet" |
||
) |
Definition at line 74 of file EmulsionDet.cxx.
EmulsionDet::EmulsionDet | ( | ) |
Definition at line 61 of file EmulsionDet.cxx.
|
virtual |
Definition at line 87 of file EmulsionDet.cxx.
EmulsionDet::EmulsionDet | ( | const EmulsionDet & | ) |
EmulsionDetPoint * EmulsionDet::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 | ||
) |
How to add your own point of type EmulsionDetPoint to the clones array
Definition at line 444 of file EmulsionDet.cxx.
|
inlinevirtual |
Definition at line 61 of file EmulsionDet.h.
|
inlinevirtual |
Definition at line 58 of file EmulsionDet.h.
void EmulsionDet::ConstructGeometry | ( | ) |
Create the detector geometry
Definition at line 162 of file EmulsionDet.cxx.
|
inlinevirtual |
Definition at line 53 of file EmulsionDet.h.
void EmulsionDet::DecodeBrickID | ( | Int_t | detID, |
Int_t & | NWall, | ||
Int_t & | NRow, | ||
Int_t & | NColumn, | ||
Int_t & | NPlate | ||
) |
Obtain info about brick position from detectorID
Definition at line 121 of file EmulsionDet.cxx.
|
virtual |
Definition at line 413 of file EmulsionDet.cxx.
|
inlinevirtual |
Definition at line 56 of file EmulsionDet.h.
|
inlinevirtual |
Definition at line 57 of file EmulsionDet.h.
|
virtual |
Gets the produced collections
Definition at line 432 of file EmulsionDet.cxx.
|
inline |
Definition at line 70 of file EmulsionDet.h.
|
inline |
Definition at line 71 of file EmulsionDet.h.
|
inline |
Definition at line 72 of file EmulsionDet.h.
|
virtual |
Initialization of the detector is done here
Definition at line 95 of file EmulsionDet.cxx.
|
protected |
Definition at line 101 of file EmulsionDet.cxx.
EmulsionDet & EmulsionDet::operator= | ( | const EmulsionDet & | ) |
TString EmulsionDet::PathBrickID | ( | Int_t | detID | ) |
Definition at line 152 of file EmulsionDet.cxx.
|
inlinevirtual |
Definition at line 59 of file EmulsionDet.h.
|
inlinevirtual |
Definition at line 60 of file EmulsionDet.h.
|
virtual |
Method called for each step during simulation (see FairMCApplication::Stepping())
This method is called from the MC stepping
Definition at line 333 of file EmulsionDet.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 419 of file EmulsionDet.cxx.
|
virtual |
has to be called after each event to reset the containers
Definition at line 438 of file EmulsionDet.cxx.
|
inline |
Definition at line 67 of file EmulsionDet.h.
|
inline |
Definition at line 68 of file EmulsionDet.h.
|
inline |
Definition at line 69 of file EmulsionDet.h.
|
inlinevirtual |
Definition at line 54 of file EmulsionDet.h.
|
protected |
Definition at line 121 of file EmulsionDet.h.
|
protected |
Definition at line 124 of file EmulsionDet.h.
|
protected |
Definition at line 125 of file EmulsionDet.h.
|
protected |
Definition at line 126 of file EmulsionDet.h.
|
protected |
Definition at line 130 of file EmulsionDet.h.
|
protected |
Definition at line 129 of file EmulsionDet.h.
|
protected |
Definition at line 128 of file EmulsionDet.h.
std::map<TString,Float_t> EmulsionDet::conf_floats |
configuration parameters
Definition at line 93 of file EmulsionDet.h.
std::map<TString,Int_t> EmulsionDet::conf_ints |
Definition at line 94 of file EmulsionDet.h.
std::map<TString,TString> EmulsionDet::conf_strings |
Definition at line 95 of file EmulsionDet.h.
|
protected |
Definition at line 120 of file EmulsionDet.h.
|
protected |
Definition at line 114 of file EmulsionDet.h.
|
protected |
Definition at line 115 of file EmulsionDet.h.
|
protected |
Definition at line 116 of file EmulsionDet.h.
Double32_t EmulsionDet::fELoss |
length
Definition at line 88 of file EmulsionDet.h.
TClonesArray* EmulsionDet::fEmulsionDetPointCollection |
Double32_t EmulsionDet::fLength |
time
Definition at line 87 of file EmulsionDet.h.
TLorentzVector EmulsionDet::fMom |
position at entrance
Definition at line 85 of file EmulsionDet.h.
|
protected |
Definition at line 103 of file EmulsionDet.h.
|
protected |
Definition at line 103 of file EmulsionDet.h.
|
protected |
Definition at line 104 of file EmulsionDet.h.
|
protected |
Definition at line 103 of file EmulsionDet.h.
|
protected |
Definition at line 132 of file EmulsionDet.h.
TLorentzVector EmulsionDet::fPos |
volume id
Definition at line 84 of file EmulsionDet.h.
Double32_t EmulsionDet::fTime |
momentum at entrance
Definition at line 86 of file EmulsionDet.h.
ClassDef (EmulsionDet,5) private Int_t EmulsionDet::fVolumeID |
track index
Track information to be stored until the track leaves the active volume.
Definition at line 83 of file EmulsionDet.h.
|
protected |
Definition at line 105 of file EmulsionDet.h.
|
protected |
Definition at line 119 of file EmulsionDet.h.
|
protected |
Definition at line 118 of file EmulsionDet.h.
|
protected |
Definition at line 141 of file EmulsionDet.h.
|
protected |
Definition at line 139 of file EmulsionDet.h.
|
protected |
Definition at line 111 of file EmulsionDet.h.
|
protected |
Definition at line 136 of file EmulsionDet.h.
|
protected |
Definition at line 107 of file EmulsionDet.h.
|
protected |
Definition at line 108 of file EmulsionDet.h.
|
protected |
Definition at line 112 of file EmulsionDet.h.
|
protected |
Definition at line 109 of file EmulsionDet.h.
|
protected |
Definition at line 99 of file EmulsionDet.h.
|
protected |
Definition at line 100 of file EmulsionDet.h.
|
protected |
Definition at line 101 of file EmulsionDet.h.