80 void SetSingleEventCuts(UInt_t errorflag, Double_t min = 0, Double_t max = 0, Double_t stability = 0);
Parameter file parsing and management.
Definition of the pure virtual base class of all data elements.
const TString QwBPMStripline< T >::subelement[4]
Configuration file parser with flexible tokenization and search capabilities.
A helper class to manage a vector of branch entries for ROOT trees.
VQwDataElement()
Default constructor.
void SetSubsystemName(TString sysname)
Set the name of the inheriting subsystem name.
void SetHardwareSum(Double_t hwsum, UInt_t sequencenumber=0)
void InitializeChannel(TString subsystem, TString name, TString datatosave)
void UpdateErrorFlag(const QwIntegratedRasterChannel *ev_error)
void SetDefaultSampleSize(Int_t sample_size)
void Difference(QwIntegratedRasterChannel &value1, QwIntegratedRasterChannel &value2)
std::vector< QwErrDBInterface > GetErrDBEntry()
void SetRandomEventDriftParameters(Double_t amplitude, Double_t phase, Double_t frequency)
void SetRandomEventParameters(Double_t mean, Double_t sigma)
~QwIntegratedRasterChannel() override
Int_t SetSingleEventCuts(Double_t mean=0, Double_t sigma=0)
void PrintInfo() const override
Print multiple lines of information about this data element.
const VQwDataElement * GetElement() const
void AccumulateRunningSum(const QwIntegratedRasterChannel &value)
void ClearEventData() override
Clear the event data in this element.
void SetEventCutMode(Int_t bcuts)
QwIntegratedRasterChannel & operator=(const QwIntegratedRasterChannel &value)
void SetCalibrationFactor(Double_t calib)
void IncrementErrorCounters()
void InitializeChannel(TString name, TString datatosave)
QwIntegratedRasterChannel & operator-=(const QwIntegratedRasterChannel &value)
void Sum(QwIntegratedRasterChannel &value1, QwIntegratedRasterChannel &value2)
void ConstructBranchAndVector(TTree *tree, TString &prefix, QwRootTreeBranchVector &values)
QwIntegratedRasterChannel()
void SetRandomEventAsymmetry(Double_t asymmetry)
UInt_t UpdateErrorFlag() override
Update the error flag based on the error flags of internally contained objects Return parameter is th...
void PrintErrorCounters() const override
report number of events failed due to HW and event cut failure
void Scale(Double_t factor)
void Ratio(QwIntegratedRasterChannel &numer, QwIntegratedRasterChannel &denom)
void ConstructHistograms(TDirectory *folder, TString &prefix) override
Construct the histograms for this data element.
void ConstructBranch(TTree *tree, TString &prefix, QwParameterFile &modulelist)
void PrintValue() const override
Print single line of value and error of this data element.
void UseExternalRandomVariable()
static const Bool_t bDEBUG
void AddRandomEventDriftParameters(Double_t amplitude, Double_t phase, Double_t frequency)
QwIntegratedRasterChannel(TString name)
void EncodeEventData(std::vector< UInt_t > &buffer)
void SetExternalRandomVariable(Double_t random_variable)
void FillHistograms() override
Fill the histograms for this data element.
UInt_t GetEventcutErrorFlag() override
return the error flag on this channel/device
void ConstructBranch(TTree *tree, TString &prefix)
Bool_t ApplySingleEventCuts()
void CalculateRunningAverage()
void SetEventData(Double_t *block, UInt_t sequencenumber)
QwIntegratedRasterChannel & operator+=(const QwIntegratedRasterChannel &value)
void SetPedestal(Double_t ped)
void FillTreeVector(QwRootTreeBranchVector &values) const
QwIntegratedRasterChannel(TString subsystemname, TString name)
Int_t ProcessEvBuffer(UInt_t *buffer, UInt_t word_position_in_buffer, UInt_t subelement=0) override
Process the CODA event buffer for this element.
std::vector< QwDBInterface > GetDBEntry()
void RandomizeEventData(int helicity=0, double time=0)
void SetSingleEventCuts(UInt_t errorflag, Double_t min=0, Double_t max=0, Double_t stability=0)
Inherited from VQwDataElement to set the upper and lower limits (fULimit and fLLimit),...