28 #include "FairTimeStamp.h"
30 #include "TClonesArray.h"
46 <<
" timestamp: "<<digi.GetTimeStamp();
58 PndEmcDigi(Int_t trackid, Int_t
id, Float_t
energy, Float_t time, Int_t hitIndex=-1);
69 virtual bool equal(FairTimeStamp* data){
79 virtual void Print(
const Option_t* opt =
"")
const;
147 double positionDepthPWO = 0.,
148 double positionDepthShahslyk = 0.,
149 double rescaleFactor = 1.);
164 #endif //PndEmcDigi_H
static void selectDigiPositionMethod(PositionMethod, double positionDepthPWO=0., double positionDepthShahslyk=0., double rescaleFactor=1.)
static TClonesArray * fDigiArrayTBD
virtual Double_t GetEnergy() const
represents the reconstructed hit of one emc crystal
virtual PndEmcSharedDigi * dynamic_cast_PndEmcSharedDigi()
virtual bool operator<(const PndEmcDigi &otherDigi) const
Int_t GetThetaInt() const
Int_t GetDetectorId() const
static double fPositionDepthPWO
static double fRescaleFactor
void SetTrackId(Int_t id)
Short_t GetCrystal() const
represents coordinates of one crystal
static Double_t getPositionDepthShashlyk()
stores crystal index coordinates (x,y) or (theta,phi)
static TVector3 depthPosition(const PndEmcXtal *xtal)
static void InitDigiArrayTBD()
Short_t GetModule() const
friend class PndEmcWaveformToDigiFPGA
Double_t GetTheta() const
Task to create digis from waveforms.
static Double_t getRescaleFactor()
void SetEnergy(Double32_t energy)
used to share PndEmcDigis between bumps
static Double_t getPositionDepthPWO()
virtual bool equal(FairTimeStamp *data)
void SetDetectorId(Int_t id)
static double fPositionDepthShashlyk
friend std::ostream & operator<<(std::ostream &out, PndEmcDigi &digi)
virtual bool operator==(const PndEmcDigi &otherDigi) const
static TVector3 surfacePosition(const PndEmcXtal *xtal)
const TVector3 & where() const
virtual bool operator!=(const PndEmcDigi &otherDigi) const
static TVector3(*&)(const PndEmcXtal *) algPointer()
virtual void Print(const Option_t *opt="") const
bool isNeighbour(const PndEmcDigi *theDigi) const
virtual void AbsorbEnergy(PndEmcDigi &otherDigi)
Task to create PndEmcDigi from PndEmcHit.
PndEmcTwoCoordIndex * GetTCI() const