SND@LHC Software
|
#include <splitcal.h>
Public Member Functions | |
splitcal (const char *Name, Bool_t Active) | |
splitcal () | |
virtual | ~splitcal () |
virtual void | Initialize () |
virtual Bool_t | ProcessHits (FairVolume *v=0) |
virtual void | Register () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | Reset () |
void | SetZStart (Double_t ZStart) |
void | SetEmpty (Double_t Empty, Double_t BigGap, Double_t ActiveECAL_gas_gap, Double_t first_precision_layer, Double_t second_precision_layer, Double_t third_precision_layer, Double_t num_precision_layers) |
void | SetThickness (Double_t ActiveECALThickness, Double_t ActiveHCALThickness, Double_t FilterECALThickness, Double_t FilterECALThickness_first, Double_t FilterHCALThickness, Double_t ActiveECAL_gas_Thickness) |
void | SetMaterial (Double_t ActiveECALMaterial, Double_t ActiveHCALMaterial, Double_t FilterECALMaterial, Double_t FilterHCALMaterial) |
void | SetNSamplings (Int_t nECALSamplings, Int_t nHCALSamplings, Double_t ActiveHCAL) |
void | SetNModules (Int_t nModulesInX, Int_t nModulesInY) |
void | SetNStrips (Int_t nStrips) |
void | SetStripSize (Double_t stripHalfWidth, Double_t stripHalfLength) |
void | SetXMax (Double_t xMax) |
void | SetYMax (Double_t yMax) |
void | ConstructGeometry () |
splitcalPoint * | 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 () |
Private Member Functions | |
splitcal (const splitcal &) | |
splitcal & | operator= (const splitcal &) |
Int_t | InitMedium (const char *name) |
Definition at line 13 of file splitcal.h.
splitcal::splitcal | ( | 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 52 of file splitcal.cxx.
splitcal::splitcal | ( | ) |
|
virtual |
destructor
Definition at line 65 of file splitcal.cxx.
|
private |
splitcalPoint * splitcal::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 splitcalPoint to the clones array
Definition at line 456 of file splitcal.cxx.
|
inlinevirtual |
Definition at line 94 of file splitcal.h.
|
inlinevirtual |
Definition at line 91 of file splitcal.h.
void splitcal::ConstructGeometry | ( | ) |
Create the detector geometry
If you are using the standard ASCII input for the geometry just copy this and use it for your detector, otherwise you can implement here you own way of constructing the geometry.
Definition at line 254 of file splitcal.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 85 of file splitcal.h.
|
virtual |
Definition at line 149 of file splitcal.cxx.
|
inlinevirtual |
Definition at line 89 of file splitcal.h.
|
inlinevirtual |
Definition at line 90 of file splitcal.h.
|
virtual |
Gets the produced collections
Definition at line 173 of file splitcal.cxx.
|
virtual |
Initialization of the detector is done here
Definition at line 73 of file splitcal.cxx.
|
private |
Definition at line 80 of file splitcal.cxx.
|
inlinevirtual |
Definition at line 92 of file splitcal.h.
|
inlinevirtual |
Definition at line 93 of file splitcal.h.
|
virtual |
this method is called for each step during simulation (see FairMCApplication::Stepping())
This method is called from the MC stepping
fVolumeID = gGeoManager->FindVolumeFast(vol->GetName())->GetNumber();
Definition at line 100 of file splitcal.cxx.
|
virtual |
Registers the produced collections in FAIRRootManager.
This will create a branch in the output tree called splitcalPoint, 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 158 of file splitcal.cxx.
|
virtual |
has to be called after each event to reset the containers
Definition at line 179 of file splitcal.cxx.
void splitcal::SetEmpty | ( | Double_t | Empty, |
Double_t | BigGap, | ||
Double_t | ActiveECAL_gas_gap, | ||
Double_t | first_precision_layer, | ||
Double_t | second_precision_layer, | ||
Double_t | third_precision_layer, | ||
Double_t | num_precision_layers | ||
) |
Definition at line 188 of file splitcal.cxx.
void splitcal::SetMaterial | ( | Double_t | ActiveECALMaterial, |
Double_t | ActiveHCALMaterial, | ||
Double_t | FilterECALMaterial, | ||
Double_t | FilterHCALMaterial | ||
) |
Definition at line 212 of file splitcal.cxx.
void splitcal::SetNModules | ( | Int_t | nModulesInX, |
Int_t | nModulesInY | ||
) |
Definition at line 229 of file splitcal.cxx.
void splitcal::SetNSamplings | ( | Int_t | nECALSamplings, |
Int_t | nHCALSamplings, | ||
Double_t | ActiveHCAL | ||
) |
Definition at line 222 of file splitcal.cxx.
void splitcal::SetNStrips | ( | Int_t | nStrips | ) |
Definition at line 235 of file splitcal.cxx.
|
inlinevirtual |
Definition at line 87 of file splitcal.h.
void splitcal::SetStripSize | ( | Double_t | stripHalfWidth, |
Double_t | stripHalfLength | ||
) |
Definition at line 240 of file splitcal.cxx.
void splitcal::SetThickness | ( | Double_t | ActiveECALThickness, |
Double_t | ActiveHCALThickness, | ||
Double_t | FilterECALThickness, | ||
Double_t | FilterECALThickness_first, | ||
Double_t | FilterHCALThickness, | ||
Double_t | ActiveECAL_gas_Thickness | ||
) |
Definition at line 201 of file splitcal.cxx.
void splitcal::SetXMax | ( | Double_t | xMax | ) |
Definition at line 246 of file splitcal.cxx.
void splitcal::SetYMax | ( | Double_t | yMax | ) |
Definition at line 250 of file splitcal.cxx.
void splitcal::SetZStart | ( | Double_t | ZStart | ) |
Definition at line 184 of file splitcal.cxx.
|
private |
Definition at line 111 of file splitcal.h.
|
private |
Definition at line 111 of file splitcal.h.
|
private |
Definition at line 110 of file splitcal.h.
|
private |
energy loss
Definition at line 109 of file splitcal.h.
|
private |
Definition at line 113 of file splitcal.h.
|
private |
Definition at line 110 of file splitcal.h.
|
private |
Definition at line 109 of file splitcal.h.
|
private |
Definition at line 115 of file splitcal.h.
|
private |
length
Definition at line 108 of file splitcal.h.
|
private |
Definition at line 115 of file splitcal.h.
|
private |
Definition at line 110 of file splitcal.h.
|
private |
Definition at line 109 of file splitcal.h.
|
private |
Definition at line 109 of file splitcal.h.
|
private |
Definition at line 110 of file splitcal.h.
|
private |
Definition at line 109 of file splitcal.h.
|
private |
Definition at line 118 of file splitcal.h.
|
private |
time
Definition at line 107 of file splitcal.h.
|
private |
position at entrance
Definition at line 105 of file splitcal.h.
|
private |
Definition at line 112 of file splitcal.h.
|
private |
Definition at line 112 of file splitcal.h.
|
private |
Definition at line 119 of file splitcal.h.
|
private |
Definition at line 119 of file splitcal.h.
|
private |
Definition at line 120 of file splitcal.h.
|
private |
Definition at line 118 of file splitcal.h.
|
private |
volume id
Definition at line 104 of file splitcal.h.
|
private |
Definition at line 118 of file splitcal.h.
|
private |
container for data points
Definition at line 125 of file splitcal.h.
|
private |
Definition at line 121 of file splitcal.h.
|
private |
Definition at line 121 of file splitcal.h.
|
private |
Definition at line 118 of file splitcal.h.
|
private |
momentum at entrance
Definition at line 106 of file splitcal.h.
|
private |
Track information to be stored until the track leaves the active volume.
Definition at line 102 of file splitcal.h.
|
private |
track index
Definition at line 103 of file splitcal.h.
|
private |
Definition at line 116 of file splitcal.h.
|
private |
Definition at line 117 of file splitcal.h.
|
private |
Definition at line 114 of file splitcal.h.
|
private |
Definition at line 109 of file splitcal.h.