QwAnalysis
|
#include <QwSubsystemArray.h>
Public Types | |
typedef Bool_t(* | CanContainFn )(VQwSubsystem *) |
Public Member Functions | |
QwSubsystemArray (QwOptions &options, CanContainFn myCanContain) | |
Constructor with options. More... | |
QwSubsystemArray (const QwSubsystemArray &source) | |
Copy constructor by reference. More... | |
virtual | ~QwSubsystemArray () |
Virtual destructor. More... | |
void | SetCodaRunNumber (UInt_t runnum) |
Set the internal record of the CODA run number. More... | |
void | SetCodaSegmentNumber (UInt_t segnum) |
Set the internal record of the CODA segment number. More... | |
void | SetCodaEventNumber (UInt_t evtnum) |
Set the internal record of the CODA event number. More... | |
void | SetCodaEventType (UInt_t evttype) |
Set the internal record of the CODA event type. More... | |
UInt_t | GetCodaRunNumber () const |
Get the internal record of the CODA run number. More... | |
UInt_t | GetCodaSegmentNumber () const |
Get the internal record of the CODA segment number. More... | |
UInt_t | GetCodaEventNumber () const |
Get the internal record of the CODA event number. More... | |
UInt_t | GetCodaEventType () const |
Get the internal record of the CODA event type. More... | |
void | SetCleanParameters (Double_t cleanparameter[3]) |
Set the internal record of the CODA event number. More... | |
void | SetEventTypeMask (const UInt_t mask) |
Set event type mask. More... | |
UInt_t | GetEventTypeMask () const |
Get event type mask. More... | |
UInt_t | UpdateEventTypeMask () |
Update the event type mask from the subsystems. More... | |
void | SetDataLoaded (const Bool_t flag) |
Set data loaded flag. More... | |
Bool_t | HasDataLoaded () const |
Get data loaded flag. More... | |
void | ProcessOptionsToplevel (QwOptions &options) |
Process configuration options for the subsystem array itself. More... | |
void | ProcessOptionsSubsystems (QwOptions &options) |
Process configuration options for all subsystems in the array. More... | |
void | ProcessOptions (QwOptions &options) |
Process configuration options (default behavior) More... | |
void | push_back (VQwSubsystem *subsys) |
Add the subsystem to this array. More... | |
virtual VQwSubsystem * | GetSubsystemByName (const TString &name) |
Get the subsystem with the specified name. More... | |
virtual std::vector < VQwSubsystem * > | GetSubsystemByType (const std::string &type) |
Get the list of subsystems of the specified type. More... | |
void | ClearEventData () |
Int_t | ProcessConfigurationBuffer (const UInt_t roc_id, const UInt_t bank_id, UInt_t *buffer, UInt_t num_words) |
Process the event buffer for configuration events. More... | |
Int_t | ProcessEvBuffer (const UInt_t event_type, const UInt_t roc_id, const UInt_t bank_id, UInt_t *buffer, UInt_t num_words) |
Process the event buffer for events. More... | |
void | RandomizeEventData (int helicity=0, double time=0.0) |
Randomize the data in this event. More... | |
void | EncodeEventData (std::vector< UInt_t > &buffer) |
Encode the data in this event. More... | |
void | ProcessEvent () |
Process the decoded data in this event. More... | |
void | AtEndOfEventLoop () |
Perform actions at the end of the event loop. More... | |
Bool_t | RequestExternalValue (const TString &name, VQwHardwareChannel *value) const |
Retrieve the variable name from other subsystem arrays. More... | |
const VQwHardwareChannel * | ReturnInternalValue (const TString &name) const |
Retrieve the variable name from subsystems in this subsystem array. More... | |
Bool_t | ReturnInternalValue (const TString &name, VQwHardwareChannel *value) const |
Retrieve the variable name from subsystems in this subsystem array. More... | |
Bool_t | PublishInternalValue (const TString name, const TString desc, const VQwSubsystem *subsys, const VQwHardwareChannel *element) |
Publish the value name with description from a subsystem in this array. More... | |
void | ListPublishedValues () const |
List the published values and description in this subsystem array. More... | |
void | PrintParamFileList () const |
Print list of parameter files. More... | |
TList * | GetParamFileNameList (TString name) const |
Get list of parameter files. More... | |
void | PrintInfo () const |
Print some information about the subsystem. More... | |
void | push_back (boost::shared_ptr< VQwSubsystem > subsys) |
Histogram construction and maintenance | |
void | ConstructHistograms () |
Construct the histograms for this subsystem. More... | |
void | ConstructHistograms (TDirectory *folder) |
Construct the histograms for this subsystem in a folder. More... | |
void | ConstructHistograms (TDirectory *folder, TString &prefix) |
Construct the histograms for this subsystem in a folder with a prefix. More... | |
void | FillHistograms () |
Fill the histograms for this subsystem. More... | |
void | ShareHistograms (const QwSubsystemArray &source) |
Share the histograms with another subsystem. More... | |
Tree and vector construction and maintenance | |
void | ConstructBranchAndVector (TTree *tree, std::vector< Double_t > &values) |
Construct the tree and vector for this subsystem. More... | |
void | ConstructBranchAndVector (TTree *tree, TString &prefix, std::vector< Double_t > &values) |
Construct a branch and vector for this subsystem with a prefix. More... | |
void | ConstructBranch (TTree *tree, TString &prefix) |
Construct a branch for this subsystem with a prefix. More... | |
void | ConstructBranch (TTree *tree, TString &prefix, QwParameterFile &trim_file) |
Construct a branch for this subsystem with a prefix after tree leave trimming. More... | |
void | FillTreeVector (std::vector< Double_t > &values) const |
Fill the vector for this subsystem. More... | |
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. | |
void | ConstructTree () |
Construct the tree for this subsystem. More... | |
void | ConstructTree (TDirectory *folder) |
Construct the tree for this subsystem in a folder. More... | |
void | ConstructTree (TDirectory *folder, TString &prefix) |
Construct the tree for this subsystem in a folder with a prefix. More... | |
void | FillTree () |
Fill the tree for this subsystem. More... | |
void | DeleteTree () |
Delete the tree for this subsystem. More... | |
Static Public Member Functions | |
static void | DefineOptions (QwOptions &options) |
Define configuration options for global array. More... | |
Protected Member Functions | |
void | LoadSubsystemsFromParameterFile (QwParameterFile &detectors) |
Static Protected Member Functions | |
static Bool_t | CanContain (VQwSubsystem *subsys) |
Test whether this subsystem array can contain a particular subsystem. More... | |
Protected Attributes | |
size_t | fTreeArrayIndex |
UInt_t | fCodaRunNumber |
Index of this data element in root tree. More... | |
UInt_t | fCodaSegmentNumber |
CODA segment number as provided by QwEventBuffer. More... | |
UInt_t | fCodaEventNumber |
CODA event number as provided by QwEventBuffer. More... | |
UInt_t | fCodaEventType |
CODA event type as provided by QwEventBuffer. More... | |
Double_t | fCleanParameter [3] |
UInt_t | fEventTypeMask |
Mask of event types. More... | |
Bool_t | fHasDataLoaded |
Has this array gotten data to be processed? More... | |
CanContainFn | fnCanContain |
Function to determine which subsystems we can accept. More... | |
Private Types | |
typedef std::vector < boost::shared_ptr < VQwSubsystem > > | SubsysPtrs |
Private Member Functions | |
QwSubsystemArray () | |
Private default constructor. More... | |
Bool_t | PublishByRequest (TString device_name) |
Try to publish an internal variable matching the submitted name. More... | |
VQwHardwareChannel * | ReturnInternalValueForFriends (const TString &name) const |
Retrieve the variable name from subsystems in this subsystem array. More... | |
Private Attributes | |
std::map< TString, const VQwHardwareChannel * > | fPublishedValuesDataElement |
Published values. More... | |
std::map< TString, const VQwSubsystem * > | fPublishedValuesSubsystem |
std::map< TString, TString > | fPublishedValuesDescription |
std::string | fSubsystemsMapFile |
Filename of the global detector map. More... | |
std::vector< std::string > | fSubsystemsDisabledByName |
List of disabled types. More... | |
std::vector< std::string > | fSubsystemsDisabledByType |
List of disabled names. More... | |
Friends | |
class | QwRegression |
Friend with regression class who needs write access to data. More... | |
Additional Inherited Members | |
Data Fields inherited from std::vector< T > | |
T | elements |
STL member. More... | |
Definition at line 32 of file QwSubsystemArray.h.
typedef Bool_t(* QwSubsystemArray::CanContainFn)(VQwSubsystem *) |
Definition at line 43 of file QwSubsystemArray.h.
|
private |
Definition at line 34 of file QwSubsystemArray.h.
|
private |
Private default constructor.
QwSubsystemArray::QwSubsystemArray | ( | QwOptions & | options, |
CanContainFn | myCanContain | ||
) |
Constructor with options.
Create a subsystem array based on the configuration option 'detectors'
Definition at line 26 of file QwSubsystemArray.cc.
References QwLog::endl(), fSubsystemsMapFile, LoadSubsystemsFromParameterFile(), ProcessOptionsToplevel(), and QwMessage.
QwSubsystemArray::QwSubsystemArray | ( | const QwSubsystemArray & | source | ) |
Copy constructor by reference.
Copy constructor by reference
source | Source subsystem array |
Definition at line 39 of file QwSubsystemArray.cc.
References QwLog::endl(), fPublishedValuesDataElement, fPublishedValuesDescription, fPublishedValuesSubsystem, push_back(), and QwError.
|
inlinevirtual |
void QwSubsystemArray::AtEndOfEventLoop | ( | ) |
Perform actions at the end of the event loop.
Definition at line 364 of file QwSubsystemArray.cc.
References VQwSubsystem::AtEndOfEventLoop(), QwLog::endl(), and QwDebug.
Referenced by main().
|
inlinestaticprotected |
Test whether this subsystem array can contain a particular subsystem.
Definition at line 280 of file QwSubsystemArray.h.
References QwLog::endl(), and QwError.
void QwSubsystemArray::ClearEventData | ( | ) |
Definition at line 315 of file QwSubsystemArray.cc.
References VQwSubsystem::ClearEventData(), SetCodaEventNumber(), SetCodaEventType(), and SetDataLoaded().
Referenced by QwHelicityPattern::CalculateAsymmetry(), QwHelicityPattern::ClearBurstSum(), QwHelicityPattern::ClearEventData(), QwHelicityPattern::ClearRunningSum(), QwEventBuffer::FillSubsystemData(), and main().
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 506 of file QwSubsystemArray.cc.
References VQwSubsystem::ConstructBranch(), fCodaEventNumber, and fCodaEventType.
Referenced by QwHelicityPattern::ConstructBranch().
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 527 of file QwSubsystemArray.cc.
References VQwSubsystem::ConstructBranch(), QwLog::endl(), fCodaEventNumber, fCodaEventType, QwParameterFile::FileHasSectionHeader(), VQwSubsystem::GetSubsystemName(), QwMessage, QwVerbose, QwParameterFile::ReadSectionPreamble(), and QwParameterFile::ReadUntilNextSection().
|
inline |
Construct the tree and vector for this subsystem.
Definition at line 215 of file QwSubsystemArray.h.
Referenced by QwSubsystemArrayParity::ConstructBranchAndVector().
void QwSubsystemArray::ConstructBranchAndVector | ( | TTree * | tree, |
TString & | prefix, | ||
std::vector< Double_t > & | 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 470 of file QwSubsystemArray.cc.
References VQwSubsystem::ConstructBranchAndVector(), and fTreeArrayIndex.
|
inline |
Construct the histograms for this subsystem.
Definition at line 195 of file QwSubsystemArray.h.
Referenced by QwHelicityPattern::ConstructHistograms(), ConstructHistograms(), and main().
|
inline |
Construct the histograms for this subsystem in a folder.
Definition at line 199 of file QwSubsystemArray.h.
References ConstructHistograms().
void QwSubsystemArray::ConstructHistograms | ( | TDirectory * | folder, |
TString & | prefix | ||
) |
Construct the histograms for this subsystem in a folder with a prefix.
Definition at line 392 of file QwSubsystemArray.cc.
|
inline |
Construct the tree for this subsystem.
Definition at line 236 of file QwSubsystemArray.h.
Referenced by ConstructTree(), and main().
|
inline |
Construct the tree for this subsystem in a folder.
Definition at line 240 of file QwSubsystemArray.h.
References ConstructTree().
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 424 of file QwSubsystemArray.cc.
|
static |
Define configuration options for global array.
Define configuration options for global array
options | Options |
Definition at line 208 of file QwSubsystemArray.cc.
References QwOptions::AddOptions().
Referenced by QwOptions::DefineOptions().
void QwSubsystemArray::DeleteTree | ( | ) |
Delete the tree for this subsystem.
Delete the tree for this subsystem
Definition at line 445 of file QwSubsystemArray.cc.
References VQwSubsystem::DeleteTree().
void QwSubsystemArray::EncodeEventData | ( | std::vector< UInt_t > & | buffer | ) |
Encode the data in this event.
Definition at line 382 of file QwSubsystemArray.cc.
Referenced by QwEventBuffer::EncodeSubsystemData().
void QwSubsystemArray::FillHistograms | ( | ) |
Fill the histograms for this subsystem.
Definition at line 401 of file QwSubsystemArray.cc.
References VQwSubsystem::FillHistograms().
Referenced by QwSubsystemArrayParity::FillHistograms().
void QwSubsystemArray::FillTree | ( | ) |
Fill the tree for this subsystem.
Fill the tree for this subsystem
Definition at line 436 of file QwSubsystemArray.cc.
References VQwSubsystem::FillTree().
Referenced by main().
void QwSubsystemArray::FillTreeVector | ( | std::vector< Double_t > & | values | ) | const |
Fill the vector for this subsystem.
Fill the tree vector
values | Vector of values |
Definition at line 568 of file QwSubsystemArray.cc.
References fCleanParameter, VQwSubsystem::FillTreeVector(), fTreeArrayIndex, GetCodaEventNumber(), and GetCodaEventType().
Referenced by QwSubsystemArrayParity::FillTreeVector().
|
inline |
Get the internal record of the CODA event number.
Definition at line 72 of file QwSubsystemArray.h.
References fCodaEventNumber.
Referenced by QwMainDetector::AddSoftwareMeantimeToHits(), QwTriggerScintillator::AddSoftwareMeantimeToHits(), and FillTreeVector().
|
inline |
Get the internal record of the CODA event type.
Definition at line 74 of file QwSubsystemArray.h.
References fCodaEventType.
Referenced by FillTreeVector().
|
inline |
Get the internal record of the CODA run number.
Definition at line 68 of file QwSubsystemArray.h.
References fCodaRunNumber.
|
inline |
Get the internal record of the CODA segment number.
Definition at line 70 of file QwSubsystemArray.h.
References fCodaSegmentNumber.
|
inline |
Get event type mask.
Definition at line 87 of file QwSubsystemArray.h.
References fEventTypeMask.
Referenced by QwEventBuffer::FillSubsystemData().
TList * QwSubsystemArray::GetParamFileNameList | ( | TString | name | ) | const |
Get list of parameter files.
Definition at line 789 of file QwSubsystemArray.cc.
Referenced by QwParityDB::FillParameterFiles().
|
virtual |
Get the subsystem with the specified name.
Get the subsystem in this array with the spcified name
name | Name of the subsystem |
Reimplemented in QwSubsystemArrayParity, and QwSubsystemArrayTracking.
Definition at line 266 of file QwSubsystemArray.cc.
Referenced by VQwSubsystem::GetSibling(), QwSubsystemArrayTracking::GetSubsystemByName(), QwSubsystemArrayParity::GetSubsystemByName(), and push_back().
|
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 291 of file QwSubsystemArray.cc.
|
inline |
Get data loaded flag.
Definition at line 101 of file QwSubsystemArray.h.
References fHasDataLoaded.
Referenced by ProcessEvent().
void QwSubsystemArray::ListPublishedValues | ( | ) | const |
List the published values and description in this subsystem array.
List the published values and description in this subsystem array
Definition at line 724 of file QwSubsystemArray.cc.
References QwLog::endl(), fPublishedValuesDescription, and QwOut.
Referenced by main(), PublishByRequest(), and PublishInternalValue().
|
protected |
Fill the subsystem array with the contents of a map file
detectors | Map file |
Definition at line 72 of file QwSubsystemArray.cc.
References QwLog::endl(), QwParameterFile::FileHasVariablePair(), fnCanContain, fSubsystemsDisabledByName, fSubsystemsDisabledByType, VQwSubsystem::GetSubsystemName(), VQwSubsystem::LoadDetectorMaps(), VQwSubsystem::PublishInternalValues(), push_back(), QwError, QwMessage, QwVerbose, QwWarning, QwParameterFile::ReadNextSection(), and QwParameterFile::ReadSectionPreamble().
Referenced by QwSubsystemArray().
void QwSubsystemArray::PrintInfo | ( | ) | const |
Print some information about the subsystem.
Definition at line 453 of file QwSubsystemArray.cc.
void QwSubsystemArray::PrintParamFileList | ( | ) | const |
Print list of parameter files.
Definition at line 779 of file QwSubsystemArray.cc.
Referenced by main().
Int_t QwSubsystemArray::ProcessConfigurationBuffer | ( | const UInt_t | roc_id, |
const UInt_t | bank_id, | ||
UInt_t * | buffer, | ||
UInt_t | num_words | ||
) |
Process the event buffer for configuration events.
Definition at line 326 of file QwSubsystemArray.cc.
Referenced by QwEventBuffer::FillSubsystemConfigurationData().
Int_t QwSubsystemArray::ProcessEvBuffer | ( | const UInt_t | event_type, |
const UInt_t | roc_id, | ||
const UInt_t | bank_id, | ||
UInt_t * | buffer, | ||
UInt_t | num_words | ||
) |
Process the event buffer for events.
Definition at line 339 of file QwSubsystemArray.cc.
References SetDataLoaded().
Referenced by QwEventBuffer::FillSubsystemData().
void QwSubsystemArray::ProcessEvent | ( | ) |
Process the decoded data in this event.
Definition at line 355 of file QwSubsystemArray.cc.
References VQwSubsystem::ExchangeProcessedData(), HasDataLoaded(), VQwSubsystem::ProcessEvent(), and VQwSubsystem::ProcessEvent_2().
Referenced by main().
|
inline |
Process configuration options (default behavior)
Definition at line 110 of file QwSubsystemArray.h.
References ProcessOptionsSubsystems().
Referenced by main().
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 252 of file QwSubsystemArray.cc.
References VQwSubsystem::ProcessOptions().
Referenced by ProcessOptions().
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 237 of file QwSubsystemArray.cc.
References fSubsystemsDisabledByName, fSubsystemsDisabledByType, fSubsystemsMapFile, QwOptions::GetValue(), and QwOptions::GetValueVector().
Referenced by QwSubsystemArray().
|
private |
Try to publish an internal variable matching the submitted name.
Try to publish an internal variable matching the submitted name
device_name | Name of the desired published variable |
Definition at line 697 of file QwSubsystemArray.cc.
References QwLog::endl(), fPublishedValuesSubsystem, ListPublishedValues(), and QwError.
Referenced by ReturnInternalValue().
Bool_t QwSubsystemArray::PublishInternalValue | ( | const TString | name, |
const TString | desc, | ||
const VQwSubsystem * | subsys, | ||
const VQwHardwareChannel * | element | ||
) |
Publish the value name with description from a subsystem in this array.
Publish the value name with description from a subsystem in this array
name | Name of the variable |
desc | Description of the variable |
subsys | Subsystem that contains the variable |
element | Data element that contains the variable |
Definition at line 675 of file QwSubsystemArray.cc.
References QwLog::endl(), fPublishedValuesDataElement, fPublishedValuesDescription, fPublishedValuesSubsystem, ListPublishedValues(), and QwError.
Referenced by VQwSubsystem::PublishInternalValue().
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 171 of file QwSubsystemArray.cc.
References QwLog::endl(), fEventTypeMask, fnCanContain, GetSubsystemByName(), VQwSubsystem::GetSubsystemName(), and QwError.
Referenced by LoadSubsystemsFromParameterFile(), and QwSubsystemArray().
void QwSubsystemArray::push_back | ( | boost::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.
void QwSubsystemArray::RandomizeEventData | ( | int | helicity = 0 , |
double | time = 0.0 |
||
) |
Randomize the data in this event.
Definition at line 373 of file QwSubsystemArray.cc.
Referenced by main().
Bool_t QwSubsystemArray::RequestExternalValue | ( | const TString & | name, |
VQwHardwareChannel * | value | ||
) | const |
Retrieve the variable name from other subsystem arrays.
Retrieve the variable name from other subsystem arrays
name | Variable name to be retrieved |
value | (return) Data element with the variable name |
Definition at line 594 of file QwSubsystemArray.cc.
References ReturnInternalValue().
Referenced by VQwSubsystem::RequestExternalValue().
const VQwHardwareChannel * QwSubsystemArray::ReturnInternalValue | ( | const TString & | name | ) | const |
Retrieve the variable name from subsystems in this subsystem array.
Retrieve the variable name from subsystems in this subsystem array
name | Variable name to be retrieved |
Definition at line 606 of file QwSubsystemArray.cc.
References QwLog::endl(), fPublishedValuesDataElement, fPublishedValuesSubsystem, PublishByRequest(), and QwError.
Referenced by QwRegression::ConnectChannels(), RequestExternalValue(), ReturnInternalValue(), ReturnInternalValueForFriends(), and QwBlinder::Update().
Bool_t QwSubsystemArray::ReturnInternalValue | ( | const TString & | name, |
VQwHardwareChannel * | value | ||
) | const |
Retrieve the variable name from subsystems in this subsystem array.
Retrieve the variable name from subsystems in this subsystem array
name | Variable name to be retrieved |
value | (return) Data element with the variable name |
Definition at line 642 of file QwSubsystemArray.cc.
References VQwHardwareChannel::AssignValueFrom(), QwLog::endl(), QwWarning, and ReturnInternalValue().
|
private |
Retrieve the variable name from subsystems in this subsystem array.
Retrieve the variable name from subsystems in this subsystem array
name | Variable name to be retrieved |
Definition at line 739 of file QwSubsystemArray.cc.
References ReturnInternalValue().
|
inline |
Set the internal record of the CODA event number.
Definition at line 77 of file QwSubsystemArray.h.
References fCleanParameter.
Referenced by QwEventBuffer::FillSubsystemData().
|
inline |
Set the internal record of the CODA event number.
Definition at line 64 of file QwSubsystemArray.h.
References fCodaEventNumber.
Referenced by ClearEventData(), and QwEventBuffer::FillSubsystemData().
|
inline |
Set the internal record of the CODA event type.
Definition at line 66 of file QwSubsystemArray.h.
References fCodaEventType.
Referenced by ClearEventData(), and QwEventBuffer::FillSubsystemData().
|
inline |
Set the internal record of the CODA run number.
Definition at line 60 of file QwSubsystemArray.h.
References fCodaRunNumber.
Referenced by QwEventBuffer::FillSubsystemData().
|
inline |
Set the internal record of the CODA segment number.
Definition at line 62 of file QwSubsystemArray.h.
References fCodaSegmentNumber.
Referenced by QwEventBuffer::FillSubsystemData().
|
inline |
Set data loaded flag.
Definition at line 99 of file QwSubsystemArray.h.
References fHasDataLoaded.
Referenced by ClearEventData(), and ProcessEvBuffer().
|
inline |
Set event type mask.
Definition at line 85 of file QwSubsystemArray.h.
References fEventTypeMask.
void QwSubsystemArray::ShareHistograms | ( | const QwSubsystemArray & | source | ) |
Share the histograms with another subsystem.
Definition at line 407 of file QwSubsystemArray.cc.
Referenced by main().
|
inline |
Update the event type mask from the subsystems.
Definition at line 89 of file QwSubsystemArray.h.
References fEventTypeMask, and VQwSubsystem::GetEventTypeMask().
Referenced by main().
|
friend |
Friend with regression class who needs write access to data.
Definition at line 182 of file QwSubsystemArray.h.
|
protected |
Definition at line 271 of file QwSubsystemArray.h.
Referenced by FillTreeVector(), and SetCleanParameters().
|
protected |
CODA event number as provided by QwEventBuffer.
Definition at line 268 of file QwSubsystemArray.h.
Referenced by ConstructBranch(), GetCodaEventNumber(), QwSubsystemArrayParity::operator=(), and SetCodaEventNumber().
|
protected |
CODA event type as provided by QwEventBuffer.
Definition at line 269 of file QwSubsystemArray.h.
Referenced by ConstructBranch(), GetCodaEventType(), and SetCodaEventType().
|
protected |
Index of this data element in root tree.
CODA run number as provided by QwEventBuffer
Definition at line 266 of file QwSubsystemArray.h.
Referenced by GetCodaRunNumber(), and SetCodaRunNumber().
|
protected |
CODA segment number as provided by QwEventBuffer.
Definition at line 267 of file QwSubsystemArray.h.
Referenced by GetCodaSegmentNumber(), and SetCodaSegmentNumber().
|
protected |
Mask of event types.
Definition at line 272 of file QwSubsystemArray.h.
Referenced by GetEventTypeMask(), push_back(), SetEventTypeMask(), and UpdateEventTypeMask().
|
protected |
Has this array gotten data to be processed?
Definition at line 273 of file QwSubsystemArray.h.
Referenced by HasDataLoaded(), and SetDataLoaded().
|
protected |
Function to determine which subsystems we can accept.
Definition at line 277 of file QwSubsystemArray.h.
Referenced by LoadSubsystemsFromParameterFile(), and push_back().
|
private |
Published values.
Definition at line 185 of file QwSubsystemArray.h.
Referenced by PublishInternalValue(), QwSubsystemArray(), and ReturnInternalValue().
|
private |
Definition at line 187 of file QwSubsystemArray.h.
Referenced by ListPublishedValues(), PublishInternalValue(), and QwSubsystemArray().
|
private |
Definition at line 186 of file QwSubsystemArray.h.
Referenced by PublishByRequest(), PublishInternalValue(), QwSubsystemArray(), and ReturnInternalValue().
|
private |
List of disabled types.
Definition at line 291 of file QwSubsystemArray.h.
Referenced by LoadSubsystemsFromParameterFile(), and ProcessOptionsToplevel().
|
private |
List of disabled names.
Definition at line 292 of file QwSubsystemArray.h.
Referenced by LoadSubsystemsFromParameterFile(), and ProcessOptionsToplevel().
|
private |
Filename of the global detector map.
Definition at line 286 of file QwSubsystemArray.h.
Referenced by ProcessOptionsToplevel(), and QwSubsystemArray().
|
protected |
Definition at line 263 of file QwSubsystemArray.h.
Referenced by ConstructBranchAndVector(), and FillTreeVector().