63 void Scale(Double_t value)
override;
71#ifdef HAS_RNTUPLE_SUPPORT
72 void ConstructNTupleAndVector(std::unique_ptr<ROOT::RNTupleModel>& model, TString& prefix, std::vector<Double_t>& values, std::vector<std::shared_ptr<Double_t>>& fieldPtrs)
override{
73 QwCombiner::ConstructNTupleAndVector(model, prefix, values, fieldPtrs);
75 void FillNTupleVector(std::vector<Double_t>& values)
const override{
76 QwCombiner::FillNTupleVector(values);
84 void ConstructBranch(TTree *tree, TString & prefix, QwParameterFile& trim_file)
override;
100 for (
size_t i = 0; i <
fOutputVar.size(); ++i) {
Subsystem array container for parity analysis with asymmetry calculations.
Virtual base class for parity analysis subsystems.
Data combiner handler for channel operations.
Configuration file parser with flexible tokenization and search capabilities.
A helper class to manage a vector of branch entries for ROOT trees.
Base class for subsystems implementing container-delegation pattern.
virtual void ConstructHistograms()
Construct the histograms for this subsystem.
VQwSubsystem(const TString &name)
Constructor with name.
QwCombiner(const TString &name)
Constructor with name.
void ProcessData() override
VQwSubsystem & operator=(VQwSubsystem *value) override
Overloaded Operators.
std::shared_ptr< VQwSubsystem > GetSharedPointerToStaticObject()
void ProcessEvent() override
VQwSubsystem & operator*=(VQwSubsystem *value)
QwCombinerSubsystem(const QwCombinerSubsystem &source)
Int_t ProcessConfigurationBuffer(const ROCID_t roc_id, const BankID_t bank_id, UInt_t *buffer, UInt_t num_words) override
void PrintValue() const override
Print values for all channels.
void ClearEventData() override
void FillHistograms() override
Fill the histograms for this subsystem.
void ProcessData() override
void PrintErrorCounters() const override
void ConstructBranchAndVector(TTree *tree, TString &prefix, QwRootTreeBranchVector &values) override
Construct the branch and tree vector.
void ConstructBranch(TTree *tree, TString &prefix) override
Construct the branch and tree vector.
VQwSubsystem & operator/=(VQwSubsystem *value)
VQwSubsystem & operator+=(VQwSubsystem *value) override
UInt_t GetEventcutErrorFlag() override
Return the error flag to the top level routines related to stability checks and ErrorFlag updates.
void Scale(Double_t value) override
void DeaccumulateRunningSum(VQwSubsystem *value, Int_t ErrorMask=0xFFFFFFF) override
remove one entry from the running sums for devices
Int_t LoadInputParameters(TString) override
Mandatory parameter file definition.
~QwCombinerSubsystem() override
void IncrementErrorCounters() override
Increment the error counters.
QwCombinerSubsystem(const TString name)
Constructor with just name.
Int_t ProcessEvBuffer(const ROCID_t roc_id, const BankID_t bank_id, UInt_t *buffer, UInt_t num_words) override
TODO: The non-event-type-aware ProcessEvBuffer routine should be replaced with the event-type-aware v...
VQwSubsystem & operator-=(VQwSubsystem *value) override
Bool_t ApplySingleEventCuts() override
Apply the single event cuts.
Int_t LoadEventCuts(TString) override
Optional event cut file.
Bool_t CheckForBurpFail(const VQwSubsystem *ev_error) override
Report the number of events failed due to HW and event cut failures.
void CalculateRunningAverage() override
Calculate the average for all good events.
void FillTreeVector(QwRootTreeBranchVector &values) const override
Fill the tree vector.
void Ratio(VQwSubsystem *value1, VQwSubsystem *value2) override
void FillTreeVector(QwRootTreeBranchVector &values) const
void AccumulateRunningSum()
std::vector< VQwHardwareChannel * > fOutputVar
void ConstructBranchAndVector(TTree *tree, TString &prefix, QwRootTreeBranchVector &values)
VQwSubsystemParity()
Private default constructor (not implemented, will throw linker error on use)
virtual UInt_t UpdateErrorFlag()
Uses the error flags of contained data elements to update Returns the error flag to the top level rou...