13#ifdef HAS_RNTUPLE_SUPPORT
14#include "ROOT/RNTupleModel.hxx"
15#include "ROOT/RField.hxx"
138 void Scale(Double_t factor)
override;
149#ifdef HAS_RNTUPLE_SUPPORT
151 void ConstructNTupleAndVector(std::unique_ptr<ROOT::RNTupleModel>& model, TString& prefix, std::vector<Double_t>& values, std::vector<std::shared_ptr<Double_t>>& fieldPtrs)
override;
152 void FillNTupleVector(std::vector<Double_t>& values)
const override;
154#ifdef __USE_DATABASE__
155 void FillDB(QwParityDB *db, TString datatype);
156 void FillErrDB(QwParityDB *db, TString datatype);
Basic data types and constants used throughout the Qweak analysis framework.
Virtual base class for parity analysis subsystems.
Integrated raster channel template class for position data.
Command-line and configuration file options processor.
Configuration file parser with flexible tokenization and search capabilities.
A helper class to manage a vector of branch entries for ROOT trees.
The pure virtual base class of all data elements.
virtual void ConstructHistograms()
Construct the histograms for this subsystem.
VQwSubsystem(const TString &name)
Constructor with name.
QwIntegratedRasterDetectorID()
static void DefineOptions(QwOptions &options)
Define options function.
void UpdateErrorFlag(const VQwSubsystem *ev_error) override
update the error flag in the subsystem level from the top level routines related to stability checks....
Int_t fQwIntegratedRasterErrorCount
void ClearEventData() override
static const Bool_t bDEBUG
void PrintInfo() const override
Print some information about the subsystem.
Bool_t ApplySingleEventCuts() override
Apply the single event cuts.
void ProcessOptions(QwOptions &options) override
Process the command line options.
QwIntegratedRaster(const TString &name)
Constructor with name.
Int_t ProcessConfigurationBuffer(const ROCID_t roc_id, const BankID_t bank_id, UInt_t *buffer, UInt_t num_words) override
void ConstructBranchAndVector(TTree *tree, TString &prefix, QwRootTreeBranchVector &values) override
Construct the branch and tree vector.
void FillTreeVector(QwRootTreeBranchVector &values) const override
Fill the tree vector.
VQwSubsystem & operator+=(VQwSubsystem *value) override
VQwSubsystem & operator=(VQwSubsystem *value) override
Assignment Note: Must be called at the beginning of all subsystems routine call to operator=(VQwSubsy...
void ConstructBranch(TTree *tree, TString &prefix) override
Construct the branch and tree vector.
Int_t GetDetectorIndex(TString name)
void SetRandomEventAsymmetry(Double_t asymmetry)
const VQwDataElement * GetChannel(const TString name) const
VQwSubsystem & operator-=(VQwSubsystem *value) override
void IncrementErrorCounters() override
Increment the error counters.
void PrintDetectorID() const
QwIntegratedRaster()
Private default constructor (not implemented, will throw linker error on use)
void RandomizeEventData(int helicity=0, double time=0.0) override
Int_t LoadEventCuts(TString filename) override
Optional event cut file.
QwIntegratedRaster(const QwIntegratedRaster &source)
Copy constructor.
std::vector< QwIntegratedRasterChannel< QwVQWK_Channel > > fIntegratedRasterChannel
void PrintValue() const override
Print values of all channels.
void Ratio(VQwSubsystem *numer, VQwSubsystem *denom) override
void WritePromptSummary(QwPromptSummary *ps, TString type) override
std::vector< QwIntegratedRasterDetectorID > fDetectorIDs
void Sum(VQwSubsystem *value1, VQwSubsystem *value2) override
UInt_t GetEventcutErrorFlag() override
Return the error flag to the top level routines related to stability checks and ErrorFlag updates.
void ProcessEvent() override
void ConstructBranch(TTree *tree, TString &prefix, QwParameterFile &trim_file) override
Construct the branch and tree vector based on the trim file.
~QwIntegratedRaster() override
Virtual destructor.
void CalculateRunningAverage() override
Calculate the average for all good events.
void AccumulateRunningSum(VQwSubsystem *value, Int_t count=0, Int_t ErrorMask=0xFFFFFFF) override
Update the running sums for devices.
Int_t LoadChannelMap(TString mapfile) override
Mandatory map file definition.
Bool_t CheckForBurpFail(const VQwSubsystem *subsys) override
Report the number of events failed due to HW and event cut failures.
void SetRandomEventParameters(Double_t mean, Double_t sigma)
void Scale(Double_t factor) override
void ConstructHistograms(TDirectory *folder, TString &prefix) override
Construct the histograms for this subsystem in a folder with a prefix.
void ProcessEvent_2() override
Process the event data again, including data from other subsystems. Not all derived classes will requ...
Int_t LoadInputParameters(TString pedestalfile) override
Mandatory parameter file definition.
void PrintErrorCounters() const override
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 DeaccumulateRunningSum(VQwSubsystem *value, Int_t ErrorMask=0xFFFFFFF) override
remove one entry from the running sums for devices
void Difference(VQwSubsystem *value1, VQwSubsystem *value2) override
void FillHistograms() override
Fill the histograms for this subsystem.
void EncodeEventData(std::vector< UInt_t > &buffer) override
Bool_t Compare(VQwSubsystem *source)
void ExchangeProcessedData() override
Request processed data from other subsystems for internal use in the second event processing stage....
VQwSubsystemParity()
Private default constructor (not implemented, will throw linker error on use)
virtual void FillDB(QwParityDB *, TString)
Fill the database.
virtual void FillErrDB(QwParityDB *, TString)