![]() |
PandaRoot
|
#include <PndHyp.h>
Public Member Functions | |
PndHyp () | |
PndHyp (const char *name, Bool_t active) | |
virtual | ~PndHyp () |
virtual void | Initialize () |
virtual Bool_t | ProcessHits (FairVolume *vol=0) |
virtual void | SetSpecialPhysicsCuts () |
virtual void | EndOfEvent () |
virtual void | BeginEvent () |
virtual void | Register () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | Print () const |
virtual void | Reset () |
virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
virtual void | ConstructGeometry () |
virtual void | FinishRun () |
PndHypPoint * | AddHit (Int_t trackID, Int_t evtID, Int_t detID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t dist, Double_t PLin, Double_t PLout) |
PndHypPoint * | AddSecTarHit (Int_t trackID, Int_t evtID, Int_t detID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t dist, Double_t PLin, Double_t PLout) |
PndHypPoint * | AddSTMatBudHit (Int_t trackID, Int_t evtID, Int_t detID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t dist, Double_t PLin, Double_t PLout) |
void | PreTrack () |
void | SetHypSDtoFile (bool onf, bool val) |
void | SetHypGamFEm (bool gam) |
void | SetMatbud (bool mbud) |
void | SetTreeFName (const Char_t *Name) |
void | SetSensorVol (TString VolSi) |
void | SetAbsorberVol (TString VolAb) |
void | SetStartEvID (Int_t EvID=0) |
void | SetGeoVersion (TString vers="standard") |
void | SetAbsMat (TString abmat="HYPdiamond") |
void | SetBPipeMat (TString bpmat="HYPcarbon") |
void | SetListMat (TString mat="carbon") |
PndHyp::PndHyp | ( | ) |
Default constructor
PndHyp::PndHyp | ( | const char * | name, |
Bool_t | active | ||
) |
Standard constructor.
name | detetcor name |
active | sensitivity flag |
|
virtual |
Destructor
PndHypPoint* PndHyp::AddHit | ( | Int_t | trackID, |
Int_t | evtID, | ||
Int_t | detID, | ||
TString | detName, | ||
TVector3 | posin, | ||
TVector3 | momin, | ||
TVector3 | posout, | ||
TVector3 | momout, | ||
Double_t | tof, | ||
Double_t | length, | ||
Double_t | eLoss, | ||
Double_t | charge, | ||
Double_t | mass, | ||
Int_t | pdgCode, | ||
Double_t | dist, | ||
Double_t | PLin, | ||
Double_t | PLout | ||
) |
PndHypPoint* PndHyp::AddSecTarHit | ( | Int_t | trackID, |
Int_t | evtID, | ||
Int_t | detID, | ||
TString | detName, | ||
TVector3 | posin, | ||
TVector3 | momin, | ||
TVector3 | posout, | ||
TVector3 | momout, | ||
Double_t | tof, | ||
Double_t | length, | ||
Double_t | eLoss, | ||
Double_t | charge, | ||
Double_t | mass, | ||
Int_t | pdgCode, | ||
Double_t | dist, | ||
Double_t | PLin, | ||
Double_t | PLout | ||
) |
PndHypPoint* PndHyp::AddSTMatBudHit | ( | Int_t | trackID, |
Int_t | evtID, | ||
Int_t | detID, | ||
TString | detName, | ||
TVector3 | posin, | ||
TVector3 | momin, | ||
TVector3 | posout, | ||
TVector3 | momout, | ||
Double_t | tof, | ||
Double_t | length, | ||
Double_t | eLoss, | ||
Double_t | charge, | ||
Double_t | mass, | ||
Int_t | pdgCode, | ||
Double_t | dist, | ||
Double_t | PLin, | ||
Double_t | PLout | ||
) |
|
virtual |
|
virtual |
Virtual method Construct geometry
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
cl1 | Origin |
cl2 | Target |
offset | Index offset |
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
|
virtual |
|
virtual |
Accessor to the hit collection
|
virtual |
Virtual method Initialize Initialises detector. Stores volume IDs for MUO detector and mirror.
void PndHyp::PreTrack | ( | ) |
|
virtual |
Virtual method Print
Screen output of hit collection.
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates PndHypPoints and PndHypMirrorPoints and adds them to the collections.
vol | Pointer to the active volume |
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
|
virtual |
Virtual method Reset
Clears the hit collection
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
|
inline |
|
inline |