FairRoot/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") |
Private Member Functions | |
bool | CheckIfSensitive (std::string name) |
void | ResetParameters () |
void | SetHypStatDecay (bool cal, bool active) |
PndHyp::PndHyp | ( | ) |
Default constructor
Definition at line 65 of file PndHyp.cxx.
References alId, beId, CId, CpipeId, fEventID, fEvt, fFile, fHypCollection, fHypSecTarCollection, fHypSTMatBudCollection, fListMat, fListOfSensitives, fPosIndex, ft, fVolNamAb, fVolNamSi, and SiId.
PndHyp::PndHyp | ( | const char * | name, |
Bool_t | active | ||
) |
Standard constructor.
name | detetcor name |
active | sensitivity flag |
Definition at line 106 of file PndHyp.cxx.
References alId, beId, CId, fEventID, fEvt, fFile, fHypCollection, fHypSecTarCollection, fHypSTMatBudCollection, fListMat, fListOfSensitives, fPosIndex, ft, fVolNamAb, fVolNamSi, and SiId.
|
virtual |
Destructor
Definition at line 149 of file PndHyp.cxx.
References fEvt, fFile, fGeoH, fHypCollection, fHypSecTarCollection, fHypSTMatBudCollection, and ft.
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 | ||
) |
Definition at line 812 of file PndHyp.cxx.
References fHypCollection.
Referenced by ProcessHits().
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 | ||
) |
Definition at line 839 of file PndHyp.cxx.
References fHypSecTarCollection.
Referenced by ProcessHits().
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 | ||
) |
Definition at line 864 of file PndHyp.cxx.
References fHypSTMatBudCollection.
Referenced by ProcessHits().
|
virtual |
Definition at line 252 of file PndHyp.cxx.
|
private |
|
virtual |
Virtual method Construct geometry
Definition at line 674 of file PndHyp.cxx.
References fRootSensVol, and TString.
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
cl1 | Origin |
cl2 | Target |
offset | Index offset |
Definition at line 657 of file PndHyp.cxx.
References fPosIndex, i, and offset().
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
Definition at line 604 of file PndHyp.cxx.
References Print(), and Reset().
|
virtual |
|
virtual |
Accessor to the hit collection
Definition at line 622 of file PndHyp.cxx.
References fHypCollection, fHypSecTarCollection, and fHypSTMatBudCollection.
|
virtual |
Virtual method Initialize Initialises detector. Stores volume IDs for MUO detector and mirror.
Definition at line 185 of file PndHyp.cxx.
References activeCnt, C(), CId, CpipeId, fAbsMat, fBPipeMat, fCurrent, fEvt, fFile, fFileName, fGeoH, fListOfMaterials, fStandard, ft, fUseFileOption, fUseRAZHOption, fVers, gGeoManager, Initialize(), m, seed, SiId, and weight.
void PndHyp::PreTrack | ( | ) |
|
virtual |
Virtual method Print
Screen output of hit collection.
Definition at line 632 of file PndHyp.cxx.
References fHypCollection, i, and nHits.
Referenced by EndOfEvent().
|
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 |
std::cout<<" " <<std::endl;
Definition at line 278 of file PndHyp.cxx.
References AddHit(), AddSecTarHit(), AddSTMatBudHit(), CId, Double_t, fcharge, fCurrent, fdist, fELoss, fEventID, fGeoH, fLength, fmass, fMatBud, fMomIn, fMomOut, fpdgCode, fPLin, fPLout, fPosIn, fPosOut, fStartEvID, fTime, fTrackID, fTrackStopNxtStep, fUseFileOption, fUseRAZHOption, fVolumeID, PndHypGeoHandling::GetID(), gGeoManager, nam, ResetParameters(), SetHypStatDecay(), SiId, and TString.
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
Definition at line 611 of file PndHyp.cxx.
References fHypCollection, fHypSecTarCollection, fHypSTMatBudCollection, and fMatBud.
|
virtual |
Virtual method Reset
Clears the hit collection
Definition at line 645 of file PndHyp.cxx.
References fHypCollection, fHypSecTarCollection, fHypSTMatBudCollection, and fPosIndex.
Referenced by EndOfEvent().
|
inlineprivate |
|
inline |
|
inline |
Definition at line 199 of file PndHyp.h.
Referenced by QAmacro_hyp_1(), run(), run_test(), runSimHF_GiB_DC(), sim_Gamma(), sim_hypGe_extparameters_urqmd(), and sim_pid_runSimHF_GiB_DC().
|
inline |
|
inline |
Definition at line 210 of file PndHyp.h.
Referenced by QAmacro_hyp_1(), run(), run_test(), runSimHF_GiB_DC(), sim_Gamma(), and sim_pid_runSimHF_GiB_DC().
|
inline |
Definition at line 183 of file PndHyp.h.
References gam.
Referenced by QAmacro_hyp_1(), run(), and run_test().
|
inline |
Definition at line 177 of file PndHyp.h.
References val.
Referenced by QAmacro_hyp_1(), run(), run_test(), and sim_pid_runSimHF_GiB_DC().
|
private |
Definition at line 720 of file PndHyp.cxx.
References activeCnt, cnt, Double_t, fcount, fEvt, fPosOut, ft, and fUseGamOption.
Referenced by ProcessHits().
|
inline |
Definition at line 222 of file PndHyp.h.
Referenced by QAmacro_hyp_1(), run(), run_test(), runSimHF_GiB_DC(), sim_Gamma(), and sim_pid_runSimHF_GiB_DC().
|
inline |
Definition at line 188 of file PndHyp.h.
Referenced by QAmacro_hyp_1(), run(), and sim_Gamma().
|
inline |
Definition at line 195 of file PndHyp.h.
Referenced by QAmacro_hyp_1(), run(), run_test(), runSimHF_GiB_DC(), sim_Gamma(), sim_hypGe_CrystalsOnly(), sim_hypGe_extparameters_urqmd(), sim_hypGe_TestGeo(), sim_hypGe_TestGeoCableTest(), and sim_pid_runSimHF_GiB_DC().
|
virtual |
Definition at line 268 of file PndHyp.cxx.
|
inline |
|
inline |
Definition at line 193 of file PndHyp.h.
Referenced by QAmacro_hyp_1(), run(), run_test(), and sim_pid_runSimHF_GiB_DC().
|
private |
Definition at line 256 of file PndHyp.h.
Referenced by Initialize(), and SetHypStatDecay().
|
private |
Definition at line 266 of file PndHyp.h.
Referenced by Initialize(), PndHyp(), and ProcessHits().
|
private |
Definition at line 266 of file PndHyp.h.
Referenced by Initialize(), and PndHyp().
|
private |
Definition at line 235 of file PndHyp.h.
Referenced by Initialize().
|
private |
Definition at line 235 of file PndHyp.h.
Referenced by Initialize().
|
private |
Definition at line 268 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 259 of file PndHyp.h.
Referenced by SetHypStatDecay().
|
private |
Definition at line 236 of file PndHyp.h.
Referenced by Initialize(), and ProcessHits().
|
private |
Definition at line 269 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 263 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 241 of file PndHyp.h.
Referenced by PndHyp(), and ProcessHits().
|
private |
Definition at line 251 of file PndHyp.h.
Referenced by Initialize(), PndHyp(), SetHypStatDecay(), and ~PndHyp().
|
private |
Definition at line 252 of file PndHyp.h.
Referenced by FinishRun(), Initialize(), PndHyp(), and ~PndHyp().
|
private |
Definition at line 271 of file PndHyp.h.
Referenced by Initialize().
|
private |
Input file name.
Definition at line 273 of file PndHyp.h.
Referenced by Initialize(), ProcessHits(), and ~PndHyp().
|
private |
Gives Access to the Path info of a hit.
Definition at line 278 of file PndHyp.h.
Referenced by AddHit(), GetCollection(), PndHyp(), Print(), Register(), Reset(), and ~PndHyp().
|
private |
Hit collection.
Definition at line 279 of file PndHyp.h.
Referenced by AddSecTarHit(), GetCollection(), PndHyp(), Register(), Reset(), and ~PndHyp().
|
private |
Definition at line 280 of file PndHyp.h.
Referenced by AddSTMatBudHit(), GetCollection(), PndHyp(), Register(), Reset(), and ~PndHyp().
|
private |
Definition at line 262 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 231 of file PndHyp.h.
Referenced by Initialize().
|
private |
Definition at line 230 of file PndHyp.h.
Referenced by CheckIfSensitive(), and PndHyp().
|
private |
Definition at line 269 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 289 of file PndHyp.h.
Referenced by ProcessHits(), and Register().
|
private |
Definition at line 243 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 245 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 265 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 248 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 248 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 242 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 264 of file PndHyp.h.
Referenced by CopyClones(), PndHyp(), and Reset().
|
private |
Definition at line 244 of file PndHyp.h.
Referenced by ProcessHits(), and SetHypStatDecay().
|
private |
Definition at line 236 of file PndHyp.h.
Referenced by ConstructGeometry().
|
private |
Definition at line 236 of file PndHyp.h.
Referenced by Initialize().
|
private |
Definition at line 237 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 253 of file PndHyp.h.
Referenced by Initialize(), PndHyp(), SetHypStatDecay(), and ~PndHyp().
|
private |
Definition at line 261 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 239 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 285 of file PndHyp.h.
Referenced by PreTrack(), and ProcessHits().
|
private |
Definition at line 286 of file PndHyp.h.
Referenced by FinishRun(), Initialize(), and ProcessHits().
|
private |
Definition at line 288 of file PndHyp.h.
Referenced by SetHypStatDecay().
|
private |
Definition at line 287 of file PndHyp.h.
Referenced by FinishRun(), Initialize(), and ProcessHits().
|
private |
Definition at line 235 of file PndHyp.h.
Referenced by Initialize().
|
private |
Definition at line 240 of file PndHyp.h.
Referenced by ProcessHits().
|
private |
Definition at line 258 of file PndHyp.h.
Referenced by Initialize().
|
private |
Definition at line 266 of file PndHyp.h.
Referenced by Initialize(), PndHyp(), and ProcessHits().
|
private |
Definition at line 257 of file PndHyp.h.
Referenced by Initialize().