#include <PndEmcApd.h>
|
| PndEmcApd () |
|
| PndEmcApd (const char *name, Bool_t active) |
|
virtual | ~PndEmcApd () |
|
virtual void | Initialize () |
|
virtual Bool_t | ProcessHits (FairVolume *vol=0) |
|
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 () |
|
void | ConstructASCIIGeometry () |
|
PndEmcApdPoint * | AddHit (Int_t trackID, Int_t detID, Int_t evtID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Short_t mod, Short_t row, Short_t crys, Short_t copy, Short_t flag) |
|
Definition at line 19 of file PndEmcApd.h.
◆ PndEmcApd() [1/2]
◆ PndEmcApd() [2/2]
PndEmcApd::PndEmcApd |
( |
const char * |
name, |
|
|
Bool_t |
active |
|
) |
| |
Standard constructor.
- Parameters
-
name | detetcor name |
active | sensitivity flag |
◆ ~PndEmcApd()
virtual PndEmcApd::~PndEmcApd |
( |
| ) |
|
|
virtual |
◆ AddHit()
PndEmcApdPoint* PndEmcApd::AddHit |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
Int_t |
evtID, |
|
|
TVector3 |
pos, |
|
|
TVector3 |
mom, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss, |
|
|
Short_t |
mod, |
|
|
Short_t |
row, |
|
|
Short_t |
crys, |
|
|
Short_t |
copy, |
|
|
Short_t |
flag |
|
) |
| |
◆ BeginEvent()
virtual void PndEmcApd::BeginEvent |
( |
| ) |
|
|
virtual |
◆ ConstructASCIIGeometry()
void PndEmcApd::ConstructASCIIGeometry |
( |
| ) |
|
◆ ConstructGeometry()
virtual void PndEmcApd::ConstructGeometry |
( |
| ) |
|
|
virtual |
Virtual method Construct geometry
◆ CopyClones()
virtual void PndEmcApd::CopyClones |
( |
TClonesArray * |
cl1, |
|
|
TClonesArray * |
cl2, |
|
|
Int_t |
offset |
|
) |
| |
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
- Parameters
-
cl1 | Origin |
cl2 | Target |
offset | Index offset |
◆ EndOfEvent()
virtual void PndEmcApd::EndOfEvent |
( |
| ) |
|
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
◆ GetCollection()
virtual TClonesArray* PndEmcApd::GetCollection |
( |
Int_t |
iColl | ) |
const |
|
virtual |
Accessor to the hit collection
◆ Initialize()
virtual void PndEmcApd::Initialize |
( |
| ) |
|
|
virtual |
Virtual method Initialize Initialises detector.
◆ Print()
virtual void PndEmcApd::Print |
( |
| ) |
const |
|
virtual |
Virtual method Print
Screen output of hit collection.
◆ ProcessHits()
virtual Bool_t PndEmcApd::ProcessHits |
( |
FairVolume * |
vol = 0 | ) |
|
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates PndEmcApdPoints and adds them to the collections.
- Parameters
-
vol | Pointer to the active volume |
◆ Register()
virtual void PndEmcApd::Register |
( |
| ) |
|
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
◆ Reset()
virtual void PndEmcApd::Reset |
( |
| ) |
|
|
virtual |
Virtual method Reset
Clears the hit collection
The documentation for this class was generated from the following file: