SND@LHC Software
|
#include <muon.h>
Public Member Functions | |
muon (const char *Name, Bool_t Active) | |
muon () | |
virtual | ~muon () |
virtual void | Initialize () |
virtual Bool_t | ProcessHits (FairVolume *v=0) |
virtual void | Register () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | Reset () |
void | SetZStationPositions (Double_t z0, Double_t z1, Double_t z2, Double_t z3) |
void | SetZFilterPositions (Double_t z0, Double_t z1, Double_t z2) |
void | SetActiveThickness (Double_t activeThickness) |
void | SetFilterThickness (Double_t filterThickness) |
void | SetXMax (Double_t xMax) |
void | SetYMax (Double_t yMax) |
void | ConstructGeometry () |
muonPoint * | 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 | |
muon (const muon &) | |
muon & | operator= (const muon &) |
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 | fM0z |
energy loss | |
Double_t | fM1z |
z-position of veto station | |
Double_t | fM2z |
z-position of tracking station 1 | |
Double_t | fM3z |
z-position of tracking station 2 | |
Double_t | fF0z |
z-position of tracking station 3 | |
Double_t | fF1z |
z-position of veto station | |
Double_t | fF2z |
z-position of tracking station 1 | |
Double_t | fFilterThickness |
z-position of tracking station 2 | |
Double_t | fActiveThickness |
Double_t | fXMax |
Double_t | fYMax |
TClonesArray * | fmuonPointCollection |
muon::muon | ( | const char * | Name, |
Bool_t | Active | ||
) |
Name : Detector Name Active: kTRUE for active detectors (ProcessHits() will be called) kFALSE for inactive detectors
muon::muon | ( | ) |
|
virtual |
|
private |
muonPoint * muon::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 254 of file muon.cxx.
void muon::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 200 of file muon.cxx.
|
inlinevirtual |
|
virtual |
|
virtual |
Gets the produced collections
|
virtual |
|
private |
Definition at line 77 of file muon.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 97 of file muon.cxx.
|
virtual |
Registers the produced collections in FAIRRootManager.
This will create a branch in the output tree called muonPoint, 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 145 of file muon.cxx.
|
virtual |
has to be called after each event to reset the containers
void muon::SetActiveThickness | ( | Double_t | activeThickness | ) |
void muon::SetFilterThickness | ( | Double_t | filterThickness | ) |
|
inlinevirtual |
void muon::SetXMax | ( | Double_t | xMax | ) |
void muon::SetYMax | ( | Double_t | yMax | ) |
void muon::SetZFilterPositions | ( | Double_t | z0, |
Double_t | z1, | ||
Double_t | z2 | ||
) |
void muon::SetZStationPositions | ( | Double_t | z0, |
Double_t | z1, | ||
Double_t | z2, | ||
Double_t | z3 | ||
) |
|
private |
|
private |
|
private |