![]() |
PandaRoot
|
#include <PndDrc.h>
Public Member Functions | |
PndDrc () | |
PndDrc (const char *name, Bool_t active) | |
virtual | ~PndDrc () |
void | StopSecondaries (Bool_t ss=kFALSE) |
Kill secondaries at its production point. More... | |
void | StopChargedTrackAfterDIRC (Bool_t sctad=kTRUE) |
Kill charged track by exiting the DIRC to avoid it hitting the large EV. More... | |
void | SetDetEffId (Int_t val=2) |
Set MCP-Pmt's quantum effeciency. More... | |
void | SetDetEffAtProduction (Bool_t dep=kFALSE) |
Kill photons at production point according to the detector efficiency distribution. More... | |
void | SetTransportEffAtProduction (Bool_t tra=kFALSE) |
Kill photons at production point according to the transport efficiency distribution. More... | |
void | SetMirrorReal (Bool_t mir=kTRUE) |
Choose between ideal and real mirror: More... | |
void | SetBlackLensSides (Bool_t lesi=kFALSE) |
void | SetStopTime (Double_t ti=-1.) |
Set time after which photons are killed. More... | |
void | SetOptionForLUT (Bool_t oplu=kFALSE) |
virtual void | Initialize () |
void | SetPersistency (Bool_t v=kTRUE) |
virtual Bool_t | ProcessHits (FairVolume *vol=0) |
virtual void | FinishPrimary () |
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 *clPD1, TClonesArray *clPD2, TClonesArray *clBar1, TClonesArray *clBar2, Int_t offset) |
void | FinishRun () |
virtual void | ConstructGeometry () |
virtual void | ConstructOpGeometry () |
bool | CheckIfSensitive (std::string name) |
void | NumberOfBounces (TVector3, TVector3, Int_t, Int_t *, Int_t *, Double_t *, Double_t *) |
Double_t | FindOutPoint (Double_t, Double_t, Double_t, Double_t *, Bool_t) |
PndDrcPDPoint * | AddHit (Int_t trackID, Int_t copyNo, Int_t mcpId, TVector3 pos, TVector3 mom, TVector3 momAtEV, Double_t timeAtEV, Double_t time, Double_t length, Int_t pdgCode, Int_t eventID) |
PndDrcEVPoint * | AddEVHit (Int_t trackID, Int_t copyNo, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Int_t pdgCode, Int_t eventID, Double_t timestart, Double_t timestartEV, Double_t VeloPhoton, TVector3 normal) |
PndDrcBarPoint * | AddBarHit (Int_t trackID, Int_t copyNo, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Int_t pdgCode, Double_t thetaC, Int_t nBar, Int_t eventID, Double_t mass) |
void | SetRunCherenkov (Bool_t ch) |
Public Attributes | |
std::vector< std::string > | fListOfSensitives |
PndDrc::PndDrc | ( | ) |
Default constructor
PndDrc::PndDrc | ( | const char * | name, |
Bool_t | active | ||
) |
Standard constructor.
name | detetcor name |
active | sensitivity flag |
|
virtual |
Destructor
PndDrcBarPoint* PndDrc::AddBarHit | ( | Int_t | trackID, |
Int_t | copyNo, | ||
TVector3 | pos, | ||
TVector3 | mom, | ||
Double_t | time, | ||
Double_t | length, | ||
Int_t | pdgCode, | ||
Double_t | thetaC, | ||
Int_t | nBar, | ||
Int_t | eventID, | ||
Double_t | mass | ||
) |
PndDrcEVPoint* PndDrc::AddEVHit | ( | Int_t | trackID, |
Int_t | copyNo, | ||
TVector3 | pos, | ||
TVector3 | mom, | ||
Double_t | time, | ||
Double_t | length, | ||
Int_t | pdgCode, | ||
Int_t | eventID, | ||
Double_t | timestart, | ||
Double_t | timestartEV, | ||
Double_t | VeloPhoton, | ||
TVector3 | normal | ||
) |
PndDrcPDPoint* PndDrc::AddHit | ( | Int_t | trackID, |
Int_t | copyNo, | ||
Int_t | mcpId, | ||
TVector3 | pos, | ||
TVector3 | mom, | ||
TVector3 | momAtEV, | ||
Double_t | timeAtEV, | ||
Double_t | time, | ||
Double_t | length, | ||
Int_t | pdgCode, | ||
Int_t | eventID | ||
) |
|
virtual |
Referenced by SetPersistency().
bool PndDrc::CheckIfSensitive | ( | std::string | name | ) |
|
virtual |
Virtual method Construct geometry
Referenced by SetPersistency().
|
virtual |
Referenced by SetPersistency().
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
cl1 | Origin |
cl2 | Target |
offset | Index offset |
Referenced by SetPersistency().
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
Referenced by SetPersistency().
Double_t PndDrc::FindOutPoint | ( | Double_t | , |
Double_t | , | ||
Double_t | , | ||
Double_t * | , | ||
Bool_t | |||
) |
|
virtual |
Referenced by SetPersistency().
void PndDrc::FinishRun | ( | ) |
Referenced by SetPersistency().
|
virtual |
Accessor to the hit collection
Referenced by SetPersistency().
|
virtual |
Referenced by SetOptionForLUT().
void PndDrc::NumberOfBounces | ( | TVector3 | , |
TVector3 | , | ||
Int_t | , | ||
Int_t * | , | ||
Int_t * | , | ||
Double_t * | , | ||
Double_t * | |||
) |
|
virtual |
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates PndDrcPoints and PndDrcMirrorPoints and adds them to the collections.
vol | Pointer to the active volume |
Referenced by SetPersistency().
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
Referenced by SetPersistency().
|
virtual |
|
inline |
|
inline |
Kill photons at production point according to the detector efficiency distribution.
dep | NOTE! Transport efficiency can not be used together with Detector efficiency: it can not be used like: SetDetEffAtProduction(kTRUE) SetTransportEffAtProduction(kTRUE) |
at least one of them should be kFALSE
|
inline |
|
inline |
Choose between ideal and real mirror:
mir | kFALSE - take ideal mirror, reflectivity = 1 for photons within energy range 1..10 eV kTRUE - take real mirror, reflectivity has realistic values for photons within energy range 1.907..6.199 eV |
|
inline |
Virtual method Initialize Initialises detector. Stores volume IDs for DIRC detector and mirror.
Definition at line 110 of file PndDrc.h.
References Initialize().
|
inline |
Definition at line 113 of file PndDrc.h.
References BeginEvent(), ConstructGeometry(), ConstructOpGeometry(), CopyClones(), EndOfEvent(), FinishPrimary(), FinishRun(), GetCollection(), Print(), ProcessHits(), Register(), Reset(), and v.
|
inline |
|
inline |
|
inline |
Kill photons at production point according to the transport efficiency distribution.
tra | NOTE! Transport efficiency can not be used together with Detector efficiency: it can not be used like: SetDetEffAtProduction(kTRUE) SetTransportEffAtProduction(kTRUE) |
at least one of them should be kFALSE
|
inline |
|
inline |