FairRoot/PandaRoot
|
represents a mc hit in an emc crystal More...
#include <PndEmcPoint.h>
Public Member Functions | |
PndEmcPoint () | |
PndEmcPoint (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, Bool_t entering=kFALSE, Bool_t exiting=kFALSE) | |
PndEmcPoint (const PndEmcPoint &point) | |
virtual | ~PndEmcPoint () |
Double_t | GetTheta () const |
Double_t | GetPhi () const |
Short_t | GetXPad () const |
Short_t | GetYPad () const |
Short_t | GetModule () const |
Short_t | GetRow () const |
Short_t | GetCrystal () const |
Short_t | GetCopy () const |
Bool_t | GetEntering () const |
Bool_t | GetExiting () const |
void | SetModule (Short_t mod) |
void | SetRow (Short_t row) |
void | SetCrystal (Short_t crys) |
virtual void | SetTrackID (Int_t trackId) |
virtual void | Print (const Option_t *opt) const |
Protected Attributes | |
Short_t | nModule |
Short_t | nRow |
Short_t | nCrystal |
Short_t | nCopy |
Bool_t | fEntering |
Bool_t | fExiting |
represents a mc hit in an emc crystal
Definition at line 19 of file PndEmcPoint.h.
PndEmcPoint::PndEmcPoint | ( | ) |
PndEmcPoint::PndEmcPoint | ( | 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, | ||
Bool_t | entering = kFALSE , |
||
Bool_t | exiting = kFALSE |
||
) |
Constructor with arguments
trackID | Index of MCTrack |
detID | Detector ID |
posIn | Ccoordinates at entrance to active volume [cm] |
posOut | Coordinates at exit of active volume [cm] |
momIn | Momentum of track at entrance [GeV] |
momOut | Momentum of track at exit [GeV] |
tof | Time since event start [ns] |
length | Track length since creation [cm] |
eLoss | Energy deposit [GeV] |
entering | Existing particle entering the crystal (needed for MC match) |
exiting | Particle leaving the crystal (needed for MC match) |
Definition at line 28 of file PndEmcPoint.cxx.
PndEmcPoint::PndEmcPoint | ( | const PndEmcPoint & | point | ) |
Copy constructor
Definition at line 39 of file PndEmcPoint.cxx.
|
virtual |
|
inline |
Definition at line 63 of file PndEmcPoint.h.
Referenced by GetEntriesFast(), GetXPad(), and GetYPad().
|
inline |
Definition at line 62 of file PndEmcPoint.h.
Referenced by GetEntriesFast(), GetXPad(), and GetYPad().
|
inline |
Definition at line 64 of file PndEmcPoint.h.
References fEntering.
Referenced by PndEmcHitProducer::Exec(), and Print().
|
inline |
Definition at line 65 of file PndEmcPoint.h.
References fExiting.
Referenced by PndEmcHitProducer::Exec(), and Print().
|
inline |
Definition at line 60 of file PndEmcPoint.h.
Referenced by FairGeaneTrEmc::Exec(), PndEmcHitProducer::Exec(), GetEntriesFast(), GetXPad(), and GetYPad().
|
inline |
Definition at line 56 of file PndEmcPoint.h.
References CAMath::ATan2(), fX, and fY.
Referenced by PndEmcHitProducer::AcceptDayOne().
|
inline |
Definition at line 61 of file PndEmcPoint.h.
Referenced by GetEntriesFast(), GetXPad(), and GetYPad().
|
inline |
Short_t PndEmcPoint::GetXPad | ( | ) | const |
Definition at line 72 of file PndEmcPoint.cxx.
References GetCopy(), GetCrystal(), GetModule(), and GetRow().
Referenced by GetEntriesFast().
Short_t PndEmcPoint::GetYPad | ( | ) | const |
Definition at line 105 of file PndEmcPoint.cxx.
References GetCopy(), GetCrystal(), GetModule(), and GetRow().
Referenced by GetEntriesFast().
|
virtual |
Output to screen
Definition at line 54 of file PndEmcPoint.cxx.
References fX, fY, fZ, GetEntering(), and GetExiting().
|
inline |
|
inline |
|
inline |
Definition at line 69 of file PndEmcPoint.h.
|
inlinevirtual |
Definition at line 71 of file PndEmcPoint.h.
Referenced by PndEmc::CopyClones().
|
protected |
Definition at line 82 of file PndEmcPoint.h.
Referenced by GetEntering().
|
protected |
Definition at line 83 of file PndEmcPoint.h.
Referenced by GetExiting().
|
protected |
Definition at line 81 of file PndEmcPoint.h.
|
protected |
Definition at line 80 of file PndEmcPoint.h.
Referenced by SetCrystal().
|
protected |
Definition at line 78 of file PndEmcPoint.h.
Referenced by SetModule().
|
protected |
Definition at line 79 of file PndEmcPoint.h.
Referenced by SetRow().