![]() |
PandaRoot
|
#include <PndDsk.h>
Public Member Functions | |
PndDsk () | |
PndDsk (const char *name, Bool_t active) | |
virtual | ~PndDsk () |
virtual void | Initialize () |
virtual Bool_t | ProcessHits (FairVolume *vol=0) |
virtual void | EndOfEvent () |
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 Bool_t | CheckIfSensitive (std::string name) |
Bool_t | DichroicMirrorTransmitted (Double_t wavelength, Int_t detector_type) |
PndDskCerenkov * | AddCerenkov (Int_t trackID, Int_t detectorID, TVector3 position, TVector3 momentum, Double_t time, Double_t energy, Double_t wavelength, Int_t motherTrackID, Int_t motherPdgCode, TString motherPdgName) |
PndDskFLGHit * | AddHit (Int_t trackID, Int_t detectorID, TVector3 position_store, TVector3 momentum_store, Double_t time, Double_t angIn, Double_t thetaC_store, TVector3 Cherenkov_photon, Int_t light_guide, Int_t pixel) |
PndDskParticle * | AddParticle (Int_t trackID, Int_t detectorID, TVector3 position, TVector3 momentum, Double_t time, Int_t pdgCode, TString pdgName, Double_t energy, Int_t motherTrackID, Int_t motherPdgCode, TString motherPdgName, Double_t mass, Double_t angIn, Double_t thetaC, Int_t nPhot) |
PndDskTrackPoint * | AddTrackPoint (Int_t trackID, Int_t detectorID, TVector3 position, TVector3 momentum, Double_t time, Double_t length, Double_t eLoss) |
void | SetDebugLevel (Int_t debugLevel) |
void | SetPDE (Double_t pde) |
void | SetStoreCerenkovs (Bool_t storeCerenkovs) |
void | SetStoreParticles (Bool_t storeParticles) |
void | SetStoreTrackPoints (Bool_t storeTrackPoints) |
void | SetTrapFraction (std::string name) |
PndDsk::PndDsk | ( | ) |
Default constructor
PndDsk::PndDsk | ( | const char * | name, |
Bool_t | active | ||
) |
Standard constructor with arguments
name | detetcor name |
active | sensitivity flag |
|
virtual |
Destructor
PndDskCerenkov* PndDsk::AddCerenkov | ( | Int_t | trackID, |
Int_t | detectorID, | ||
TVector3 | position, | ||
TVector3 | momentum, | ||
Double_t | time, | ||
Double_t | energy, | ||
Double_t | wavelength, | ||
Int_t | motherTrackID, | ||
Int_t | motherPdgCode, | ||
TString | motherPdgName | ||
) |
Method AddCerenkov
Adds a Cerenkov to the collection
PndDskFLGHit* PndDsk::AddHit | ( | Int_t | trackID, |
Int_t | detectorID, | ||
TVector3 | position_store, | ||
TVector3 | momentum_store, | ||
Double_t | time, | ||
Double_t | angIn, | ||
Double_t | thetaC_store, | ||
TVector3 | Cherenkov_photon, | ||
Int_t | light_guide, | ||
Int_t | pixel | ||
) |
PndDskParticle* PndDsk::AddParticle | ( | Int_t | trackID, |
Int_t | detectorID, | ||
TVector3 | position, | ||
TVector3 | momentum, | ||
Double_t | time, | ||
Int_t | pdgCode, | ||
TString | pdgName, | ||
Double_t | energy, | ||
Int_t | motherTrackID, | ||
Int_t | motherPdgCode, | ||
TString | motherPdgName, | ||
Double_t | mass, | ||
Double_t | angIn, | ||
Double_t | thetaC, | ||
Int_t | nPhot | ||
) |
Method AddParticle
Adds a Particle to the collection
PndDskTrackPoint* PndDsk::AddTrackPoint | ( | Int_t | trackID, |
Int_t | detectorID, | ||
TVector3 | position, | ||
TVector3 | momentum, | ||
Double_t | time, | ||
Double_t | length, | ||
Double_t | eLoss | ||
) |
Method AddTrackPoint
Adds a TrackPoint to the collection
|
virtual |
Virtual method CheckIfSensitive
Decide if volume is sensitive
name | Name of the volume to check |
|
virtual |
Virtual method ConstructGeometry
Decide how to construct the geometry
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
cl1 | Origin |
cl2 | Target |
offset | Index offset |
Bool_t PndDsk::DichroicMirrorTransmitted | ( | Double_t | wavelength, |
Int_t | detector_type | ||
) |
Method DichroicMirrorTransmitted
simulates dichroic mirrors
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
|
virtual |
Virtual method GetCollection
Accessor to the Cerenkov and Particle collections
|
virtual |
Virtual method Initialize Initialises detector.
|
virtual |
Virtual method Print
Screen output of hit collection.
|
virtual |
Virtual method ProcessHits
Decides if actions for a Cerenkov or a Particle have to be taken and calls the ProcessHitsX method accordingly.
vol | Pointer to the active volume |
|
virtual |
Virtual method Register
Registers the collections in the ROOT manager.
|
virtual |
Virtual method Reset
Clears the collections
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 138 of file PndDsk.h.
References SetTrapFraction().
void PndDsk::SetTrapFraction | ( | std::string | name | ) |
Referenced by SetStoreTrackPoints().