34 void FillDB_MPS(QwParityDB*, TString)
override {
throw std::runtime_error(
"QwScanData::FillDB_MPS() is not supported"); }
35 void FillDB(QwParityDB* , TString)
override {
throw std::runtime_error(
"QwScanData::FillDB() is not supported" ); }
36 void FillErrDB(QwParityDB* , TString)
override {
throw std::runtime_error(
"QwScanData::FillErrDB() is not supported"); }
39 void Scale(Double_t factor)
override;
55 Int_t
LoadInputParameters(TString mapfile)
override {
throw std::runtime_error(
"QwScanData::LoadInputParameters() is not supported");
return 0; }
56 Int_t
ProcessConfigurationBuffer(
const ROCID_t roc_id,
const BankID_t bank_id, UInt_t* buffer, UInt_t num_words)
override {
throw std::runtime_error(
"QwScanData::ProcessConfigurationBuffer() is not supported");
return 0; }
59 void ConstructHistograms()
override { std::runtime_error(
"QwScanData::ConstructHistograms() is not supported"); }
60 void ConstructHistograms(TDirectory *folder, TString &prefix)
override { std::runtime_error(
"QwScanData::ConstructHistograms() is not supported"); }
61 void FillHistograms()
override { std::runtime_error(
"QwScanData::FillHistograms() is not supported"); }
71 void ConstructBranch(TTree *tree, TString& prefix)
override {
throw std::runtime_error(
"QwScanData::ConstructBranch() is not supported"); };
72 void ConstructBranch(TTree *tree, TString& prefix,
QwParameterFile& trim_file)
override {
throw std::runtime_error(
"QwScanData::ConstructBranch() is not supported"); };
74#ifdef HAS_RNTUPLE_SUPPORT
75 void ConstructNTupleAndVector(std::unique_ptr<ROOT::RNTupleModel>& model, TString& prefix, std::vector<Double_t>& values, std::vector<std::shared_ptr<Double_t>>& fieldPtrs)
override;
76 void FillNTupleVector(std::vector<Double_t>& values)
const override;
Factory pattern implementation for creating analysis objects.
#define REGISTER_SUBSYSTEM_FACTORY(A)
Word-level data manipulation and bit operations.
Virtual base class for parity analysis subsystems.
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.
void PrintErrorCounters() const override
void ProcessEvent() override
void Ratio(VQwSubsystem *numer, VQwSubsystem *denom) override
void ConstructHistograms() override
Construct the histograms for this subsystem.
void FillDB(QwParityDB *, TString) override
Fill the database.
void ConstructBranch(TTree *tree, TString &prefix, QwParameterFile &trim_file) override
Construct the branch and tree vector based on the trim file.
void IncrementErrorCounters() override
Increment the error counters.
void ConstructHistograms(TDirectory *folder, TString &prefix) override
Construct the histograms for this subsystem in a folder with a prefix.
VQwSubsystem & operator+=(VQwSubsystem *value) override
void ConstructBranch(TTree *tree, TString &prefix) override
Construct the branch and tree vector.
void Scale(Double_t factor) override
void CalculateRunningAverage() override
Calculate the average for all good events.
void SetSaveType(TString const &prefix)
void FillDB_MPS(QwParityDB *, TString) override
Fill the database with MPS-based variables Note that most subsystems don't need to do this.
VQwSubsystem & operator=(VQwSubsystem *value) override
Assignment Note: Must be called at the beginning of all subsystems routine call to operator=(VQwSubsy...
UInt_t GetEventcutErrorFlag() override
Return the error flag to the top level routines related to stability checks and ErrorFlag updates.
void ConstructBranchAndVector(TTree *tree, TString &prefix, QwRootTreeBranchVector &values) override
Construct the branch and tree vector.
void FillHistograms() override
Fill the histograms for this subsystem.
Int_t LoadChannelMap(TString mapfile) override
Mandatory map file definition.
Int_t ProcessConfigurationBuffer(const ROCID_t roc_id, const BankID_t bank_id, UInt_t *buffer, UInt_t num_words) override
Bool_t ApplySingleEventCuts() override
Apply the single event cuts.
void FillTreeVector(QwRootTreeBranchVector &values) const override
Fill the tree vector.
void AccumulateRunningSum(VQwSubsystem *value, Int_t count=0, Int_t ErrorMask=0xFFFFFFF) override
Update the running sums for devices.
Int_t LoadInputParameters(TString mapfile) override
Mandatory parameter file definition.
std::vector< QwWord > fWords
void SetCleanDataIndex(Int_t index)
CleanDataIndex fCleanDataIndex
bool SetCleanData(CleanDataVal clean_flag)
void DeaccumulateRunningSum(VQwSubsystem *value, Int_t ErrorMask=0xFFFFFFF) override
remove one entry from the running sums for devices
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...
void ClearEventData() override
bool CheckCleanDataIndex() const
void FillErrDB(QwParityDB *, TString) override
VQwSubsystem & operator-=(VQwSubsystem *value) override
Bool_t CheckForBurpFail(const VQwSubsystem *subsys) override
Report the number of events failed due to HW and event cut failures.
QwScanData(TString const &name)
static char const *const fCleanWordName
bool operator==(CleanDataIndex const &other) const
virtual void LoadEventCuts_Init()
VQwSubsystemParity()
Private default constructor (not implemented, will throw linker error on use)
virtual void LoadEventCuts_Fin(Int_t &)
virtual UInt_t UpdateErrorFlag()
Uses the error flags of contained data elements to update Returns the error flag to the top level rou...
Int_t LoadEventCuts(TString filename) override
Load the event cuts file.
virtual void LoadEventCuts_Line(QwParameterFile &, TString &, Int_t &)