|
| QwOmnivore (const TString &name) |
| Constructor with name.
|
|
| QwOmnivore (const QwOmnivore &source) |
| Copy constructor.
|
|
| ~QwOmnivore () override |
| Virtual destructor.
|
|
Int_t | LoadChannelMap (TString mapfile) override |
| Map file definition.
|
|
Int_t | LoadInputParameters (TString mapfile) override |
| Parameter file definition.
|
|
Int_t | LoadGeometryDefinition (TString mapfile) override |
| Geometry definition for tracking subsystems.
|
|
Int_t | LoadEventCuts (TString filename) override |
| Load the event cuts file.
|
|
Bool_t | ApplySingleEventCuts () override |
| Apply the single event cuts.
|
|
Bool_t | CheckForBurpFail (const VQwSubsystem *subsys) override |
|
void | PrintErrorCounters () const override |
| Report the number of events failed due to HW and event cut failures.
|
|
UInt_t | GetEventcutErrorFlag () override |
| Return the error flag to the main routine.
|
|
void | IncrementErrorCounters () override |
| Increment error counters.
|
|
void | UpdateErrorFlag (const VQwSubsystem *) override |
| Update error flag.
|
|
void | ClearEventData () override |
| Get the hit list.
|
|
Int_t | ProcessConfigurationBuffer (const ROCID_t roc_id, const BankID_t bank_id, UInt_t *buffer, UInt_t num_words) override |
| Process the configuration events.
|
|
Int_t | ProcessEvBuffer (const UInt_t event_type, const ROCID_t roc_id, const BankID_t bank_id, UInt_t *buffer, UInt_t num_words) override |
| Process the event buffer.
|
|
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 version.
|
|
void | ProcessEvent () override |
| Process the event.
|
|
VQwSubsystem & | operator= (VQwSubsystem *value) override |
| Assignment/addition/subtraction operators.
|
|
VQwSubsystem & | operator+= (VQwSubsystem *value) override |
|
VQwSubsystem & | operator-= (VQwSubsystem *value) override |
|
void | Sum (VQwSubsystem *value1, VQwSubsystem *value2) override |
| Sum/difference/ratio/scale operations.
|
|
void | Difference (VQwSubsystem *value1, VQwSubsystem *value2) override |
|
void | Ratio (VQwSubsystem *numer, VQwSubsystem *denom) override |
|
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 | FillHistograms () override |
| Fill the histograms for this subsystem.
|
|
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.
|
|
void | ConstructBranch (TTree *, TString &) override |
| Construct branch.
|
|
void | ConstructBranch (TTree *, TString &, QwParameterFile &) override |
| Construct branch.
|
|
void | AccumulateRunningSum (VQwSubsystem *value, Int_t count=0, Int_t ErrorMask=0xFFFFFFF) override |
| Update the running sums for devices.
|
|
void | DeaccumulateRunningSum (VQwSubsystem *value, Int_t ErrorMask=0xFFFFFFF) override |
|
void | CalculateRunningAverage () override |
| Calculate the average for all good events.
|
|
template<class VQwSubsystem_t>
class QwOmnivore< VQwSubsystem_t >
An omnivorous subsystem.
Definition at line 16 of file QwOmnivore.h.
template<class VQwSubsystem_t>
Int_t QwOmnivore< VQwSubsystem_t >::ProcessEvBuffer |
( |
const UInt_t | event_type, |
|
|
const ROCID_t | roc_id, |
|
|
const BankID_t | bank_id, |
|
|
UInt_t * | buffer, |
|
|
UInt_t | num_words ) |
|
inlineoverride |
Process the event buffer.
TODO: Subsystems should be changing their ProcessEvBuffer routines to take the event_type as the first argument. But in the meantime, default to just calling the non-event-type-aware ProcessEvBuffer routine.
Definition at line 76 of file QwOmnivore.h.
76 {
77
78
80 };
Int_t ProcessEvBuffer(const UInt_t event_type, const ROCID_t roc_id, const BankID_t bank_id, UInt_t *buffer, UInt_t num_words) override
Process the event buffer.
References ProcessEvBuffer().
Referenced by ProcessEvBuffer().