|
JAPAn
Just Another Parity Analyzer
|
Subsystem aggregating beamline instruments (BPMs, BCMs, clocks, etc.) More...
#include <QwBeamLine.h>
Inheritance diagram for QwBeamLine:
Collaboration diagram for QwBeamLine:Public Member Functions | |
| QwBeamLine (const TString &name) | |
| Constructor with name. | |
| QwBeamLine (const QwBeamLine &source) | |
| Copy constructor. | |
| ~QwBeamLine () override | |
| Virtual destructor. | |
| void | CopyTemplatedDataElements (const VQwSubsystem *source) |
| void | ProcessOptions (QwOptions &options) override |
| Int_t | LoadChannelMap (TString mapfile) override |
| Int_t | LoadInputParameters (TString pedestalfile) override |
| void | LoadEventCuts_Init () override |
| void | LoadEventCuts_Line (QwParameterFile &mapstr, TString &varvalue, Int_t &eventcut_flag) override |
| void | LoadEventCuts_Fin (Int_t &eventcut_flag) override |
| Int_t | LoadGeometryDefinition (TString mapfile) override |
| void | LoadMockDataParameters (TString mapfile) override |
| void | AssignGeometry (QwParameterFile *mapstr, VQwBPM *bpm) |
| Bool_t | ApplySingleEventCuts () override |
| void | IncrementErrorCounters () override |
| Bool_t | CheckForBurpFail (const VQwSubsystem *subsys) override |
| void | PrintErrorCounters () const override |
| UInt_t | GetEventcutErrorFlag () override |
| UInt_t | UpdateErrorFlag () override |
| void | UpdateErrorFlag (const VQwSubsystem *ev_error) override |
| Int_t | ProcessConfigurationBuffer (const ROCID_t roc_id, const BankID_t bank_id, UInt_t *buffer, UInt_t num_words) override |
| Int_t | ProcessEvBuffer (const ROCID_t roc_id, const BankID_t bank_id, UInt_t *buffer, UInt_t num_words) override |
| Route raw ROC/bank buffer data to the correct devices and subelements. | |
| void | PrintDetectorID () const |
| void | ClearEventData () override |
| void | ProcessEvent () override |
| Bool_t | PublishInternalValues () const override |
| Bool_t | PublishByRequest (TString device_name) override |
| size_t | GetNumberOfElements () |
| void | RandomizeEventData (int helicity=0, double time=0.0) override |
| void | SetRandomEventAsymmetry (Double_t asymmetry) |
| void | EncodeEventData (std::vector< UInt_t > &buffer) override |
| VQwSubsystem & | operator= (VQwSubsystem *value) override |
| Assignment Note: Must be called at the beginning of all subsystems routine call to operator=(VQwSubsystem *value) by VQwSubsystem::operator=(value) | |
| VQwSubsystem & | operator+= (VQwSubsystem *value) override |
| VQwSubsystem & | operator-= (VQwSubsystem *value) override |
| void | Ratio (VQwSubsystem *numer, VQwSubsystem *denom) override |
| void | Scale (Double_t factor) override |
| 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 |
| remove one entry from the running sums for devices | |
| void | CalculateRunningAverage () override |
| Calculate the average for all good events. | |
| 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 | ConstructBranch (TTree *tree, TString &prefix) override |
| Construct the branch and tree vector. | |
| void | ConstructBranch (TTree *tree, TString &prefix, QwParameterFile &trim_file) override |
| Construct the branch and tree vector based on the trim file. | |
| void | FillTreeVector (QwRootTreeBranchVector &values) const override |
| Fill the tree vector. | |
| Bool_t | Compare (VQwSubsystem *source) |
| void | PrintValue () const override |
| Print values of all channels. | |
| void | PrintInfo () const override |
| Print some information about the subsystem. | |
| void | WritePromptSummary (QwPromptSummary *ps, TString type) override |
| VQwDataElement * | GetElement (QwBeamDetectorID det_id) |
| VQwDataElement * | GetElement (EQwBeamInstrumentType TypeID, TString name) |
| VQwDataElement * | GetElement (EQwBeamInstrumentType TypeID, Int_t index) |
| const VQwDataElement * | GetElement (EQwBeamInstrumentType TypeID, Int_t index) const |
| const VQwHardwareChannel * | GetChannel (EQwBeamInstrumentType TypeID, Int_t index, TString device_prop) const |
| VQwBPM * | GetBPMStripline (const TString name) |
| VQwBCM * | GetBCM (const TString name) |
| VQwClock * | GetClock (const TString name) |
| QwBPMCavity * | GetBPMCavity (const TString name) |
| VQwBCM * | GetCombinedBCM (const TString name) |
| VQwBPM * | GetCombinedBPM (const TString name) |
| QwEnergyCalculator * | GetEnergyCalculator (const TString name) |
| QwHaloMonitor * | GetScalerChannel (const TString name) |
| const QwBPMCavity * | GetBPMCavity (const TString name) const |
| const VQwBPM * | GetBPMStripline (const TString name) const |
| const VQwBCM * | GetBCM (const TString name) const |
| const VQwClock * | GetClock (const TString name) const |
| const VQwBCM * | GetCombinedBCM (const TString name) const |
| const VQwBPM * | GetCombinedBPM (const TString name) const |
| const QwEnergyCalculator * | GetEnergyCalculator (const TString name) const |
| const QwHaloMonitor * | GetScalerChannel (const TString name) const |
| virtual void | ConstructHistograms () |
| Construct the histograms for this subsystem. | |
| virtual void | ConstructHistograms (TDirectory *folder) |
| Construct the histograms for this subsystem in a folder. | |
| virtual void | ConstructHistograms (TString &prefix) |
| Construct the histograms for this subsystem with a prefix. | |
| virtual void | ConstructBranchAndVector (TTree *tree, QwRootTreeBranchVector &values) |
| Construct the branch and tree vector. | |
Public Member Functions inherited from VQwSubsystemParity | |
| VQwSubsystemParity (const TString &name) | |
| Constructor with name. | |
| VQwSubsystemParity (const VQwSubsystemParity &source) | |
| Copy constructor. | |
| ~VQwSubsystemParity () override | |
| Default destructor. | |
| virtual void | FillDB_MPS (QwParityDB *, TString) |
| Fill the database with MPS-based variables Note that most subsystems don't need to do this. | |
| virtual void | FillDB (QwParityDB *, TString) |
| Fill the database. | |
| virtual void | FillErrDB (QwParityDB *, TString) |
| virtual void | Sum (VQwSubsystem *value1, VQwSubsystem *value2) |
| virtual void | Difference (VQwSubsystem *value1, VQwSubsystem *value2) |
| Int_t | LoadEventCuts (TString filename) override |
| Load the event cuts file. | |
| virtual void | Blind (const QwBlinder *) |
| Blind the asymmetry of this subsystem. | |
| virtual void | Blind (const QwBlinder *, const VQwSubsystemParity *) |
| Blind the difference of this subsystem. | |
| virtual Bool_t | CheckForEndOfBurst () const |
Public Member Functions inherited from VQwSubsystem | |
| VQwSubsystem (const TString &name) | |
| Constructor with name. | |
| VQwSubsystem (const VQwSubsystem &orig) | |
| Copy constructor by object. | |
| ~VQwSubsystem () override | |
| Default destructor. | |
| TString | GetName () const |
| Bool_t | HasDataLoaded () const |
| VQwSubsystem * | GetSibling (const std::string &name) const |
| Get the sibling with specified name. | |
| virtual std::vector< TString > | GetParamFileNameList () |
| virtual std::map< TString, TString > | GetDetectorMaps () |
| Bool_t | PublishByRequest (TString) override |
| Try to publish an internal variable matching the submitted name. | |
| Bool_t | PublishInternalValues () const override |
| Publish all variables of the subsystem. | |
| virtual Int_t | LoadDetectorMaps (QwParameterFile &file) |
| Parse parameter file to find the map files. | |
| virtual Int_t | LoadCrosstalkDefinition (TString) |
| Optional crosstalk definition. | |
| void | SetEventTypeMask (const UInt_t mask) |
| Set event type mask. | |
| UInt_t | GetEventTypeMask () const |
| Get event type mask. | |
| virtual 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) |
| virtual void | ExchangeProcessedData () |
| Request processed data from other subsystems for internal use in the second event processing stage. Not all derived classes will require data from other subsystems. | |
| virtual void | ProcessEvent_2 () |
| Process the event data again, including data from other subsystems. Not all derived classes will require a second stage of event data processing. | |
| virtual void | AtEndOfEventLoop () |
| Perform actions at the end of the event loop. | |
| virtual void | ConstructObjects () |
| Construct the objects for this subsystem. | |
| virtual void | ConstructObjects (TDirectory *folder) |
| Construct the objects for this subsystem in a folder. | |
| virtual void | ConstructObjects (TString &prefix) |
| Construct the objects for this subsystem with a prefix. | |
| virtual void | ConstructObjects (TDirectory *, TString &) |
| Construct the objects for this subsystem in a folder with a prefix. | |
| virtual void | ConstructTree () |
| Construct the tree for this subsystem. | |
| virtual void | ConstructTree (TDirectory *folder) |
| Construct the tree for this subsystem in a folder. | |
| virtual void | ConstructTree (TString &prefix) |
| Construct the tree for this subsystem with a prefix. | |
| virtual void | ConstructTree (TDirectory *, TString &) |
| Construct the tree for this subsystem in a folder with a prefix. | |
| virtual void | FillTree () |
| Fill the tree for this subsystem. | |
| virtual void | DeleteTree () |
| Delete the tree for this subsystem. | |
| virtual void | PrintDetectorMaps (Bool_t status) const |
| void | GetMarkerWordList (const ROCID_t roc_id, const BankID_t bank_id, std::vector< UInt_t > &marker) const |
| std::vector< ROCID_t > | GetROCIds () const |
Public Member Functions inherited from MQwHistograms | |
| void | ShareHistograms (const MQwHistograms *source) |
| Share histogram pointers between objects. | |
Public Member Functions inherited from MQwPublishable_child< QwSubsystemArray, VQwSubsystem > | |
| MQwPublishable_child () | |
| Default constructor Initializes the child object and sets up self-reference for publishing. | |
| MQwPublishable_child (const MQwPublishable_child &source) | |
| Copy constructor. | |
| virtual | ~MQwPublishable_child () |
| Virtual destructor. | |
| void | SetParent (QwSubsystemArray *parent) |
| Set the parent container for this child object. | |
| QwSubsystemArray * | GetParent () const |
| Get the parent container for this child object. | |
Public Member Functions inherited from MQwCloneable< VQwSubsystem, QwBeamLine > | |
| ~MQwCloneable () override | |
| Virtual destructor. | |
| VQwSubsystem * | Clone () const override |
| Concrete clone method. | |
| const VQwFactory< VQwSubsystem > * | Factory () const override |
| Factory getter. | |
Public Member Functions inherited from VQwCloneable< VQwSubsystem > | |
| virtual | ~VQwCloneable () |
| Virtual destructor. | |
| std::string | GetClassName () const |
| Get demangled name of this class. | |
Protected Member Functions | |
| template<typename TT> | |
| Int_t | AddToElementList (std::vector< TT > &elementlist, QwBeamDetectorID &detector_id) |
| Adds a new element to a vector of data elements, and returns the index of that element within the array. | |
| Int_t | GetDetectorIndex (EQwBeamInstrumentType TypeID, TString name) const |
| template<> | |
| Int_t | AddToElementList (std::vector< VQwClock_ptr > &elementlist, QwBeamDetectorID &detector_id) |
| template<> | |
| Int_t | AddToElementList (std::vector< VQwBCM_ptr > &elementlist, QwBeamDetectorID &detector_id) |
| template<> | |
| Int_t | AddToElementList (std::vector< VQwBPM_ptr > &elementlist, QwBeamDetectorID &detector_id) |
| void | ClearAllBankRegistrations () |
| Clear all registration of ROC and Bank IDs for this subsystem. | |
| virtual Int_t | RegisterROCNumber (const ROCID_t roc_id, const BankID_t bank_id=0) |
| Tell the object that it will decode data from this ROC and sub-bank. | |
| Int_t | RegisterSubbank (const BankID_t bank_id) |
| Tell the object that it will decode data from this sub-bank in the ROC currently open for registration. | |
| Int_t | RegisterMarkerWord (const UInt_t markerword) |
| void | RegisterRocBankMarker (QwParameterFile &mapstr) |
| Int_t | GetSubbankIndex () const |
| Int_t | GetSubbankIndex (const ROCID_t roc_id, const BankID_t bank_id) const |
| void | SetDataLoaded (Bool_t flag) |
| template<class T> | |
| Int_t | FindIndex (const std::vector< T > &myvec, const T value) const |
| Bool_t | Compare (VQwSubsystem *source) |
Protected Member Functions inherited from MQwHistograms | |
| MQwHistograms () | |
| Default constructor. | |
| MQwHistograms (const MQwHistograms &source) | |
| Copy constructor. | |
| virtual | ~MQwHistograms () |
| Virtual destructor. | |
| MQwHistograms & | operator= (const MQwHistograms &value) |
| void | Fill_Pointer (TH1_ptr hist_ptr, Double_t value) |
| void | AddHistogram (TH1 *h) |
| Register a histogram. | |
Protected Member Functions inherited from MQwPublishable_child< QwSubsystemArray, VQwSubsystem > | |
| Bool_t | RequestExternalValue (const TString &name, VQwHardwareChannel *value) const |
| Retrieve the variable name from other subsystem arrays Get the value corresponding to some variable name from a different data array. | |
| const VQwHardwareChannel * | RequestExternalPointer (const TString &name) const |
| Retrieve a pointer to an external variable by name Requests a direct pointer to a variable from sibling subsystems via the parent container. | |
| Bool_t | PublishInternalValue (const TString name, const TString desc, const VQwHardwareChannel *element) const |
| Publish a variable from this child into the parent container. | |
Protected Attributes | |
| std::vector< VQwBPM_ptr > | fStripline |
| std::vector< VQwBPM_ptr > | fBPMCombo |
| std::vector< VQwBCM_ptr > | fBCM |
| std::vector< VQwBCM_ptr > | fBCMCombo |
| std::vector< VQwClock_ptr > | fClock |
| std::vector< QwQPD > | fQPD |
| std::vector< QwLinearDiodeArray > | fLinearArray |
| std::vector< QwBPMCavity > | fCavity |
| std::vector< QwHaloMonitor > | fHaloMonitor |
| std::vector< QwEnergyCalculator > | fECalculator |
| std::vector< QwBeamDetectorID > | fBeamDetectorID |
Protected Attributes inherited from VQwSubsystem | |
| std::vector< std::vector< TString > > | fPublishList |
| TString | fSystemName |
| Name of this subsystem. | |
| UInt_t | fEventTypeMask |
| Mask of event types. | |
| Bool_t | fIsDataLoaded |
| Has this subsystem gotten data to be processed? | |
| std::vector< TString > | fDetectorMapsNames |
| Names of loaded detector map files. | |
| std::map< TString, TString > | fDetectorMaps |
| Map of file name to full path or content. | |
| ROCID_t | fCurrentROC_ID |
| ROC ID that is currently being processed. | |
| BankID_t | fCurrentBank_ID |
| Bank ID (and Marker word) that is currently being processed;. | |
| std::vector< ROCID_t > | fROC_IDs |
| Vector of ROC IDs associated with this subsystem. | |
| std::vector< std::vector< BankID_t > > | fBank_IDs |
| Vector of Bank IDs per ROC ID associated with this subsystem. | |
| std::vector< std::vector< std::vector< UInt_t > > > | fMarkerWords |
| Vector of marker words per ROC & subbank associated with this subsystem. | |
Protected Attributes inherited from MQwHistograms | |
| std::vector< TH1_ptr > | fHistograms |
| Histograms associated with this data element. | |
Private Member Functions | |
| QwBeamLine () | |
| Private default constructor (not implemented, will throw linker error on use) | |
Private Attributes | |
| Int_t | fQwBeamLineErrorCount |
Static Private Attributes | |
| static const Bool_t | bDEBUG =kFALSE |
Additional Inherited Members | |
Static Public Member Functions inherited from VQwSubsystem | |
| static void | DefineOptions () |
| Define options function (note: no virtual static functions in C++) | |
Static Public Member Functions inherited from MQwCloneable< VQwSubsystem, QwBeamLine > | |
| static VQwSubsystem * | Create (const std::string &name) |
| Object creation. | |
| static QwBeamLine * | Cast (QwBeamLine *type) |
| Object dynamic cast. | |
Subsystem aggregating beamline instruments (BPMs, BCMs, clocks, etc.)
QwBeamLine owns and orchestrates multiple beam monitoring devices and provides a unified subsystem interface for map loading, event decoding, event processing, cuts, error propagation, histogram/tree output, and publishing. It supports combinations (e.g., combined BPM/BCM), mock-data generation, and stability/burp checks at the subsystem level.
Definition at line 43 of file QwBeamLine.h.
|
private |
Private default constructor (not implemented, will throw linker error on use)
Referenced by AccumulateRunningSum(), CheckForBurpFail(), Compare(), CopyTemplatedDataElements(), DeaccumulateRunningSum(), GetBCM(), GetBPMCavity(), GetBPMStripline(), GetClock(), GetCombinedBCM(), GetCombinedBPM(), GetElement(), GetEnergyCalculator(), GetScalerChannel(), operator+=(), operator-=(), operator=(), QwBeamLine(), Ratio(), and UpdateErrorFlag().
Here is the caller graph for this function:
|
inline |
Constructor with name.
Definition at line 51 of file QwBeamLine.h.
References VQwSubsystem::VQwSubsystem(), and VQwSubsystemParity::VQwSubsystemParity().
Here is the call graph for this function:
|
inline |
Copy constructor.
Definition at line 55 of file QwBeamLine.h.
References CopyTemplatedDataElements(), fBeamDetectorID, fCavity, fECalculator, fHaloMonitor, fLinearArray, fQPD, QwBeamLine(), VQwSubsystem::VQwSubsystem(), and VQwSubsystemParity::VQwSubsystemParity().
Here is the call graph for this function:
|
inlineoverride |
|
overridevirtual |
Update the running sums for devices.
Implements VQwSubsystemParity.
Definition at line 2356 of file QwBeamLine.cc.
References AccumulateRunningSum(), Compare(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, QwBeamLine(), and VQwSubsystem::VQwSubsystem().
Referenced by AccumulateRunningSum().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Adds a new element to a vector of data elements, and returns the index of that element within the array.
Definition at line 92 of file QwBeamLine.cc.
References QwBeamDetectorID::fdetectorname, QwBeamDetectorID::fIndex, and VQwSubsystem::GetName().
Referenced by LoadChannelMap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 61 of file QwBeamLine.cc.
References VQwBCM::Create(), QwBeamDetectorID::fdetectorname, QwBeamDetectorID::fIndex, QwBeamDetectorID::fmoduletype, QwBeamDetectorID::fTypeID, VQwSubsystem::GetName(), and kQwBCM.
Here is the call graph for this function:
|
protected |
Definition at line 76 of file QwBeamLine.cc.
References VQwBPM::CreateStripline(), QwBeamDetectorID::fdetectorname, QwBeamDetectorID::fIndex, QwBeamDetectorID::fmoduletype, QwBeamDetectorID::fTypeID, VQwSubsystem::GetName(), and kQwBPMStripline.
Here is the call graph for this function:
|
protected |
Definition at line 46 of file QwBeamLine.cc.
References VQwClock::Create(), QwBeamDetectorID::fdetectorname, QwBeamDetectorID::fIndex, QwBeamDetectorID::fmoduletype, QwBeamDetectorID::fTypeID, VQwSubsystem::GetName(), and kQwClock.
Here is the call graph for this function:
|
overridevirtual |
Apply single-event cuts to all devices and count failures.
Implements VQwSubsystemParity.
Definition at line 1290 of file QwBeamLine.cc.
References bDEBUG, fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fQwBeamLineErrorCount, and fStripline.
| void QwBeamLine::AssignGeometry | ( | QwParameterFile * | mapstr, |
| VQwBPM * | bpm ) |
Parse rotation and gain tokens for a BPM and apply to the instance.
Definition at line 796 of file QwBeamLine.cc.
References QwParameterFile::GetTypedNextToken(), VQwBPM::SetGains(), VQwBPM::SetRotation(), and VQwBPM::SetRotationOff().
Referenced by LoadGeometryDefinition().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Calculate the average for all good events.
Implements VQwSubsystemParity.
Definition at line 2314 of file QwBeamLine.cc.
References CalculateRunningAverage(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, and fStripline.
Referenced by CalculateRunningAverage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Polymorphic per-device burp/burst check vs. a reference subsystem.
Implements VQwSubsystemParity.
Definition at line 1366 of file QwBeamLine.cc.
References CheckForBurpFail(), Compare(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, QwBeamLine(), and VQwSubsystem::VQwSubsystem().
Referenced by CheckForBurpFail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Clear current-event state for all managed devices.
Implements VQwSubsystem.
Definition at line 1781 of file QwBeamLine.cc.
References ClearEventData(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, and fStripline.
Referenced by ClearEventData().
Here is the call graph for this function:
Here is the caller graph for this function:| Bool_t QwBeamLine::Compare | ( | VQwSubsystem * | source | ) |
Definition at line 2414 of file QwBeamLine.cc.
References fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, QwBeamLine(), and VQwSubsystem::VQwSubsystem().
Referenced by AccumulateRunningSum(), CheckForBurpFail(), DeaccumulateRunningSum(), operator+=(), operator-=(), operator=(), Ratio(), and UpdateErrorFlag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Construct the branch and tree vector.
Construct the branches for this subsystem.
| tree | Output ROOT tree. |
| prefix | Name prefix for all branch names. |
Implements VQwSubsystem.
Definition at line 2559 of file QwBeamLine.cc.
References ConstructBranch(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, and fStripline.
Referenced by ConstructBranch(), and ConstructBranch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Construct the branch and tree vector based on the trim file.
Construct the branches for this subsystem using a trim file.
| tree | Output ROOT tree. |
| prefix | Name prefix for all branch names. |
| trim_file | Trim file describing which branches to construct. |
Implements VQwSubsystem.
Definition at line 2587 of file QwBeamLine.cc.
References ConstructBranch(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, QwParameterFile::FileHasModuleHeader(), fLinearArray, fQPD, fStripline, QwParameterFile::ReadUntilNextModule(), and QwParameterFile::RewindToFileStart().
Here is the call graph for this function:
|
inlinevirtual |
Construct the branch and tree vector.
Reimplemented from VQwSubsystem.
Definition at line 303 of file VQwSubsystem.h.
|
overridevirtual |
Construct the branch and tree vector.
Construct the branch and fill the provided values vector.
| tree | Output ROOT tree to which branches are added. |
| prefix | Name prefix for all branch names. |
| values | Vector that will be filled by FillTreeVector. |
Implements VQwSubsystem.
Definition at line 2531 of file QwBeamLine.cc.
References ConstructBranchAndVector(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, and fStripline.
Referenced by ConstructBranchAndVector().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Construct the histograms for this subsystem.
Reimplemented from VQwSubsystem.
Definition at line 270 of file VQwSubsystem.h.
Referenced by ConstructHistograms().
Here is the caller graph for this function:
|
inlinevirtual |
Construct the histograms for this subsystem in a folder.
Reimplemented from VQwSubsystem.
Definition at line 275 of file VQwSubsystem.h.
|
overridevirtual |
Construct the histograms for this subsystem in a folder with a prefix.
Implements VQwSubsystem.
Definition at line 2466 of file QwBeamLine.cc.
References ConstructHistograms(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, and fStripline.
Here is the call graph for this function:
|
inlinevirtual |
Construct the histograms for this subsystem with a prefix.
Reimplemented from VQwSubsystem.
Definition at line 280 of file VQwSubsystem.h.
| void QwBeamLine::CopyTemplatedDataElements | ( | const VQwSubsystem * | source | ) |
Definition at line 2802 of file QwBeamLine.cc.
References VQwBCM::Create(), VQwClock::Create(), VQwBCM::CreateCombo(), VQwBPM::CreateCombo(), VQwBPM::CreateStripline(), fBCM, fBCMCombo, fBPMCombo, fClock, fStripline, QwBeamLine(), and VQwSubsystem::VQwSubsystem().
Referenced by QwBeamLine().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
remove one entry from the running sums for devices
Implements VQwSubsystemParity.
Definition at line 2386 of file QwBeamLine.cc.
References Compare(), DeaccumulateRunningSum(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, QwBeamLine(), and VQwSubsystem::VQwSubsystem().
Referenced by DeaccumulateRunningSum().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Serialize active element buffers into a CODA-style bank/subbank layout and append to the provided buffer.
Reimplemented from VQwSubsystem.
Definition at line 1073 of file QwBeamLine.cc.
References fBCM, fBeamDetectorID, VQwSubsystem::fCurrentBank_ID, VQwSubsystem::fCurrentROC_ID, fStripline, kQwBCM, and kQwBPMStripline.
|
overridevirtual |
Fill the histograms for this subsystem.
Implements VQwSubsystem.
Definition at line 2503 of file QwBeamLine.cc.
References fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, FillHistograms(), fLinearArray, fQPD, and fStripline.
Referenced by FillHistograms().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Fill the tree vector.
Fill the tree export vector with the current event values.
| values | Output vector to be filled. |
Implements VQwSubsystem.
Definition at line 2683 of file QwBeamLine.cc.
References fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, FillTreeVector(), fLinearArray, fQPD, and fStripline.
Referenced by FillTreeVector().
Here is the call graph for this function:
Here is the caller graph for this function:| VQwBCM * QwBeamLine::GetBCM | ( | const TString | name | ) |
Find a BCM by name.
Definition at line 1976 of file QwBeamLine.cc.
References fBCM.
Referenced by GetBCM(), and RandomizeEventData().
Here is the caller graph for this function:| const VQwBCM * QwBeamLine::GetBCM | ( | const TString | name | ) | const |
Definition at line 2091 of file QwBeamLine.cc.
References GetBCM(), and QwBeamLine().
Here is the call graph for this function:| QwBPMCavity * QwBeamLine::GetBPMCavity | ( | const TString | name | ) |
Find a BPM Cavity by name.
Definition at line 1961 of file QwBeamLine.cc.
References fCavity.
Referenced by GetBPMCavity().
Here is the caller graph for this function:| const QwBPMCavity * QwBeamLine::GetBPMCavity | ( | const TString | name | ) | const |
Definition at line 2085 of file QwBeamLine.cc.
References GetBPMCavity(), and QwBeamLine().
Here is the call graph for this function:| VQwBPM * QwBeamLine::GetBPMStripline | ( | const TString | name | ) |
Find a BPMStripline by name.
Definition at line 1946 of file QwBeamLine.cc.
References fStripline.
Referenced by GetBPMStripline(), and RandomizeEventData().
Here is the caller graph for this function:| const VQwBPM * QwBeamLine::GetBPMStripline | ( | const TString | name | ) | const |
Const overload: find a BPMStripline by name.
Definition at line 2065 of file QwBeamLine.cc.
References GetBPMStripline(), and QwBeamLine().
Here is the call graph for this function:| const VQwHardwareChannel * QwBeamLine::GetChannel | ( | EQwBeamInstrumentType | TypeID, |
| Int_t | index, | ||
| TString | device_prop ) const |
Retrieve a hardware channel (value/x/y/ef/xp/yp) from a specific device.
TODO: QwBeamLine::GetChannel How do we access linear array channel outputs?
Definition at line 1899 of file QwBeamLine.cc.
References fBPMCombo, fClock, fECalculator, fHaloMonitor, VQwBPM::GetEffectiveCharge(), GetElement(), VQwSubsystem::GetName(), VQwBPM::GetPosition(), GetQwBeamInstrumentTypeName(), kQwBCM, kQwBPMCavity, kQwBPMStripline, kQwClock, kQwCombinedBCM, kQwCombinedBPM, kQwEnergyCalculator, kQwHaloMonitor, kQwLinearArray, kQwQPD, VQwBPM::kXAxis, and VQwBPM::kYAxis.
Referenced by PublishByRequest(), PublishInternalValues(), and WritePromptSummary().
Here is the call graph for this function:
Here is the caller graph for this function:| VQwClock * QwBeamLine::GetClock | ( | const TString | name | ) |
Find a Clock by name.
Definition at line 1995 of file QwBeamLine.cc.
References fClock.
Referenced by GetClock().
Here is the caller graph for this function:| const VQwClock * QwBeamLine::GetClock | ( | const TString | name | ) | const |
Definition at line 2097 of file QwBeamLine.cc.
References GetClock(), and QwBeamLine().
Here is the call graph for this function:| VQwBCM * QwBeamLine::GetCombinedBCM | ( | const TString | name | ) |
Find a CombinedBCM by name.
Definition at line 2013 of file QwBeamLine.cc.
References fBCMCombo.
Referenced by GetCombinedBCM().
Here is the caller graph for this function:| const VQwBCM * QwBeamLine::GetCombinedBCM | ( | const TString | name | ) | const |
Definition at line 2103 of file QwBeamLine.cc.
References GetCombinedBCM(), and QwBeamLine().
Here is the call graph for this function:| VQwBPM * QwBeamLine::GetCombinedBPM | ( | const TString | name | ) |
Find a CombinedBPM by name.
Definition at line 2031 of file QwBeamLine.cc.
References fBPMCombo.
Referenced by GetCombinedBPM().
Here is the caller graph for this function:| const VQwBPM * QwBeamLine::GetCombinedBPM | ( | const TString | name | ) | const |
Definition at line 2108 of file QwBeamLine.cc.
References GetCombinedBPM(), and QwBeamLine().
Here is the call graph for this function:
|
protected |
Lookup the element index for a given device type and name.
Definition at line 1809 of file QwBeamLine.cc.
References fBeamDetectorID.
Referenced by GetElement(), LoadChannelMap(), LoadEventCuts_Line(), LoadGeometryDefinition(), LoadMockDataParameters(), and PublishInternalValues().
Here is the caller graph for this function:| VQwDataElement * QwBeamLine::GetElement | ( | EQwBeamInstrumentType | TypeID, |
| Int_t | index ) |
Retrieve a data element pointer by type and index with dispatch.
Definition at line 1846 of file QwBeamLine.cc.
References fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, VQwSubsystem::GetName(), GetQwBeamInstrumentTypeName(), kQwBCM, kQwBPMCavity, kQwBPMStripline, kQwClock, kQwCombinedBCM, kQwCombinedBPM, kQwEnergyCalculator, kQwHaloMonitor, kQwLinearArray, and kQwQPD.
Here is the call graph for this function:| const VQwDataElement * QwBeamLine::GetElement | ( | EQwBeamInstrumentType | TypeID, |
| Int_t | index ) const |
Const overload: retrieve a data element by type and index.
Definition at line 1891 of file QwBeamLine.cc.
References GetElement(), and QwBeamLine().
Here is the call graph for this function:| VQwDataElement * QwBeamLine::GetElement | ( | EQwBeamInstrumentType | TypeID, |
| TString | name ) |
Overload: retrieve a data element by type and name.
Definition at line 1839 of file QwBeamLine.cc.
References GetDetectorIndex(), and GetElement().
Here is the call graph for this function:| VQwDataElement * QwBeamLine::GetElement | ( | QwBeamDetectorID | det_id | ) |
Overload: retrieve a data element by detector ID.
Definition at line 1833 of file QwBeamLine.cc.
References QwBeamDetectorID::fIndex, QwBeamDetectorID::fTypeID, and GetElement().
Referenced by GetChannel(), GetElement(), GetElement(), GetElement(), LoadChannelMap(), and LoadMockDataParameters().
Here is the call graph for this function:
Here is the caller graph for this function:| QwEnergyCalculator * QwBeamLine::GetEnergyCalculator | ( | const TString | name | ) |
Find an EnergyCalculator by name.
Definition at line 2049 of file QwBeamLine.cc.
References fECalculator.
Referenced by GetEnergyCalculator().
Here is the caller graph for this function:| const QwEnergyCalculator * QwBeamLine::GetEnergyCalculator | ( | const TString | name | ) | const |
Definition at line 2113 of file QwBeamLine.cc.
References GetEnergyCalculator(), and QwBeamLine().
Here is the call graph for this function:
|
overridevirtual |
Return the OR of per-device event-cut error flags.
Implements VQwSubsystemParity.
Definition at line 1504 of file QwBeamLine.cc.
References fBCM, fBCMCombo, fBPMCombo, fCavity, fECalculator, fLinearArray, fQPD, and fStripline.
| size_t QwBeamLine::GetNumberOfElements | ( | ) |
| QwHaloMonitor * QwBeamLine::GetScalerChannel | ( | const TString | name | ) |
Definition at line 2070 of file QwBeamLine.cc.
References fHaloMonitor.
Referenced by GetScalerChannel().
Here is the caller graph for this function:| const QwHaloMonitor * QwBeamLine::GetScalerChannel | ( | const TString | name | ) | const |
Definition at line 2118 of file QwBeamLine.cc.
References GetScalerChannel(), and QwBeamLine().
Here is the call graph for this function:
|
overridevirtual |
Increment error counters across all managed devices.
Implements VQwSubsystemParity.
Definition at line 1468 of file QwBeamLine.cc.
References fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, and fStripline.
|
overridevirtual |
Load and decode the beamline channel map, creating physical and combined devices, recording detector IDs, and wiring publish lists and clocks.
| mapfile | Path to the map file. |
Implements VQwSubsystem.
Definition at line 111 of file QwBeamLine.cc.
References QwParameterFile::AddBreakpointKeyword(), AddToElementList(), QwParameterFile::Close(), VQwBCM::CreateCombo(), VQwBPM::CreateCombo(), QwParameterFile::EnableGreediness(), QwLog::endl(), fBCM, fBCMCombo, fBeamDetectorID, fBPMCombo, fCavity, fClock, VQwSubsystem::fCurrentBank_ID, VQwSubsystem::fCurrentROC_ID, VQwSubsystem::fDetectorMaps, QwBeamDetectorID::fdetectorname, fECalculator, fHaloMonitor, QwBeamDetectorID::fIndex, fLinearArray, QwBeamDetectorID::fmoduletype, VQwSubsystem::fPublishList, fQPD, fStripline, QwBeamDetectorID::fTypeID, GetDetectorIndex(), GetElement(), VQwDataElement::GetElementName(), VQwDataElement::GetExternalClockName(), VQwSubsystem::GetName(), QwParameterFile::GetParamFileNameContents(), GetQwBeamInstrumentType(), VQwSubsystem::GetSubbankIndex(), QwParameterFile::GetTypedNextToken(), QwParameterFile::HasVariablePair(), kQwBCM, kQwBPMCavity, kQwBPMStripline, kQwClock, kQwCombinedBCM, kQwCombinedBPM, kQwEnergyCalculator, kQwHaloMonitor, kQwLinearArray, kQwQPD, kQwUnknownDeviceType, VQwDataElement::LoadChannelParameters(), VQwDataElement::NeedsExternalClock(), QwParameterFile::PopValue(), QwDebug, QwError, QwMessage, QwWarning, QwParameterFile::ReadNextLine(), QwParameterFile::ReadNextSection(), VQwSubsystem::RegisterRocBankMarker(), QwBeamDetectorID::ReportInitErrors(), QwParameterFile::ReturnValue(), QwParameterFile::RewindToFileStart(), QwParameterFile::SetCommentChars(), VQwDataElement::SetExternalClockPtr(), and QwParameterFile::SkipSection().
Here is the call graph for this function:
|
overridevirtual |
Apply the event-cut mode bitmask to all managed devices.
Reimplemented from VQwSubsystemParity.
Definition at line 527 of file QwBeamLine.cc.
References fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fQwBeamLineErrorCount, and fStripline.
|
inlineoverridevirtual |
|
overridevirtual |
Decode a single event-cuts line for devices and subchannels, routing the resulting thresholds and error flags to the proper element.
Reimplemented from VQwSubsystemParity.
Definition at line 450 of file QwBeamLine.cc.
References QwLog::endl(), fBCM, fBCMCombo, fBPMCombo, fCavity, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, GetDetectorIndex(), GetGlobalErrorFlag(), GetQwBeamInstrumentType(), GetQwBeamInstrumentTypeName(), QwParameterFile::GetTypedNextToken(), kQwBCM, kQwBPMCavity, kQwBPMStripline, kQwCombinedBCM, kQwCombinedBPM, kQwEnergyCalculator, kQwHaloMonitor, kQwLinearArray, kQwQPD, QwMessage, and QwWarning.
Here is the call graph for this function:
|
overridevirtual |
Load geometry and electronics calibration parameters from a map file and apply them to the proper devices (offsets, rotation, gains).
Reimplemented from VQwSubsystem.
Definition at line 566 of file QwBeamLine.cc.
References AssignGeometry(), QwParameterFile::Close(), QwLog::endl(), fBPMCombo, fCavity, VQwSubsystem::fDetectorMaps, fQPD, fStripline, GetDetectorIndex(), VQwBPM::GetElectronicFactors(), QwParameterFile::GetParamFileNameContents(), GetQwBeamInstrumentType(), VQwBPM::GetSurveyOffsets(), QwParameterFile::GetTypedNextToken(), kQwBPMCavity, kQwBPMStripline, kQwCombinedBPM, kQwQPD, kQwUnknownDeviceType, QwParameterFile::LineIsEmpty(), QwError, QwWarning, QwParameterFile::ReadNextLine(), QwParameterFile::TrimComment(), and QwParameterFile::TrimWhitespace().
Here is the call graph for this function:
|
overridevirtual |
Load pedestals and calibration factors per subelement/device.
| pedestalfile | Path to the input parameter file. |
Implements VQwSubsystem.
Definition at line 847 of file QwBeamLine.cc.
References QwParameterFile::Close(), fBCM, fCavity, fClock, VQwSubsystem::fDetectorMaps, fHaloMonitor, fLinearArray, fQPD, fStripline, QwParameterFile::GetParamFileNameContents(), QwParameterFile::GetTypedNextToken(), QwBPMCavity::kNumElements, QwParameterFile::LineIsEmpty(), QwParameterFile::ReadNextLine(), QwParameterFile::TrimComment(), and QwParameterFile::TrimWhitespace().
Here is the call graph for this function:
|
overridevirtual |
Load per-device mock-data generation parameters from a file.
Reimplemented from VQwSubsystemParity.
Definition at line 747 of file QwBeamLine.cc.
References QwLog::endl(), VQwSubsystem::fDetectorMaps, GetDetectorIndex(), GetElement(), QwParameterFile::GetParamFileNameContents(), GetQwBeamInstrumentType(), QwParameterFile::GetTypedNextToken(), kQwUnknownDeviceType, QwParameterFile::LineIsEmpty(), VQwDataElement::LoadMockDataParameters(), QwError, QwWarning, QwParameterFile::ReadNextLine(), QwParameterFile::TrimComment(), and QwParameterFile::TrimWhitespace().
Here is the call graph for this function:
|
overridevirtual |
Implements VQwSubsystemParity.
Definition at line 2170 of file QwBeamLine.cc.
References Compare(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, VQwSubsystem::fPublishList, fQPD, fStripline, QwBeamLine(), and VQwSubsystem::VQwSubsystem().
Here is the call graph for this function:
|
overridevirtual |
Implements VQwSubsystemParity.
Definition at line 2213 of file QwBeamLine.cc.
References Compare(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, VQwSubsystem::fPublishList, fQPD, fStripline, QwBeamLine(), and VQwSubsystem::VQwSubsystem().
Here is the call graph for this function:
|
overridevirtual |
Assignment Note: Must be called at the beginning of all subsystems routine call to operator=(VQwSubsystem *value) by VQwSubsystem::operator=(value)
Implements VQwSubsystemParity.
Definition at line 2124 of file QwBeamLine.cc.
References Compare(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, VQwSubsystem::fPublishList, fQPD, fStripline, VQwSubsystem::operator=(), QwBeamLine(), and VQwSubsystem::VQwSubsystem().
Here is the call graph for this function:| void QwBeamLine::PrintDetectorID | ( | ) | const |
Definition at line 2788 of file QwBeamLine.cc.
References fBeamDetectorID.
|
overridevirtual |
Print a beamline-wide summary of persistent error counters.
Implements VQwSubsystemParity.
Definition at line 1419 of file QwBeamLine.cc.
References QwLog::endl(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, QwVQWK_Channel::PrintErrorCounterHead(), QwVQWK_Channel::PrintErrorCounterTail(), and QwMessage.
Here is the call graph for this function:
|
overridevirtual |
Print some information about the subsystem.
Print some information about the subsystem (name, ROCs/banks, parent).
Reimplemented from VQwSubsystem.
Definition at line 2765 of file QwBeamLine.cc.
References fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, VQwSubsystem::fSystemName, and PrintInfo().
Referenced by PrintInfo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Print values of all channels.
Reimplemented from VQwSubsystemParity.
Definition at line 2329 of file QwBeamLine.cc.
References QwLog::endl(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, VQwSubsystem::GetName(), PrintValue(), and QwMessage.
Referenced by PrintValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Handle configuration banks if present. Placeholder for future use.
Implements VQwSubsystem.
Definition at line 1662 of file QwBeamLine.cc.
|
overridevirtual |
Route raw ROC/bank buffer data to the correct devices and subelements.
Route a raw ROC/bank buffer to the correct devices and subelements.
| roc_id | ReadOut Controller identifier. |
| bank_id | Data bank identifier within the ROC. |
| buffer | Pointer to raw data buffer from DAQ. |
| num_words | Number of 32-bit words in the buffer. |
This is a critical event processing function (~130 lines) that routes raw data from the data acquisition system to the appropriate beam line devices. It:
Each device receives a pointer to its specific data section within the buffer, calculated using the device's fWordInSubbank offset. The remaining word count is passed to prevent buffer overruns during device-specific decoding.
Buffer Layout Handling:
Error Conditions:
Implements VQwSubsystem.
Definition at line 1165 of file QwBeamLine.cc.
References fBCM, fBeamDetectorID, fCavity, fClock, fHaloMonitor, fLinearArray, fQPD, fStripline, VQwSubsystem::GetSubbankIndex(), kQwBCM, kQwBPMCavity, kQwBPMStripline, kQwClock, kQwHaloMonitor, kQwLinearArray, kQwQPD, and ProcessEvBuffer().
Referenced by ProcessEvBuffer().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Process one physics event: clocks first, then all devices.
Implements VQwSubsystem.
Definition at line 1615 of file QwBeamLine.cc.
References fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, and ProcessEvent().
Referenced by ProcessEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Parse and handle beamline-specific command-line options.
Reimplemented from VQwSubsystem.
Definition at line 40 of file QwBeamLine.cc.
|
overridevirtual |
Publish a device channel on-demand by inferred property suffix.
Implements MQwPublishable_child< QwSubsystemArray, VQwSubsystem >.
Definition at line 1722 of file QwBeamLine.cc.
References fBeamDetectorID, VQwSubsystem::fPublishList, GetChannel(), GetQwBeamInstrumentTypeName(), and MQwPublishable_child< QwSubsystemArray, VQwSubsystem >::PublishInternalValue().
Here is the call graph for this function:
|
overridevirtual |
Publish selected device channels according to the map file.
Implements MQwPublishable_child< QwSubsystemArray, VQwSubsystem >.
Definition at line 1670 of file QwBeamLine.cc.
References QwLog::endl(), VQwSubsystem::fPublishList, GetChannel(), GetDetectorIndex(), GetQwBeamInstrumentType(), kQwCombinedBCM, kQwCombinedBPM, kQwEnergyCalculator, kQwHaloMonitor, kQwUnknownDeviceType, MQwPublishable_child< QwSubsystemArray, VQwSubsystem >::PublishInternalValue(), QwDebug, and QwError.
Here is the call graph for this function:
|
overridevirtual |
Randomize event data for all managed devices for mock runs.
Reimplemented from VQwSubsystem.
Definition at line 999 of file QwBeamLine.cc.
References fBCM, fBCMCombo, fBPMCombo, fCavity, fECalculator, fStripline, GetBCM(), GetBPMStripline(), GetNumberOfElements(), and RandomizeEventData().
Referenced by RandomizeEventData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements VQwSubsystemParity.
Definition at line 2256 of file QwBeamLine.cc.
References Compare(), fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, QwBeamLine(), Ratio(), and VQwSubsystem::VQwSubsystem().
Referenced by Ratio().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements VQwSubsystemParity.
Definition at line 2298 of file QwBeamLine.cc.
References fBCM, fBCMCombo, fBPMCombo, fCavity, fClock, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, and Scale().
Referenced by Scale().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwBeamLine::SetRandomEventAsymmetry | ( | Double_t | asymmetry | ) |
References VQwSubsystem::ConstructBranchAndVector(), VQwSubsystem::ConstructHistograms(), and VQwSubsystem::VQwSubsystem().
Here is the call graph for this function:
|
overridevirtual |
Update and return the OR of per-device event-cut error flags.
Reimplemented from VQwSubsystemParity.
Definition at line 1540 of file QwBeamLine.cc.
References fBCM, fBCMCombo, fBPMCombo, fCavity, fECalculator, fLinearArray, fQPD, and fStripline.
|
overridevirtual |
Copy error flags from a reference beamline into this instance.
Implements VQwSubsystemParity.
Definition at line 1576 of file QwBeamLine.cc.
References Compare(), fBCM, fBCMCombo, fBPMCombo, fCavity, fECalculator, fHaloMonitor, fLinearArray, fQPD, fStripline, QwBeamLine(), and VQwSubsystem::VQwSubsystem().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from VQwSubsystemParity.
Definition at line 3223 of file QwBeamLine.cc.
References QwPromptSummary::AddElement(), fBCM, fBCMCombo, fBPMCombo, fCavity, fStripline, GetChannel(), QwPromptSummary::GetElementByName(), VQwDataElement::GetElementName(), VQwHardwareChannel::GetValue(), VQwHardwareChannel::GetValueError(), VQwHardwareChannel::GetValueWidth(), kQwBCM, kQwBPMCavity, kQwBPMStripline, kQwCombinedBCM, kQwCombinedBPM, and PromptSummaryElement::Set().
Here is the call graph for this function:
|
staticprivate |
Definition at line 214 of file QwBeamLine.h.
Referenced by ApplySingleEventCuts().
|
protected |
Definition at line 192 of file QwBeamLine.h.
Referenced by AccumulateRunningSum(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), Compare(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), CopyTemplatedDataElements(), DeaccumulateRunningSum(), EncodeEventData(), FillHistograms(), FillTreeVector(), GetBCM(), GetElement(), GetEventcutErrorFlag(), IncrementErrorCounters(), LoadChannelMap(), LoadEventCuts_Fin(), LoadEventCuts_Line(), LoadInputParameters(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), PrintValue(), ProcessEvBuffer(), ProcessEvent(), RandomizeEventData(), Ratio(), Scale(), UpdateErrorFlag(), UpdateErrorFlag(), and WritePromptSummary().
|
protected |
Definition at line 193 of file QwBeamLine.h.
Referenced by AccumulateRunningSum(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), Compare(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), CopyTemplatedDataElements(), DeaccumulateRunningSum(), FillHistograms(), FillTreeVector(), GetCombinedBCM(), GetElement(), GetEventcutErrorFlag(), IncrementErrorCounters(), LoadChannelMap(), LoadEventCuts_Fin(), LoadEventCuts_Line(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), PrintValue(), ProcessEvent(), RandomizeEventData(), Ratio(), Scale(), UpdateErrorFlag(), UpdateErrorFlag(), and WritePromptSummary().
|
protected |
Definition at line 204 of file QwBeamLine.h.
Referenced by EncodeEventData(), GetDetectorIndex(), LoadChannelMap(), PrintDetectorID(), ProcessEvBuffer(), PublishByRequest(), and QwBeamLine().
|
protected |
Definition at line 190 of file QwBeamLine.h.
Referenced by AccumulateRunningSum(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), Compare(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), CopyTemplatedDataElements(), DeaccumulateRunningSum(), FillHistograms(), FillTreeVector(), GetChannel(), GetCombinedBPM(), GetElement(), GetEventcutErrorFlag(), IncrementErrorCounters(), LoadChannelMap(), LoadEventCuts_Fin(), LoadEventCuts_Line(), LoadGeometryDefinition(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), PrintValue(), ProcessEvent(), RandomizeEventData(), Ratio(), Scale(), UpdateErrorFlag(), UpdateErrorFlag(), and WritePromptSummary().
|
protected |
Definition at line 199 of file QwBeamLine.h.
Referenced by AccumulateRunningSum(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), Compare(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), DeaccumulateRunningSum(), FillHistograms(), FillTreeVector(), GetBPMCavity(), GetElement(), GetEventcutErrorFlag(), IncrementErrorCounters(), LoadChannelMap(), LoadEventCuts_Fin(), LoadEventCuts_Line(), LoadGeometryDefinition(), LoadInputParameters(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), PrintValue(), ProcessEvBuffer(), ProcessEvent(), QwBeamLine(), RandomizeEventData(), Ratio(), Scale(), UpdateErrorFlag(), UpdateErrorFlag(), and WritePromptSummary().
|
protected |
Definition at line 195 of file QwBeamLine.h.
Referenced by AccumulateRunningSum(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), Compare(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), CopyTemplatedDataElements(), DeaccumulateRunningSum(), FillHistograms(), FillTreeVector(), GetChannel(), GetClock(), GetElement(), IncrementErrorCounters(), LoadChannelMap(), LoadEventCuts_Fin(), LoadInputParameters(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), PrintValue(), ProcessEvBuffer(), ProcessEvent(), Ratio(), and Scale().
|
protected |
Definition at line 203 of file QwBeamLine.h.
Referenced by AccumulateRunningSum(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), Compare(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), DeaccumulateRunningSum(), FillHistograms(), FillTreeVector(), GetChannel(), GetElement(), GetEnergyCalculator(), GetEventcutErrorFlag(), IncrementErrorCounters(), LoadChannelMap(), LoadEventCuts_Fin(), LoadEventCuts_Line(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), PrintValue(), ProcessEvent(), QwBeamLine(), RandomizeEventData(), Ratio(), Scale(), UpdateErrorFlag(), and UpdateErrorFlag().
|
protected |
Definition at line 200 of file QwBeamLine.h.
Referenced by AccumulateRunningSum(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), Compare(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), DeaccumulateRunningSum(), FillHistograms(), FillTreeVector(), GetChannel(), GetElement(), GetScalerChannel(), IncrementErrorCounters(), LoadChannelMap(), LoadEventCuts_Fin(), LoadEventCuts_Line(), LoadInputParameters(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), PrintValue(), ProcessEvBuffer(), ProcessEvent(), QwBeamLine(), Ratio(), Scale(), and UpdateErrorFlag().
|
protected |
Definition at line 198 of file QwBeamLine.h.
Referenced by AccumulateRunningSum(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), Compare(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), DeaccumulateRunningSum(), FillHistograms(), FillTreeVector(), GetElement(), GetEventcutErrorFlag(), IncrementErrorCounters(), LoadChannelMap(), LoadEventCuts_Fin(), LoadEventCuts_Line(), LoadInputParameters(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), PrintValue(), ProcessEvBuffer(), ProcessEvent(), QwBeamLine(), Ratio(), Scale(), UpdateErrorFlag(), and UpdateErrorFlag().
|
protected |
Definition at line 197 of file QwBeamLine.h.
Referenced by AccumulateRunningSum(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), Compare(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), DeaccumulateRunningSum(), FillHistograms(), FillTreeVector(), GetElement(), GetEventcutErrorFlag(), IncrementErrorCounters(), LoadChannelMap(), LoadEventCuts_Fin(), LoadEventCuts_Line(), LoadGeometryDefinition(), LoadInputParameters(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), PrintValue(), ProcessEvBuffer(), ProcessEvent(), QwBeamLine(), Ratio(), Scale(), UpdateErrorFlag(), and UpdateErrorFlag().
|
private |
Definition at line 211 of file QwBeamLine.h.
Referenced by ApplySingleEventCuts(), and LoadEventCuts_Fin().
|
protected |
Definition at line 189 of file QwBeamLine.h.
Referenced by AccumulateRunningSum(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), Compare(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), CopyTemplatedDataElements(), DeaccumulateRunningSum(), EncodeEventData(), FillHistograms(), FillTreeVector(), GetBPMStripline(), GetElement(), GetEventcutErrorFlag(), IncrementErrorCounters(), LoadChannelMap(), LoadEventCuts_Fin(), LoadEventCuts_Line(), LoadGeometryDefinition(), LoadInputParameters(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), PrintValue(), ProcessEvBuffer(), ProcessEvent(), RandomizeEventData(), Ratio(), Scale(), UpdateErrorFlag(), UpdateErrorFlag(), and WritePromptSummary().