8 #ifndef __QwHALO_MONITOR__
9 #define __QwHALO_MONITOR__
67 Int_t
ProcessEvBuffer(UInt_t* buffer, UInt_t num_words_left,UInt_t index=0);
97 fHalo_Counter.SetSingleEventCuts(errorflag,min,max,stability);
void FillTreeVector(std::vector< Double_t > &values) const
void InitializeChannel(TString name)
std::string GetExternalClockName()
void AccumulateRunningSum(const QwHaloMonitor &value)
QwHaloMonitor & operator+=(const QwHaloMonitor &value)
VQwHardwareChannel * GetScaler()
void CalculateRunningAverage()
QwHaloMonitor(TString name)
std::vector< QwDBInterface > GetDBEntry()
void ConstructBranch(TTree *tree, TString &prefix)
void SetSingleEventCuts(UInt_t errorflag, Double_t min, Double_t max, Double_t stability)
set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel ...
void SetExternalClockName(const std::string name)
void SetExternalClockPtr(const VQwHardwareChannel *clock)
QwHaloMonitor(const QwHaloMonitor &source)
void DeaccumulateRunningSum(QwHaloMonitor &value)
void ConstructHistograms(TDirectory *folder, TString &prefix)
Construct the histograms for this data element.
Double_t GetNormClockValue()
void IncrementErrorCounters()
void PrintValue() const
Print single line of value and error of this data element.
The pure virtual base class of all data elements.
void Ratio(QwHaloMonitor &numer, QwHaloMonitor &denom)
void SetPedestal(Double_t ped)
QwHaloMonitor(TString subsystemname, TString name)
void ClearEventData()
Clear the event data in this element.
void UpdateErrorFlag(const QwHaloMonitor *ev_error)
Bool_t NeedsExternalClock()
static const Bool_t kDEBUG
void UpdateHWErrorCount()
QwHaloMonitor & operator=(const QwHaloMonitor &value)
class QwScaler_Channel< 0x00ffffff, 0 > QwSIS3801D24_Channel
UInt_t GetEventcutErrorFlag()
return the error flag on this channel/device
void SetCalibrationFactor(Double_t factor)
void Offset(Double_t Offset)
void PrintErrorCounters()
Bool_t ApplySingleEventCuts()
void LoadChannelParameters(QwParameterFile ¶mfile)
void ConstructBranchAndVector(TTree *tree, TString &prefix, std::vector< Double_t > &values)
void PrintInfo() const
Print multiple lines of information about this data element.
void SetEventCutMode(Int_t bcuts)
void Scale(Double_t Offset)
void Difference(QwHaloMonitor &value1, QwHaloMonitor &value2)
void Sum(QwHaloMonitor &value1, QwHaloMonitor &value2)
Int_t ProcessEvBuffer(UInt_t *buffer, UInt_t num_words_left, UInt_t index=0)
Process the CODA event buffer for this element.
UInt_t UpdateErrorFlag()
Update the error flag based on the error flags of internally contained objects Return paramter is the...
QwHaloMonitor & operator-=(const QwHaloMonitor &value)
QwSIS3801D24_Channel fHalo_Counter
void FillHistograms()
Fill the histograms for this data element.
const VQwHardwareChannel * GetScaler() const
std::vector< QwErrDBInterface > GetErrDBEntry()