6 #ifndef PNDEMCAPDPOINT_H
7 #define PNDEMCAPDPOINT_H
11 #include "TLorentzVector.h"
12 #include "FairMCPoint.h"
37 Short_t mod, Short_t
row, Short_t crys, Short_t copy, Short_t flag);
56 void Momentum(TVector3& mom) { mom.SetXYZ(fPx, fPy, fPz); };
57 Short_t
GetModule()
const {
return (fDetectorID/100000000);};
58 Short_t
GetRow()
const {
return ((fDetectorID/1000000)%100);};
59 Short_t
GetCrystal()
const {
return (fDetectorID%10000);};
60 Short_t
GetCopy()
const {
return ((fDetectorID/10000)%100);};
68 virtual void Print(
const Option_t* opt)
const;
friend F32vec4 sqrt(const F32vec4 &a)
Double_t GetTheta() const
void SetFlag(Short_t flag)
void Position(TVector3 &pos)
static T ATan2(const T &y, const T &x)
Short_t GetCrystal() const
void SetCrystal(Short_t crys)
virtual ~PndEmcApdPoint()
virtual void Print(const Option_t *opt) const
void SetModule(Short_t mod)
void Momentum(TVector3 &mom)
Short_t GetModule() const