|
JAPAn
Just Another Parity Analyzer
|
Container for managing multiple subsystems with common operations. More...
#include <QwSubsystemArray.h>
Inheritance diagram for QwSubsystemArray:
Collaboration diagram for QwSubsystemArray:Public Types | |
| typedef Bool_t(* | CanContainFn) (VQwSubsystem *) |
Public Member Functions | |
| QwSubsystemArray (QwOptions &options, CanContainFn myCanContain) | |
| Constructor with options. | |
| QwSubsystemArray (const QwSubsystemArray &source) | |
| Copy constructor by reference. | |
| ~QwSubsystemArray () override | |
| Virtual destructor. | |
| QwSubsystemArray & | operator= (const QwSubsystemArray &value) |
| Assignment operator. | |
| void | SetCodaRunNumber (UInt_t runnum) |
| Set the internal record of the CODA run number. | |
| void | SetCodaSegmentNumber (UInt_t segnum) |
| Set the internal record of the CODA segment number. | |
| void | SetCodaEventNumber (UInt_t evtnum) |
| Set the internal record of the CODA event number. | |
| void | SetCodaEventType (UInt_t evttype) |
| Set the internal record of the CODA event type. | |
| UInt_t | GetCodaRunNumber () const |
| Get the internal record of the CODA run number. | |
| UInt_t | GetCodaSegmentNumber () const |
| Get the internal record of the CODA segment number. | |
| UInt_t | GetCodaEventNumber () const |
| Get the internal record of the CODA event number. | |
| UInt_t | GetCodaEventType () const |
| Get the internal record of the CODA event type. | |
| void | SetCleanParameters (Double_t cleanparameter[3]) |
| Set the internal record of the CODA event number. | |
| void | SetEventTypeMask (const UInt_t mask) |
| Set event type mask. | |
| UInt_t | GetEventTypeMask () const |
| Get event type mask. | |
| UInt_t | UpdateEventTypeMask () |
| Update the event type mask from the subsystems. | |
| void | SetDataLoaded (const Bool_t flag) |
| Set data loaded flag. | |
| Bool_t | HasDataLoaded () const |
| Get data loaded flag. | |
| void | ProcessOptionsToplevel (QwOptions &options) |
| Process configuration options for the subsystem array itself. | |
| void | ProcessOptionsSubsystems (QwOptions &options) |
| Process configuration options for all subsystems in the array. | |
| void | ProcessOptions (QwOptions &options) |
| Process configuration options (default behavior) | |
| void | LoadAllEventRanges (QwOptions &options) |
| void | push_back (VQwSubsystem *subsys) |
| Add the subsystem to this array. | |
| virtual VQwSubsystem * | GetSubsystemByName (const TString &name) |
| Get the subsystem with the specified name. | |
| virtual std::vector< VQwSubsystem * > | GetSubsystemByType (const std::string &type) |
| Get the list of subsystems of the specified type. | |
| void | ClearEventData () |
| Int_t | ProcessConfigurationBuffer (const ROCID_t roc_id, const BankID_t bank_id, UInt_t *buffer, UInt_t num_words) |
| Process the event buffer for 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) |
| Process the event buffer for events. | |
| void | GetROCIDList (std::vector< ROCID_t > &list) |
| Get the ROCID list. | |
| void | ProcessEvent () |
| Process the decoded data in this event. | |
| void | AtEndOfEventLoop () |
| Perform actions at the end of the event loop. | |
| void | PrintParamFileList () const |
| Print list of parameter files. | |
| TList * | GetParamFileNameList (TString name) const |
| Get list of parameter files. | |
Object construction and maintenance | |
| void | ConstructObjects () |
| Construct the objects for this subsystem. | |
| void | ConstructObjects (TDirectory *folder) |
| Construct the objects for this subsystem in a folder. | |
| void | ConstructObjects (TDirectory *folder, TString &prefix) |
| Construct the objects for this subsystem in a folder with a prefix. | |
Histogram construction and maintenance | |
| void | ConstructHistograms () |
| Construct the histograms for this subsystem. | |
| void | ConstructHistograms (TDirectory *folder) |
| Construct the histograms for this subsystem in a folder. | |
| void | ConstructHistograms (TDirectory *folder, TString &prefix) |
| Construct the histograms for this subsystem in a folder with a prefix. | |
| void | FillHistograms () |
| Fill the histograms for this subsystem. | |
| void | ShareHistograms (const QwSubsystemArray &source) |
| Share the histograms with another subsystem. | |
Tree and vector construction and maintenance | |
| void | ConstructBranchAndVector (TTree *tree, QwRootTreeBranchVector &values) |
| Construct the tree and vector for this subsystem. | |
| void | ConstructBranchAndVector (TTree *tree, TString &prefix, QwRootTreeBranchVector &values) |
| Construct a branch and vector for this subsystem with a prefix. | |
| void | ConstructBranch (TTree *tree, TString &prefix) |
| Construct a branch for this subsystem with a prefix. | |
| void | ConstructBranch (TTree *tree, TString &prefix, QwParameterFile &trim_file) |
| Construct a branch for this subsystem with a prefix after tree leave trimming. | |
| void | FillTreeVector (QwRootTreeBranchVector &values) const |
| Fill the vector for this subsystem. | |
Public Member Functions inherited from MQwPublishable< QwSubsystemArray, VQwSubsystem > | |
| MQwPublishable () | |
| Default constructor Initializes empty variable publishing maps. | |
| MQwPublishable (const MQwPublishable &source) | |
| Copy constructor Creates a new container with cleared publishing maps (variables are not copied). | |
| virtual | ~MQwPublishable () |
| Virtual destructor. | |
| Bool_t | RequestExternalValue (const TString &name, VQwHardwareChannel *value) const |
| Retrieve a variable value from external sources by copying Searches for the named variable in external subsystem arrays and copies its value into the provided data element. | |
| const VQwHardwareChannel * | RequestExternalPointer (const TString &name) const |
| Retrieve a direct pointer to an external variable Searches for the named variable in external subsystem arrays and returns a direct pointer to the data element. | |
| virtual const VQwHardwareChannel * | ReturnInternalValue (const TString &name) const |
| Retrieve an internal variable by name (pointer version) Searches for the named variable among published internal variables and returns a direct pointer to the data element. | |
| Bool_t | ReturnInternalValue (const TString &name, VQwHardwareChannel *value) const |
| Retrieve an internal variable by name (copy version) Searches for the named variable among published internal variables and copies its value into the provided data element. | |
| void | ListPublishedValues () const |
| List all published variables with descriptions Prints a summary of all currently published variables and their descriptions to the logging output for debugging and inspection purposes. | |
| Bool_t | PublishInternalValue (const TString name, const TString desc, const VQwSubsystem *subsys, const VQwHardwareChannel *element) |
| Publish an internal variable from a subsystem Registers a variable from one of the contained subsystems in the publishing framework, making it available for external access by name. | |
Static Public Member Functions | |
| static void | DefineOptions (QwOptions &options) |
| Define configuration options for global array. | |
Private Types | |
| typedef std::vector< std::shared_ptr< VQwSubsystem > > | SubsysPtrs |
Private Member Functions | |
| QwSubsystemArray () | |
| Private default constructor. | |
Tree construction and maintenance | |
These functions are not purely virtual, since not every subsystem is expected to implement them. They are intended for expert output to trees. | |
| size_t | fTreeArrayIndex |
| UInt_t | fCodaRunNumber |
| Index of this data element in root tree. | |
| UInt_t | fCodaSegmentNumber |
| CODA segment number as provided by QwEventBuffer. | |
| UInt_t | fCodaEventNumber |
| CODA event number as provided by QwEventBuffer. | |
| UInt_t | fCodaEventType |
| CODA event type as provided by QwEventBuffer. | |
| Double_t | fCleanParameter [3] |
| UInt_t | fEventTypeMask |
| Mask of event types. | |
| Bool_t | fHasDataLoaded |
| Has this array gotten data to be processed? | |
| CanContainFn | fnCanContain |
| Function to determine which subsystems we can accept. | |
| std::vector< std::pair< UInt_t, UInt_t > > | fBadEventRange |
| double | fWindowPeriod |
| std::string | fSubsystemsMapFile |
| Filename of the global detector map. | |
| std::vector< std::string > | fSubsystemsDisabledByName |
| List of disabled types. | |
| std::vector< std::string > | fSubsystemsDisabledByType |
| List of disabled names. | |
| void | ConstructTree () |
| Construct the tree for this subsystem. | |
| void | ConstructTree (TDirectory *folder) |
| Construct the tree for this subsystem in a folder. | |
| void | ConstructTree (TDirectory *folder, TString &prefix) |
| Construct the tree for this subsystem in a folder with a prefix. | |
| void | FillTree () |
| Fill the tree for this subsystem. | |
| void | DeleteTree () |
| Delete the tree for this subsystem. | |
| void | PrintInfo () const |
| Print some information about the subsystem. | |
| void | push_back (std::shared_ptr< VQwSubsystem > subsys) |
| void | GetMarkerWordList (const ROCID_t roc_id, const BankID_t bank_id, std::vector< UInt_t > &marker) const |
| void | RandomizeEventData (int helicity=0, double time=0.0) |
| Randomize the data in this event. | |
| void | EncodeEventData (std::vector< UInt_t > &buffer) |
| Encode the data in this event. | |
| double | GetWindowPeriod () |
| void | LoadSubsystemsFromParameterFile (QwParameterFile &detectors) |
| static Bool_t | CanContain (VQwSubsystem *subsys) |
| Test whether this subsystem array can contain a particular subsystem. | |
Additional Inherited Members | |
Data Fields inherited from MQwPublishable< QwSubsystemArray, VQwSubsystem > | |
| std::vector< std::vector< TString > > | fPublishList |
Container for managing multiple subsystems with common operations.
Extends std::vector to provide subsystem-level operations such as event processing, accumulation, tree/histogram construction, and publishing. Uses container-delegation pattern to forward arithmetic operations to individual subsystems while maintaining type safety.
Definition at line 42 of file QwSubsystemArray.h.
| typedef Bool_t(* QwSubsystemArray::CanContainFn) (VQwSubsystem *) |
Definition at line 56 of file QwSubsystemArray.h.
|
private |
Definition at line 47 of file QwSubsystemArray.h.
|
private |
Private default constructor.
References QwSubsystemArray().
Referenced by operator=(), QwSubsystemArray(), QwSubsystemArray(), QwSubsystemArrayParity::QwSubsystemArrayParity(), QwSubsystemArrayParity::QwSubsystemArrayParity(), and ShareHistograms().
Here is the call graph for this function:
Here is the caller graph for this function:| QwSubsystemArray::QwSubsystemArray | ( | QwOptions & | options, |
| CanContainFn | myCanContain ) |
Constructor with options.
Create a subsystem array based on the configuration option 'detectors'
Definition at line 22 of file QwSubsystemArray.cc.
References QwLog::endl(), fCleanParameter, fEventTypeMask, fnCanContain, fSubsystemsMapFile, LoadSubsystemsFromParameterFile(), ProcessOptionsToplevel(), and QwMessage.
Here is the call graph for this function:| QwSubsystemArray::QwSubsystemArray | ( | const QwSubsystemArray & | source | ) |
Copy constructor by reference.
Copy constructor by reference
| source | Source subsystem array |
Definition at line 35 of file QwSubsystemArray.cc.
References fCleanParameter, fCodaEventNumber, fCodaEventType, fCodaRunNumber, fCodaSegmentNumber, fEventTypeMask, fHasDataLoaded, fnCanContain, fSubsystemsDisabledByName, fSubsystemsDisabledByType, fSubsystemsMapFile, fTreeArrayIndex, MQwPublishable< QwSubsystemArray, VQwSubsystem >::MQwPublishable(), and QwSubsystemArray().
Here is the call graph for this function:
|
inlineoverride |
| void QwSubsystemArray::AtEndOfEventLoop | ( | ) |
Perform actions at the end of the event loop.
Definition at line 424 of file QwSubsystemArray.cc.
References VQwSubsystem::AtEndOfEventLoop(), QwLog::endl(), and QwDebug.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticprotected |
Test whether this subsystem array can contain a particular subsystem.
Definition at line 290 of file QwSubsystemArray.h.
References QwLog::endl(), and QwError.
Here is the call graph for this function:| void QwSubsystemArray::ClearEventData | ( | ) |
Definition at line 358 of file QwSubsystemArray.cc.
References VQwSubsystem::ClearEventData(), SetCodaEventNumber(), SetCodaEventType(), and SetDataLoaded().
Referenced by QwEventBuffer::FillSubsystemData(), main(), and main().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArray::ConstructBranch | ( | TTree * | tree, |
| TString & | prefix ) |
Construct a branch for this subsystem with a prefix.
Construct the branch for the flat tree
| tree | Tree |
| prefix | Prefix |
Definition at line 588 of file QwSubsystemArray.cc.
References VQwSubsystem::ConstructBranch(), fCodaEventNumber, and fCodaEventType.
Here is the call graph for this function:| void QwSubsystemArray::ConstructBranch | ( | TTree * | tree, |
| TString & | prefix, | ||
| QwParameterFile & | trim_file ) |
Construct a branch for this subsystem with a prefix after tree leave trimming.
Construct the branch for the flat tree with tree trim files accepted
| tree | Tree |
| prefix | Prefix |
| trim_file | Trim file |
Definition at line 609 of file QwSubsystemArray.cc.
References VQwSubsystem::ConstructBranch(), QwLog::endl(), fCodaEventNumber, fCodaEventType, QwParameterFile::FileHasSectionHeader(), VQwSubsystem::GetName(), QwMessage, QwVerbose, QwParameterFile::ReadSectionPreamble(), and QwParameterFile::ReadUntilNextSection().
Here is the call graph for this function:
|
inline |
Construct the tree and vector for this subsystem.
Definition at line 210 of file QwSubsystemArray.h.
References ConstructBranchAndVector().
Referenced by ConstructBranchAndVector(), and QwSubsystemArrayParity::ConstructBranchAndVector().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArray::ConstructBranchAndVector | ( | TTree * | tree, |
| TString & | prefix, | ||
| QwRootTreeBranchVector & | values ) |
Construct a branch and vector for this subsystem with a prefix.
Construct the branch and tree vector
| tree | Tree |
| prefix | Prefix |
| values | Vector of values |
Definition at line 553 of file QwSubsystemArray.cc.
References VQwSubsystem::ConstructBranchAndVector(), fTreeArrayIndex, QwRootTreeBranchVector::push_back(), and QwRootTreeBranchVector::size().
Here is the call graph for this function:
|
inline |
Construct the histograms for this subsystem.
Definition at line 190 of file QwSubsystemArray.h.
References ConstructHistograms().
Referenced by ConstructHistograms(), and ConstructHistograms().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Construct the histograms for this subsystem in a folder.
Definition at line 194 of file QwSubsystemArray.h.
References ConstructHistograms().
Here is the call graph for this function:| void QwSubsystemArray::ConstructHistograms | ( | TDirectory * | folder, |
| TString & | prefix ) |
Construct the histograms for this subsystem in a folder with a prefix.
Definition at line 475 of file QwSubsystemArray.cc.
|
inline |
Construct the objects for this subsystem.
Definition at line 174 of file QwSubsystemArray.h.
References ConstructObjects().
Referenced by ConstructObjects(), and ConstructObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Construct the objects for this subsystem in a folder.
Definition at line 178 of file QwSubsystemArray.h.
References ConstructObjects().
Here is the call graph for this function:| void QwSubsystemArray::ConstructObjects | ( | TDirectory * | folder, |
| TString & | prefix ) |
Construct the objects for this subsystem in a folder with a prefix.
Definition at line 465 of file QwSubsystemArray.cc.
|
inline |
Construct the tree for this subsystem.
Definition at line 243 of file QwSubsystemArray.h.
References ConstructTree().
Referenced by ConstructTree(), and ConstructTree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Construct the tree for this subsystem in a folder.
Definition at line 247 of file QwSubsystemArray.h.
References ConstructTree().
Here is the call graph for this function:| void QwSubsystemArray::ConstructTree | ( | TDirectory * | folder, |
| TString & | prefix ) |
Construct the tree for this subsystem in a folder with a prefix.
Construct the tree for this subsystem
| folder | Directory where to construct the tree |
| prefix | Prefix for the name of the tree |
Definition at line 507 of file QwSubsystemArray.cc.
|
static |
Define configuration options for global array.
Define configuration options for global array
| options | Options |
Definition at line 236 of file QwSubsystemArray.cc.
References QwOptions::AddOptions().
Referenced by QwOptions::DefineOptions().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArray::DeleteTree | ( | ) |
Delete the tree for this subsystem.
Delete the tree for this subsystem
Definition at line 528 of file QwSubsystemArray.cc.
References VQwSubsystem::DeleteTree().
Here is the call graph for this function:| void QwSubsystemArray::EncodeEventData | ( | std::vector< UInt_t > & | buffer | ) |
Encode the data in this event.
Definition at line 442 of file QwSubsystemArray.cc.
Referenced by QwEventBuffer::EncodeSubsystemData().
Here is the caller graph for this function:| void QwSubsystemArray::FillHistograms | ( | ) |
Fill the histograms for this subsystem.
Definition at line 484 of file QwSubsystemArray.cc.
References VQwSubsystem::FillHistograms().
Referenced by QwSubsystemArrayParity::FillHistograms().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArray::FillTree | ( | ) |
Fill the tree for this subsystem.
Fill the tree for this subsystem
Definition at line 519 of file QwSubsystemArray.cc.
References VQwSubsystem::FillTree().
Here is the call graph for this function:| void QwSubsystemArray::FillTreeVector | ( | QwRootTreeBranchVector & | values | ) | const |
Fill the vector for this subsystem.
Fill the tree vector
| values | Vector of values |
Definition at line 650 of file QwSubsystemArray.cc.
References fCleanParameter, VQwSubsystem::FillTreeVector(), fTreeArrayIndex, GetCodaEventNumber(), GetCodaEventType(), and QwRootTreeBranchVector::SetValue().
Referenced by QwSubsystemArrayParity::FillTreeVector().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Get the internal record of the CODA event number.
Definition at line 88 of file QwSubsystemArray.h.
References fCodaEventNumber.
Referenced by FillTreeVector().
Here is the caller graph for this function:
|
inline |
Get the internal record of the CODA event type.
Definition at line 90 of file QwSubsystemArray.h.
References fCodaEventType.
Referenced by FillTreeVector().
Here is the caller graph for this function:
|
inline |
Get the internal record of the CODA run number.
Definition at line 84 of file QwSubsystemArray.h.
References fCodaRunNumber.
|
inline |
Get the internal record of the CODA segment number.
Definition at line 86 of file QwSubsystemArray.h.
References fCodaSegmentNumber.
|
inline |
Get event type mask.
Definition at line 103 of file QwSubsystemArray.h.
References fEventTypeMask.
Referenced by QwEventBuffer::FillSubsystemData().
Here is the caller graph for this function:| void QwSubsystemArray::GetMarkerWordList | ( | const ROCID_t | roc_id, |
| const BankID_t | bank_id, | ||
| std::vector< UInt_t > & | marker ) const |
QwSubsystemArray::GetMarkerWordList should be called once by QwEventBuffer to build the marker word list as each roc_id and bank_id are reached in the decoding.
Definition at line 385 of file QwSubsystemArray.cc.
Referenced by QwEventBuffer::CheckForMarkerWords().
Here is the caller graph for this function:| TList * QwSubsystemArray::GetParamFileNameList | ( | TString | name | ) | const |
Get list of parameter files.
Definition at line 789 of file QwSubsystemArray.cc.
| void QwSubsystemArray::GetROCIDList | ( | std::vector< ROCID_t > & | list | ) |
Get the ROCID list.
Definition at line 450 of file QwSubsystemArray.cc.
Referenced by QwEventBuffer::EncodeSubsystemData().
Here is the caller graph for this function:
|
virtual |
Get the subsystem with the specified name.
Get the subsystem in this array with the specified name
| name | Name of the subsystem |
Reimplemented in QwSubsystemArrayParity.
Definition at line 309 of file QwSubsystemArray.cc.
Referenced by VQwSubsystem::GetSibling(), QwSubsystemArrayParity::GetSubsystemByName(), push_back(), and push_back().
Here is the caller graph for this function:
|
virtual |
Get the list of subsystems of the specified type.
Get the list of subsystems in this array of the specified type
| type | Type of the subsystem |
Definition at line 334 of file QwSubsystemArray.cc.
Referenced by main().
Here is the caller graph for this function:
|
inline |
Definition at line 314 of file QwSubsystemArray.h.
References fWindowPeriod.
Referenced by main().
Here is the caller graph for this function:
|
inline |
Get data loaded flag.
Definition at line 117 of file QwSubsystemArray.h.
References fHasDataLoaded.
Referenced by ProcessEvent().
Here is the caller graph for this function:| void QwSubsystemArray::LoadAllEventRanges | ( | QwOptions & | options | ) |
Definition at line 285 of file QwSubsystemArray.cc.
References QwLog::endl(), fBadEventRange, QwOptions::GetValue(), QwParameterFile::LineIsEmpty(), QwParameterFile::ParseIntRange(), QwMessage, QwParameterFile::ReadNextLine(), QwParameterFile::TrimComment(), and QwParameterFile::TrimWhitespace().
Referenced by ProcessOptionsSubsystems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Fill the subsystem array with the contents of a map file
| detectors | Map file |
Definition at line 108 of file QwSubsystemArray.cc.
References QwLog::endl(), fnCanContain, fSubsystemsDisabledByName, fSubsystemsDisabledByType, VQwSubsystem::GetName(), VQwSubsystem::LoadDetectorMaps(), VQwSubsystem::PublishInternalValues(), push_back(), QwError, QwMessage, QwVerbose, QwWarning, QwParameterFile::ReadNextSection(), and QwParameterFile::ReadSectionPreamble().
Referenced by QwSubsystemArray().
Here is the call graph for this function:
Here is the caller graph for this function:| QwSubsystemArray & QwSubsystemArray::operator= | ( | const QwSubsystemArray & | source | ) |
Assignment operator.
Assignment operator
| source | Subsystem array to assign to this array |
Definition at line 70 of file QwSubsystemArray.cc.
References QwLog::endl(), fCodaEventNumber, fCodaEventType, QwError, and QwSubsystemArray().
Referenced by QwSubsystemArrayParity::operator=().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArray::PrintInfo | ( | ) | const |
Print some information about the subsystem.
Definition at line 536 of file QwSubsystemArray.cc.
| void QwSubsystemArray::PrintParamFileList | ( | ) | const |
Print list of parameter files.
Definition at line 779 of file QwSubsystemArray.cc.
Referenced by main().
Here is the caller graph for this function:| Int_t QwSubsystemArray::ProcessConfigurationBuffer | ( | const ROCID_t | roc_id, |
| const BankID_t | bank_id, | ||
| UInt_t * | buffer, | ||
| UInt_t | num_words ) |
Process the event buffer for configuration events.
Definition at line 369 of file QwSubsystemArray.cc.
Referenced by QwEventBuffer::FillSubsystemConfigurationData().
Here is the caller graph for this function:| Int_t QwSubsystemArray::ProcessEvBuffer | ( | const UInt_t | event_type, |
| const ROCID_t | roc_id, | ||
| const BankID_t | bank_id, | ||
| UInt_t * | buffer, | ||
| UInt_t | num_words ) |
Process the event buffer for events.
Definition at line 398 of file QwSubsystemArray.cc.
References SetDataLoaded().
Referenced by QwEventBuffer::FillSubsystemData().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArray::ProcessEvent | ( | ) |
Process the decoded data in this event.
Definition at line 415 of file QwSubsystemArray.cc.
References VQwSubsystem::ExchangeProcessedData(), HasDataLoaded(), VQwSubsystem::ProcessEvent(), and VQwSubsystem::ProcessEvent_2().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Process configuration options (default behavior)
Definition at line 126 of file QwSubsystemArray.h.
References ProcessOptionsSubsystems().
Referenced by main(), and main().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArray::ProcessOptionsSubsystems | ( | QwOptions & | options | ) |
Process configuration options for all subsystems in the array.
Handle configuration options for all subsystems in the array
| options | Options |
Definition at line 275 of file QwSubsystemArray.cc.
References LoadAllEventRanges(), and VQwSubsystem::ProcessOptions().
Referenced by ProcessOptions().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArray::ProcessOptionsToplevel | ( | QwOptions & | options | ) |
Process configuration options for the subsystem array itself.
Handle configuration options for the subsystem array itself
| options | Options |
Definition at line 260 of file QwSubsystemArray.cc.
References fSubsystemsDisabledByName, fSubsystemsDisabledByType, fSubsystemsMapFile, QwOptions::GetValue(), and QwOptions::GetValueVector().
Referenced by QwSubsystemArray().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArray::push_back | ( | std::shared_ptr< VQwSubsystem > | subsys | ) |
Add the subsystem to this array. Do nothing if the subsystem is null or if there is already a subsystem with that name in the array.
| subsys | Subsystem to add to the array |
Definition at line 824 of file QwSubsystemArray.cc.
References QwLog::endl(), fEventTypeMask, fnCanContain, GetSubsystemByName(), and QwError.
Here is the call graph for this function:| void QwSubsystemArray::push_back | ( | VQwSubsystem * | subsys | ) |
Add the subsystem to this array.
Add the subsystem to this array. Do nothing if the subsystem is null or if there is already a subsystem with that name in the array.
| subsys | Subsystem to add to the array |
Definition at line 199 of file QwSubsystemArray.cc.
References QwLog::endl(), fEventTypeMask, fnCanContain, VQwSubsystem::GetName(), GetSubsystemByName(), and QwError.
Referenced by LoadSubsystemsFromParameterFile().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArray::RandomizeEventData | ( | int | helicity = 0, |
| double | time = 0.0 ) |
Randomize the data in this event.
Definition at line 433 of file QwSubsystemArray.cc.
Referenced by main().
Here is the caller graph for this function:
|
inline |
Set the internal record of the CODA event number.
Definition at line 93 of file QwSubsystemArray.h.
References fCleanParameter.
Referenced by QwEventBuffer::FillSubsystemData().
Here is the caller graph for this function:
|
inline |
Set the internal record of the CODA event number.
Definition at line 80 of file QwSubsystemArray.h.
References fCodaEventNumber.
Referenced by ClearEventData(), and QwEventBuffer::FillSubsystemData().
Here is the caller graph for this function:
|
inline |
Set the internal record of the CODA event type.
Definition at line 82 of file QwSubsystemArray.h.
References fCodaEventType.
Referenced by ClearEventData(), and QwEventBuffer::FillSubsystemData().
Here is the caller graph for this function:
|
inline |
Set the internal record of the CODA run number.
Definition at line 76 of file QwSubsystemArray.h.
References fCodaRunNumber.
Referenced by QwEventBuffer::FillSubsystemData().
Here is the caller graph for this function:
|
inline |
Set the internal record of the CODA segment number.
Definition at line 78 of file QwSubsystemArray.h.
References fCodaSegmentNumber.
Referenced by QwEventBuffer::FillSubsystemData().
Here is the caller graph for this function:
|
inline |
Set data loaded flag.
Definition at line 115 of file QwSubsystemArray.h.
References fHasDataLoaded.
Referenced by ClearEventData(), and ProcessEvBuffer().
Here is the caller graph for this function:
|
inline |
Set event type mask.
Definition at line 101 of file QwSubsystemArray.h.
References fEventTypeMask.
| void QwSubsystemArray::ShareHistograms | ( | const QwSubsystemArray & | source | ) |
Share the histograms with another subsystem.
Definition at line 490 of file QwSubsystemArray.cc.
References QwSubsystemArray().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Update the event type mask from the subsystems.
Definition at line 105 of file QwSubsystemArray.h.
References fEventTypeMask, and VQwSubsystem::GetEventTypeMask().
Here is the call graph for this function:
|
protected |
Definition at line 298 of file QwSubsystemArray.h.
Referenced by QwSubsystemArrayParity::CheckBadEventRange(), and LoadAllEventRanges().
|
protected |
Definition at line 281 of file QwSubsystemArray.h.
Referenced by FillTreeVector(), QwSubsystemArray(), QwSubsystemArray(), and SetCleanParameters().
|
protected |
CODA event number as provided by QwEventBuffer.
Definition at line 278 of file QwSubsystemArray.h.
Referenced by QwSubsystemArrayParity::AccumulateRunningSum(), QwSubsystemArrayParity::CheckBadEventRange(), ConstructBranch(), ConstructBranch(), GetCodaEventNumber(), QwSubsystemArrayParity::operator+=(), QwSubsystemArrayParity::operator-=(), operator=(), QwSubsystemArray(), and SetCodaEventNumber().
|
protected |
CODA event type as provided by QwEventBuffer.
Definition at line 279 of file QwSubsystemArray.h.
Referenced by ConstructBranch(), ConstructBranch(), GetCodaEventType(), operator=(), QwSubsystemArray(), and SetCodaEventType().
|
protected |
Index of this data element in root tree.
CODA run number as provided by QwEventBuffer
Definition at line 276 of file QwSubsystemArray.h.
Referenced by GetCodaRunNumber(), QwSubsystemArray(), and SetCodaRunNumber().
|
protected |
CODA segment number as provided by QwEventBuffer.
Definition at line 277 of file QwSubsystemArray.h.
Referenced by GetCodaSegmentNumber(), QwSubsystemArray(), and SetCodaSegmentNumber().
|
protected |
Mask of event types.
Definition at line 282 of file QwSubsystemArray.h.
Referenced by GetEventTypeMask(), push_back(), push_back(), QwSubsystemArray(), QwSubsystemArray(), SetEventTypeMask(), and UpdateEventTypeMask().
|
protected |
Has this array gotten data to be processed?
Definition at line 283 of file QwSubsystemArray.h.
Referenced by HasDataLoaded(), QwSubsystemArray(), and SetDataLoaded().
|
protected |
Function to determine which subsystems we can accept.
Definition at line 287 of file QwSubsystemArray.h.
Referenced by LoadSubsystemsFromParameterFile(), push_back(), push_back(), QwSubsystemArray(), and QwSubsystemArray().
|
private |
List of disabled types.
Definition at line 303 of file QwSubsystemArray.h.
Referenced by LoadSubsystemsFromParameterFile(), ProcessOptionsToplevel(), and QwSubsystemArray().
|
private |
List of disabled names.
Definition at line 304 of file QwSubsystemArray.h.
Referenced by LoadSubsystemsFromParameterFile(), ProcessOptionsToplevel(), and QwSubsystemArray().
|
private |
Filename of the global detector map.
Definition at line 302 of file QwSubsystemArray.h.
Referenced by ProcessOptionsToplevel(), QwSubsystemArray(), and QwSubsystemArray().
|
protected |
Definition at line 273 of file QwSubsystemArray.h.
Referenced by ConstructBranchAndVector(), FillTreeVector(), and QwSubsystemArray().
|
protected |
Definition at line 317 of file QwSubsystemArray.h.
Referenced by GetWindowPeriod(), and QwSubsystemArrayParity::LoadMockDataParameters().