37 #ifndef PNDEMCWAVEFORM_H
38 #define PNDEMCWAVEFORM_H
46 #include "FairTimeStamp.h"
47 #include "TGraphErrors.h"
65 PndEmcWaveform(
int trackId,
long detId,
const std::vector<Double_t>& signal, Int_t hitIndex=-1);
66 PndEmcWaveform(
long detId,
const std::vector<Double_t>& signal,
const FairMultiLinkedData& links);
94 virtual bool equal(FairTimeStamp* data);
126 void SetWaveform(std::vector<Double_t>&signal,Int_t length);
stores crystal index coordinates (x,y) or (theta,phi)
represents the deposited energy of one emc crystal from simulation
int hit(Int_t nEvents=0, TString inFile="sim.root", TString parFile="par.root", TString inDigi="digi.root", TString outFile="hit.root", Int_t timeBased=0)