99 Int_t
ProcessEvBuffer(
const UInt_t roc_id,
const UInt_t bank_id, UInt_t* buffer, UInt_t num_words);
118 void Scale(Double_t factor);
180 std::vector <std::vector <Double_t> >
fOffset;
181 std::vector <std::vector <Double_t> >
fPhase;
std::vector< std::pair< Int_t, Int_t > > fWordsPerSubbank
std::vector< std::vector< Double_t > > fAmplitude
Int_t GetDetectorIndex(Int_t TypeID, TString name)
void ProcessEvent_2()
Process the event data again, including data from other subsystems. Not all derived classes will requ...
Bool_t ApplySingleEventCuts()
Apply the single event cuts.
void Ratio(VQwSubsystem *numer, VQwSubsystem *denom)
UInt_t fFFB_holdoff_Counter
std::vector< TString > fMonitorNames
static const Int_t fNumberPatterns
void FillErrDB(QwParityDB *db, TString datatype)
void FillHistograms()
Fill the histograms for this subsystem.
void Difference(VQwSubsystem *value1, VQwSubsystem *value2)
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 ProcessConfigurationBuffer(const UInt_t roc_id, const UInt_t bank_id, UInt_t *buffer, UInt_t num_words)
Int_t LoadGeometry(TString mapfile)
virtual ~QwBeamMod()
Virtual destructor.
std::vector< std::vector< Double_t > > fPhaseError
VQwSubsystem & operator-=(VQwSubsystem *value)
Virtual base class for the parity subsystems.
void ResizeOpticsDataContainers(Int_t)
void FillDB_MPS(QwParityDB *db, TString datatype)
Fill the database with MPS-based variables Note that most subsystems don't need to do this...
static const Bool_t bDEBUG
VQwSubsystem & operator+=(VQwSubsystem *value)
void FillDB(QwParityDB *db, TString datatype)
Fill the database.
virtual void ConstructHistograms()
Construct the histograms for this subsystem.
std::vector< QwModChannelID > fModChannelID
void Sum(VQwSubsystem *value1, VQwSubsystem *value2)
std::vector< std::vector< Int_t > > fNFitPoints
UInt_t GetEventcutErrorFlag()
Return the error flag to the top level routines related to stability checks and ErrorFlag updates...
void AccumulateRunningSum(VQwSubsystem *)
Update the running sums for devices.
QwBeamMod(const QwBeamMod &source)
Copy constructor.
Int_t LoadChannelMap(TString mapfile)
Mandatory map file definition.
std::vector< QwWord > fWord
Int_t GetDetectorTypeID(TString name)
void Scale(Double_t factor)
std::vector< QwVQWK_Channel > fModChannel
void DeaccumulateRunningSum(VQwSubsystem *value)
remove one entry from the running sums for devices
Int_t LoadInputParameters(TString pedestalfile)
Mandatory parameter file definition.
std::vector< std::vector< Double_t > > fChisquare
std::vector< QwVQWK_Channel > fMonitors
Int_t LoadEventCuts(TString filename)
Load the event cuts file.
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 ConstructBranch(TTree *tree, TString &prefix, QwParameterFile &trim_file)
Construct the branch and tree vector based on the trim file.
void IncrementErrorCounters()
Increment the error counters.
The pure virtual base class of all subsystems.
void AtEndOfEventLoop()
Perform actions at the end of the event loop.
void WritePromptSummary(QwPromptSummary *ps, TString type)
void ProcessOptions(QwOptions &options)
Process the command line options.
virtual void ConstructBranchAndVector(TTree *tree, TString &prefix, std::vector< Double_t > &values)=0
Construct the branch and tree vector.
void ConstructBranchAndVector(TTree *tree, TString &prefix, std::vector< Double_t > &values)
Construct the branch and tree vector.
std::vector< std::vector< Double_t > > fOffset
QwBeamMod(const TString &name)
Constructor with name.
std::vector< std::vector< Double_t > > fPhase
Double_t GetAmplitudeSign(Double_t, Double_t, Double_t, Double_t)
std::vector< Double_t > fBPMPosition
std::vector< std::vector< Double_t > > fAmplitudeError
void ConstructBranch(TTree *tree, TString &prefix)
Construct the branch and tree vector.
void AnalyzeOpticsPlots()
void FillTreeVector(std::vector< Double_t > &values) const
Fill the tree vector.
std::vector< TString > fgModTypeNames
void ExchangeProcessedData()
Request processed data from other subsystems for internal use in the second event processing stage...
VQwSubsystem & operator=(VQwSubsystem *value)
Assignment Note: Must be called at the beginning of all subsystems routine call to operator=(VQwSubsy...
Bool_t Compare(VQwSubsystem *source)
void CalculateRunningAverage()
Calculate the average for all good events.
std::vector< std::vector< Double_t > > fOffsetError
QwModChannelID(Int_t subbankid, Int_t wordssofar, TString name, TString modtype, QwBeamMod *obj)
void PrintErrorCounters() const
Report the number of events failed due to HW and event cut failures.