8 #ifndef __QwPMT_CHANNEL__
9 #define __QwPMT_CHANNEL__
54 Int_t
ProcessEvBuffer(UInt_t* buffer, UInt_t num_words_left, UInt_t subelement=0){
return 0;};
82 static const Bool_t
kDEBUG;
void PrintInfo() const
Print multiple lines of information about this data element.
void SetValue(Double_t data)
void FillTreeVector(std::vector< Double_t > &values) const
QwPMT_Channel(const QwPMT_Channel &source)
Copy constructor.
void RandomizeEventData(int helicity, int SlotNum, int ChanNum)
QwPMT_Channel(TString name)
Constructor with name.
Int_t ProcessEvBuffer(UInt_t *buffer, UInt_t num_words_left, UInt_t subelement=0)
Process the CODA event buffer for this element.
void PrintValue() const
Print single line of value and error of this data element.
void SetModule(const Int_t slot_num)
Definition of the pure virtual base class of all data elements.
The pure virtual base class of all data elements.
void EncodeEventData(std::vector< UInt_t > &TrigBuffer)
Int_t GetSubbankID() const
void ConstructHistograms(TDirectory *folder, TString &prefix)
Construct the histograms for this data element.
void ConstructBranchAndVector(TTree *tree, TString &prefix, std::vector< Double_t > &values)
void SetElementName(const TString &name)
Set the name of this element.
void ClearEventData()
Clear the event data in this element.
static const Double_t kPMT_VoltsPerBit
QwPMT_Channel()
Default constructor.
virtual ~QwPMT_Channel()
Virtual destructor.
void FillHistograms()
Fill the histograms for this data element.
void PrintErrorCounters() const
report number of events failed due to HW and event cut failure
QwPMT_Channel & operator=(const QwPMT_Channel &value)
size_t fTreeArrayNumEntries
Double_t GetValue() const
static const Bool_t kDEBUG
void InitializeChannel(TString name)
void SetSubbankID(const Int_t bank_index)