1 #include "cls_RootHit.h" 15 cls_RootHit::cls_RootHit(ULong64_t p_ts, UChar_t p_ch, UShort_t p_rawAdc, Int_t p_adc, Float_t p_adcCalib) :
20 fAdcCalibrated(p_adcCalib)
24 cls_RootHit::cls_RootHit(
cls_RootHit* p_sourceHit) :
25 fTimestamp(p_sourceHit->fTimestamp),
26 fChannel(p_sourceHit->fChannel),
27 fRawAdcVal(p_sourceHit->fRawAdcVal),
28 fAdcVal(p_sourceHit->fAdcVal),
29 fAdcCalibrated(p_sourceHit->fAdcCalibrated)
33 cls_RootHit::~cls_RootHit()
38 void cls_RootHit::Clear(Option_t * )
45 TObject::operator=(orig);
47 fTimestamp = orig.fTimestamp;
48 fChannel = orig.fChannel;
49 fRawAdcVal = orig.fRawAdcVal;
50 fAdcVal = orig.fAdcVal;
51 fAdcCalibrated = orig.fAdcCalibrated;