8 #ifndef __QwIntegratedRaster__
9 #define __QwIntegratedRaster__
102 Int_t
ProcessEvBuffer(
const UInt_t roc_id,
const UInt_t bank_id, UInt_t* buffer, UInt_t num_words);
123 void Scale(Double_t factor);
virtual ~QwIntegratedRaster()
Virtual destructor.
void SetRandomEventParameters(Double_t mean, Double_t sigma)
const VQwDataElement * GetChannel(const TString name) const
void PrintValue() const
Print values of all channels.
Bool_t ApplySingleEventCuts()
Apply the single event cuts.
void Scale(Double_t factor)
Int_t ProcessEvBuffer(const UInt_t roc_id, const UInt_t bank_id, UInt_t *buffer, UInt_t num_words)
TODO: The non-event-type-aware ProcessEvBuffer routine should be replaced with the event-type-aware v...
void PrintErrorCounters() const
Report the number of events failed due to HW and event cut failures.
void ConstructBranchAndVector(TTree *tree, TString &prefix, std::vector< Double_t > &values)
Construct the branch and tree vector.
Int_t LoadInputParameters(TString pedestalfile)
Mandatory parameter file definition.
static const Bool_t bDEBUG
void FillHistograms()
Fill the histograms for this subsystem.
void Difference(VQwSubsystem *value1, VQwSubsystem *value2)
Int_t fQwIntegratedRasterErrorCount
void PrintInfo() const
Print some information about the subsystem.
std::vector< QwIntegratedRasterDetectorID > fDetectorIDs
Virtual base class for the parity subsystems.
void FillDB(QwParityDB *db, TString datatype)
Fill the database.
VQwSubsystem & operator+=(VQwSubsystem *value)
void RandomizeEventData(int helicity=0, double time=0.0)
void Ratio(VQwSubsystem *numer, VQwSubsystem *denom)
virtual void ConstructHistograms()
Construct the histograms for this subsystem.
QwIntegratedRaster(const QwIntegratedRaster &source)
Copy constructor.
void FillTreeVector(std::vector< Double_t > &values) const
Fill the tree vector.
void FillErrDB(QwParityDB *db, TString datatype)
The pure virtual base class of all data elements.
Int_t LoadEventCuts(TString filename)
Load the event cuts file.
void SetRandomEventAsymmetry(Double_t asymmetry)
static void DefineOptions()
Define options function (note: no virtual static functions in C++)
void EncodeEventData(std::vector< UInt_t > &buffer)
VQwSubsystem & operator=(VQwSubsystem *value)
Assignment Note: Must be called at the beginning of all subsystems routine call to operator=(VQwSubsy...
QwIntegratedRasterDetectorID()
UInt_t GetEventcutErrorFlag()
Return the error flag to the top level routines related to stability checks and ErrorFlag updates...
void ExchangeProcessedData()
Request processed data from other subsystems for internal use in the second event processing stage...
Int_t LoadChannelMap(TString mapfile)
Mandatory map file definition.
void UpdateErrorFlag(const VQwSubsystem *ev_error)
update the error flag in the subsystem level from the top level routines related to stability checks...
Int_t GetDetectorIndex(TString name)
std::vector< QwIntegratedRasterChannel< QwVQWK_Channel > > fIntegratedRasterChannel
void IncrementErrorCounters()
Increment the error counters.
void PrintDetectorID() const
The pure virtual base class of all subsystems.
void AccumulateRunningSum(VQwSubsystem *value)
Update the running sums for devices.
Bool_t Compare(VQwSubsystem *source)
void WritePromptSummary(QwPromptSummary *ps, TString type)
Int_t ProcessConfigurationBuffer(const UInt_t roc_id, const UInt_t bank_id, UInt_t *buffer, UInt_t num_words)
QwIntegratedRaster()
Private default constructor (not implemented, will throw linker error on use)
void Sum(VQwSubsystem *value1, VQwSubsystem *value2)
void CalculateRunningAverage()
Calculate the average for all good events.
void DeaccumulateRunningSum(VQwSubsystem *value)
remove one entry from the running sums for devices
void ConstructBranch(TTree *tree, TString &prefix)
Construct the branch and tree vector.
VQwSubsystem & operator-=(VQwSubsystem *value)
void ProcessEvent_2()
Process the event data again, including data from other subsystems. Not all derived classes will requ...
void ProcessOptions(QwOptions &options)
Process the command line options.
QwIntegratedRaster(const TString &name)
Constructor with name.