#include "ICTHDigit.hxx" #include ClassImp(COMET::ICTHDigit); //********************************************** COMET::ICTHDigit::ICTHDigit() {} //********************************************** //********************************************** COMET::ICTHDigit::ICTHDigit(const COMET::IChannelId& chanId, COMET::ITrigger* trigger, const Int_t firstTimeTick, const TWfADC& wfAdcs, const std::vector& tdc) :IWaveformDigit(chanId, trigger, firstTimeTick, wfAdcs) { fTDC = tdc; } //********************************************** //********************************************** COMET::ICTHDigit::ICTHDigit(const COMET::IChannelId& chanId, COMET::ITrigger* trigger, const Int_t firstTimeTick, const TWfADC& wfAdcs) :IWaveformDigit(chanId, trigger, firstTimeTick, wfAdcs) { } //********************************************** //********************************************** COMET::ICTHDigit::~ICTHDigit() { } //********************************************** //********************************************** void COMET::ICTHDigit::ls(Option_t* opt) const { TROOT::IncreaseDirLevel(); TROOT::IndentLevel(); std::cout << "CTHDigit: " << GetChannelId().AsString() << " T: " << GetFirstTimeTick() << " (" << GetLength() << ")\n" << " #of TDC: " << GetTDCSize() << std::endl; TROOT::DecreaseDirLevel(); } //**********************************************