|
JAPAn
Just Another Parity Analyzer
|
Subsystem array container specialized for parity analysis with asymmetry calculations. More...
#include <QwSubsystemArrayParity.h>
Inheritance diagram for QwSubsystemArrayParity:
Collaboration diagram for QwSubsystemArrayParity:Public Member Functions | |
| QwSubsystemArrayParity (QwOptions &options) | |
| Constructor with options. | |
| QwSubsystemArrayParity (const QwSubsystemArrayParity &source) | |
| Copy constructor by reference. | |
| ~QwSubsystemArrayParity () override | |
| Default destructor. | |
| VQwSubsystemParity * | GetSubsystemByName (const TString &name) override |
| Get the subsystem with the specified name. | |
| void | ConstructBranchAndVector (TTree *tree, TString &prefix, QwRootTreeBranchVector &values) |
| Construct a branch and vector for this subsystem with a prefix. | |
| void | FillTreeVector (QwRootTreeBranchVector &values) const |
| Fill the vector for this subsystem. | |
| void | FillHistograms () |
| Fill the histograms for this subsystem. | |
| void | FillDB_MPS (QwParityDB *db, TString type) |
| Fill the database with MPS-based variables Note that most subsystems don't need to do this. | |
| void | FillDB (QwParityDB *db, TString type) |
| Fill the database. | |
| void | FillErrDB (QwParityDB *db, TString type) |
| QwSubsystemArrayParity & | operator= (const QwSubsystemArrayParity &value) |
| Assignment operator. | |
| QwSubsystemArrayParity & | operator+= (const QwSubsystemArrayParity &value) |
| Addition-assignment operator. | |
| QwSubsystemArrayParity & | operator-= (const QwSubsystemArrayParity &value) |
| Subtraction-assignment operator. | |
| void | Sum (const QwSubsystemArrayParity &value1, const QwSubsystemArrayParity &value2) |
| Sum of two subsystem arrays. | |
| void | Difference (const QwSubsystemArrayParity &value1, const QwSubsystemArrayParity &value2) |
| Difference of two subsystem arrays. | |
| void | Ratio (const QwSubsystemArrayParity &numer, const QwSubsystemArrayParity &denom) |
| Ratio of two subsystem arrays. | |
| void | Scale (Double_t factor) |
| Scale this subsystem array. | |
| void | AccumulateRunningSum (const QwSubsystemArrayParity &value, Int_t count=0, Int_t ErrorMask=0xFFFFFFF) |
| Update the running sums for devices accumulated for the global error non-zero events/patterns. | |
| void | AccumulateAllRunningSum (const QwSubsystemArrayParity &value, Int_t count=0, Int_t ErrorMask=0xFFFFFFF) |
| Update the running sums for devices check only the error flags at the channel level. Only used for stability checks. | |
| void | DeaccumulateRunningSum (const QwSubsystemArrayParity &value, Int_t ErrorMask=0xFFFFFFF) |
| Remove the entry value from the running sums for devices. | |
| void | CalculateRunningAverage () |
| Calculate the average for all good events. | |
| void | Blind (const QwBlinder *blinder) |
| Blind the asymmetry of this subsystem. | |
| void | UnBlind (const QwBlinder *) |
| Unblind the asymmetry of this subsystem. | |
| void | Blind (const QwBlinder *blinder, const QwSubsystemArrayParity &yield) |
| Blind the difference of this subsystem. | |
| void | UnBlind (const QwBlinder *, const QwSubsystemArrayParity &) |
| Unblind the difference of this subsystem. | |
| Bool_t | ApplySingleEventCuts () |
| Apply the single event cuts. | |
| void | IncrementErrorCounters () |
| Update the data elements' error counters based on their internal error flags. | |
| Bool_t | CheckForBurpFail (QwSubsystemArrayParity &event) |
| Bool_t | CheckBadEventRange () |
| void | PrintErrorCounters () const |
| Report the number of events failed due to HW and event cut failures. | |
| UInt_t | GetEventcutErrorFlag () const |
| Return the error flag to the main routine. | |
| const UInt_t * | GetEventcutErrorFlagPointer () const |
| void | UpdateErrorFlag () |
| Update the error flag internally from all the subsystems. | |
| void | UpdateErrorFlag (const QwSubsystemArrayParity &ev_error) |
| update the error flag for each channel in the subsystem array with the corresponding value in the ev_error subsystem array | |
| void | UpdateErrorFlag (UInt_t errflag) |
| void | PrintValue () const |
| Print value of all channels. | |
| void | WritePromptSummary (QwPromptSummary *ps, TString type) |
| virtual Bool_t | CheckForEndOfBurst () const |
| void | LoadMockDataParameters (std::string mapfile) |
Public Member Functions inherited from QwSubsystemArray | |
| 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 | 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 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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 () |
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. | |
Protected Member Functions | |
| void | BuildResolvedParitySelf () const |
| void | ResolveParityPairing (const QwSubsystemArrayParity &value, const char *context) const |
| void | LoadSubsystemsFromParameterFile (QwParameterFile &detectors) |
| void | InvalidateResolvedDispatchCache () |
| void | BuildResolvedSelf () const |
| void | ResolvePairing (const QwSubsystemArray &source, const char *context) const |
Static Protected Member Functions | |
| static Bool_t | CanContain (VQwSubsystem *subsys) |
| Test whether this subsystem array can contain a particular subsystem. | |
| static Bool_t | CanContain (VQwSubsystem *subsys) |
| Test whether this subsystem array can contain a particular subsystem. | |
Protected Attributes | |
| UInt_t | fErrorFlag |
| Int_t | fErrorFlagTreeIndex |
| std::vector< VQwSubsystemParity * > | fResolvedParitySelf |
| const QwSubsystemArrayParity * | fResolvedParityPeer = nullptr |
| std::vector< VQwSubsystem * > | fResolvedParityPeerSlots |
| std::vector< Bool_t > | fResolvedParityCompatible |
| 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. | |
| 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 |
| std::vector< VQwSubsystem * > | fResolvedSelf |
| const QwSubsystemArray * | fResolvedPeer = nullptr |
| std::vector< VQwSubsystem * > | fResolvedPeerSlots |
| std::vector< Bool_t > | fResolvedPairCompatible |
| double | fWindowPeriod |
Private Member Functions | |
| QwSubsystemArrayParity () | |
| Private default constructor. | |
Friends | |
| class | VQwDataHandler |
| class | QwAlarmHandler |
| class | QwCombiner |
| class | QwCorrelator |
| class | LRBCorrector |
| class | QwExtractor |
Additional Inherited Members | |
Public Types inherited from QwSubsystemArray | |
| typedef Bool_t(* | CanContainFn) (VQwSubsystem *) |
Static Public Member Functions inherited from QwSubsystemArray | |
| static void | DefineOptions (QwOptions &options) |
| Define configuration options for global array. | |
Data Fields inherited from MQwPublishable< QwSubsystemArray, VQwSubsystem > | |
| std::vector< std::vector< TString > > | fPublishList |
Subsystem array container specialized for parity analysis with asymmetry calculations.
Extends QwSubsystemArray to provide parity-specific operations such as asymmetry formation, helicity-based accumulation, blinding support, and database output for parity measurements. Manages collections of VQwSubsystemParity objects with coordinated event processing.
Definition at line 36 of file QwSubsystemArrayParity.h.
|
private |
Private default constructor.
Referenced by AccumulateAllRunningSum(), AccumulateRunningSum(), Blind(), CheckForBurpFail(), DeaccumulateRunningSum(), Difference(), operator+=(), operator-=(), operator=(), QwExtractor, QwSubsystemArrayParity(), Ratio(), ResolveParityPairing(), Sum(), UnBlind(), and UpdateErrorFlag().
Here is the caller graph for this function:| QwSubsystemArrayParity::QwSubsystemArrayParity | ( | QwOptions & | options | ) |
Constructor with options.
Default constructor.
Definition at line 20 of file QwSubsystemArrayParity.cc.
References CanContain(), fErrorFlag, fErrorFlagTreeIndex, and QwSubsystemArray::QwSubsystemArray().
Here is the call graph for this function:| QwSubsystemArrayParity::QwSubsystemArrayParity | ( | const QwSubsystemArrayParity & | source | ) |
Copy constructor by reference.
Copy constructor.
Definition at line 31 of file QwSubsystemArrayParity.cc.
References fErrorFlag, fErrorFlagTreeIndex, QwSubsystemArray::QwSubsystemArray(), and QwSubsystemArrayParity().
Here is the call graph for this function:
|
override |
Default destructor.
Destructor.
Definition at line 42 of file QwSubsystemArrayParity.cc.
| void QwSubsystemArrayParity::AccumulateAllRunningSum | ( | const QwSubsystemArrayParity & | value, |
| Int_t | count = 0, | ||
| Int_t | ErrorMask = 0xFFFFFFF ) |
Update the running sums for devices check only the error flags at the channel level. Only used for stability checks.
Definition at line 313 of file QwSubsystemArrayParity.cc.
References fResolvedParityCompatible, fResolvedParityPeerSlots, fResolvedParitySelf, QwSubsystemArrayParity(), and ResolveParityPairing().
Here is the call graph for this function:| void QwSubsystemArrayParity::AccumulateRunningSum | ( | const QwSubsystemArrayParity & | value, |
| Int_t | count = 0, | ||
| Int_t | ErrorMask = 0xFFFFFFF ) |
Update the running sums for devices accumulated for the global error non-zero events/patterns.
Definition at line 290 of file QwSubsystemArrayParity.cc.
References QwSubsystemArray::fCodaEventNumber, fResolvedParityCompatible, fResolvedParityPeerSlots, fResolvedParitySelf, GetEventcutErrorFlag(), QwSubsystemArrayParity(), and ResolveParityPairing().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| Bool_t QwSubsystemArrayParity::ApplySingleEventCuts | ( | ) |
Apply the single event cuts.
Definition at line 450 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::ApplySingleEventCuts(), CheckBadEventRange(), fErrorFlag, VQwSubsystemParity::GetEventcutErrorFlag(), kBadEventRangeError, kEventCutMode3, kGlobalCut, and UpdateErrorFlag().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArrayParity::Blind | ( | const QwBlinder * | blinder | ) |
Blind the asymmetry of this subsystem.
Definition at line 363 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::Blind(), QwLog::endl(), and QwError.
Referenced by QwBlinder::Blind(), QwBlinder::Blind(), QwBlinder::BlindPair(), and QwBlinder::BlindPair().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArrayParity::Blind | ( | const QwBlinder * | blinder, |
| const QwSubsystemArrayParity & | yield ) |
Blind the difference of this subsystem.
Definition at line 382 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::Blind(), QwLog::endl(), QwError, and QwSubsystemArrayParity().
Here is the call graph for this function:
|
protected |
Definition at line 47 of file QwSubsystemArrayParity.cc.
References QwLog::endl(), fResolvedParityCompatible, fResolvedParityPeer, fResolvedParityPeerSlots, fResolvedParitySelf, and QwError.
Referenced by ResolveParityPairing().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArrayParity::CalculateRunningAverage | ( | ) |
Calculate the average for all good events.
Definition at line 280 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::CalculateRunningAverage().
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 151 of file QwSubsystemArrayParity.h.
Referenced by QwSubsystemArrayParity().
Here is the caller graph for this function:| Bool_t QwSubsystemArrayParity::CheckBadEventRange | ( | ) |
Definition at line 596 of file QwSubsystemArrayParity.cc.
References QwSubsystemArray::fBadEventRange, and QwSubsystemArray::fCodaEventNumber.
Referenced by ApplySingleEventCuts(), and UpdateErrorFlag().
Here is the caller graph for this function:| Bool_t QwSubsystemArrayParity::CheckForBurpFail | ( | QwSubsystemArrayParity & | event | ) |
Definition at line 502 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::CheckForBurpFail(), QwLog::endl(), QwError, and QwSubsystemArrayParity().
Here is the call graph for this function:
|
virtual |
Definition at line 268 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::CheckForEndOfBurst().
Here is the call graph for this function:| void QwSubsystemArrayParity::ConstructBranchAndVector | ( | TTree * | tree, |
| TString & | prefix, | ||
| QwRootTreeBranchVector & | values ) |
Construct a branch and vector for this subsystem with a prefix.
Definition at line 608 of file QwSubsystemArrayParity.cc.
References QwRootTreeBranchVector::back(), QwSubsystemArray::ConstructBranchAndVector(), fErrorFlagTreeIndex, QwRootTreeBranchVector::push_back(), and QwRootTreeBranchVector::size().
Here is the call graph for this function:| void QwSubsystemArrayParity::DeaccumulateRunningSum | ( | const QwSubsystemArrayParity & | value, |
| Int_t | ErrorMask = 0xFFFFFFF ) |
Remove the entry value from the running sums for devices.
Definition at line 336 of file QwSubsystemArrayParity.cc.
References fResolvedParityCompatible, fResolvedParityPeerSlots, fResolvedParitySelf, QwSubsystemArrayParity(), and ResolveParityPairing().
Here is the call graph for this function:| void QwSubsystemArrayParity::Difference | ( | const QwSubsystemArrayParity & | value1, |
| const QwSubsystemArrayParity & | value2 ) |
Difference of two subsystem arrays.
Difference of two subsystem arrays
| value1 | First subsystem array |
| value2 | Second subsystem array |
Definition at line 229 of file QwSubsystemArrayParity.cc.
References QwSubsystemArrayParity().
Here is the call graph for this function:| void QwSubsystemArrayParity::FillDB | ( | QwParityDB * | db, |
| TString | type ) |
Fill the database.
Definition at line 116 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::FillDB().
Here is the call graph for this function:| void QwSubsystemArrayParity::FillDB_MPS | ( | QwParityDB * | db, |
| TString | type ) |
Fill the database with MPS-based variables Note that most subsystems don't need to do this.
Definition at line 108 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::FillDB_MPS().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArrayParity::FillErrDB | ( | QwParityDB * | db, |
| TString | type ) |
Definition at line 124 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::FillErrDB().
Here is the call graph for this function:| void QwSubsystemArrayParity::FillHistograms | ( | ) |
Fill the histograms for this subsystem.
Definition at line 629 of file QwSubsystemArrayParity.cc.
References QwSubsystemArray::FillHistograms(), and GetEventcutErrorFlag().
Here is the call graph for this function:| void QwSubsystemArrayParity::FillTreeVector | ( | QwRootTreeBranchVector & | values | ) | const |
Fill the vector for this subsystem.
Definition at line 619 of file QwSubsystemArrayParity.cc.
References fErrorFlag, fErrorFlagTreeIndex, QwSubsystemArray::FillTreeVector(), QwRootTreeBranchVector::SetValue(), and QwRootTreeBranchVector::size().
Here is the call graph for this function:
|
inline |
Return the error flag to the main routine.
Definition at line 124 of file QwSubsystemArrayParity.h.
References fErrorFlag.
Referenced by QwHelicityPattern::AccumulateRunningSum(), AccumulateRunningSum(), and FillHistograms().
Here is the caller graph for this function:
|
inline |
Definition at line 127 of file QwSubsystemArrayParity.h.
References fErrorFlag.
Referenced by GrandCorrelator::ConnectChannels(), QwAlarmHandler::ConnectChannels(), QwCombiner::ConnectChannels(), QwCorrelator::ConnectChannels(), QwCorrelatorNew::ConnectChannels(), VQwDataHandler::ConnectChannels(), and VQwDataHandler::SetPointer().
Here is the caller graph for this function:
|
overridevirtual |
Get the subsystem with the specified name.
Reimplemented from QwSubsystemArray.
Definition at line 101 of file QwSubsystemArrayParity.cc.
References QwSubsystemArray::GetSubsystemByName().
Referenced by LoadMockDataParameters(), and main().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArrayParity::IncrementErrorCounters | ( | ) |
Update the data elements' error counters based on their internal error flags.
Definition at line 491 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::IncrementErrorCounters().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArrayParity::LoadMockDataParameters | ( | std::string | mapfile | ) |
Definition at line 636 of file QwSubsystemArrayParity.cc.
References QwLog::endl(), QwSubsystemArray::fWindowPeriod, GetSubsystemByName(), VQwSubsystemParity::LoadMockDataParameters(), Qw::ms, QwError, QwMessage, QwVerbose, QwParameterFile::ReadNextSection(), QwParameterFile::ReadSectionPreamble(), and Qw::sec.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| QwSubsystemArrayParity & QwSubsystemArrayParity::operator+= | ( | const QwSubsystemArrayParity & | value | ) |
Addition-assignment operator.
Addition-assignment operator
| value | Subsystem array to add to this array |
Definition at line 160 of file QwSubsystemArrayParity.cc.
References QwSubsystemArray::fCodaEventNumber, fErrorFlag, fResolvedParityCompatible, fResolvedParityPeerSlots, fResolvedParitySelf, QwSubsystemArrayParity(), and ResolveParityPairing().
Here is the call graph for this function:| QwSubsystemArrayParity & QwSubsystemArrayParity::operator-= | ( | const QwSubsystemArrayParity & | value | ) |
Subtraction-assignment operator.
Subtraction-assignment operator
| value | Subsystem array to subtract from this array |
Definition at line 186 of file QwSubsystemArrayParity.cc.
References QwSubsystemArray::fCodaEventNumber, fErrorFlag, fResolvedParityCompatible, fResolvedParityPeerSlots, fResolvedParitySelf, QwSubsystemArrayParity(), and ResolveParityPairing().
Here is the call graph for this function:| QwSubsystemArrayParity & QwSubsystemArrayParity::operator= | ( | const QwSubsystemArrayParity & | source | ) |
Assignment operator.
Assignment operator
| source | Subsystem array to assign to this array |
Definition at line 147 of file QwSubsystemArrayParity.cc.
References fErrorFlag, QwSubsystemArray::operator=(), and QwSubsystemArrayParity().
Here is the call graph for this function:| void QwSubsystemArrayParity::PrintErrorCounters | ( | ) | const |
Report the number of events failed due to HW and event cut failures.
Definition at line 531 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::PrintErrorCounters().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArrayParity::PrintValue | ( | ) | const |
Print value of all channels.
Definition at line 256 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::PrintValue().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArrayParity::Ratio | ( | const QwSubsystemArrayParity & | numer, |
| const QwSubsystemArrayParity & | denom ) |
Ratio of two subsystem arrays.
Definition at line 409 of file QwSubsystemArrayParity.cc.
References QwLog::endl(), fErrorFlag, QwError, QwSubsystemArrayParity(), and VQwSubsystemParity::Ratio().
Here is the call graph for this function:
|
protected |
Definition at line 67 of file QwSubsystemArrayParity.cc.
References BuildResolvedParitySelf(), QwLog::endl(), fResolvedParityCompatible, fResolvedParityPeer, fResolvedParityPeerSlots, fResolvedParitySelf, QwError, and QwSubsystemArrayParity().
Referenced by AccumulateAllRunningSum(), AccumulateRunningSum(), DeaccumulateRunningSum(), operator+=(), and operator-=().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArrayParity::Scale | ( | Double_t | factor | ) |
Scale this subsystem array.
Scale this subsystem array
| factor | Scale factor |
Definition at line 246 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::Scale().
Here is the call graph for this function:| void QwSubsystemArrayParity::Sum | ( | const QwSubsystemArrayParity & | value1, |
| const QwSubsystemArrayParity & | value2 ) |
Sum of two subsystem arrays.
Sum of two subsystem arrays
| value1 | First subsystem array |
| value2 | Second subsystem array |
Definition at line 212 of file QwSubsystemArrayParity.cc.
References QwSubsystemArrayParity().
Here is the call graph for this function:
|
inline |
Unblind the asymmetry of this subsystem.
Definition at line 104 of file QwSubsystemArrayParity.h.
Referenced by QwBlinder::UnBlind(), and QwBlinder::UnBlind().
Here is the caller graph for this function:
|
inline |
Unblind the difference of this subsystem.
Definition at line 109 of file QwSubsystemArrayParity.h.
References QwSubsystemArrayParity().
Here is the call graph for this function:| void QwSubsystemArrayParity::UpdateErrorFlag | ( | ) |
Update the error flag internally from all the subsystems.
Definition at line 578 of file QwSubsystemArrayParity.cc.
References CheckBadEventRange(), fErrorFlag, kBadEventRangeError, and VQwSubsystemParity::UpdateErrorFlag().
Referenced by ApplySingleEventCuts().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwSubsystemArrayParity::UpdateErrorFlag | ( | const QwSubsystemArrayParity & | ev_error | ) |
update the error flag for each channel in the subsystem array with the corresponding value in the ev_error subsystem array
Definition at line 541 of file QwSubsystemArrayParity.cc.
References QwLog::endl(), fErrorFlag, QwError, QwSubsystemArrayParity(), and VQwSubsystemParity::UpdateErrorFlag().
Here is the call graph for this function:
|
inline |
Definition at line 137 of file QwSubsystemArrayParity.h.
References fErrorFlag.
| void QwSubsystemArrayParity::WritePromptSummary | ( | QwPromptSummary * | ps, |
| TString | type ) |
Definition at line 132 of file QwSubsystemArrayParity.cc.
References VQwSubsystemParity::WritePromptSummary().
Here is the call graph for this function:
|
friend |
Definition at line 49 of file QwSubsystemArrayParity.h.
References LRBCorrector.
Referenced by LRBCorrector.
|
friend |
Definition at line 46 of file QwSubsystemArrayParity.h.
References QwAlarmHandler.
Referenced by QwAlarmHandler.
|
friend |
Definition at line 47 of file QwSubsystemArrayParity.h.
References QwCombiner.
Referenced by QwCombiner.
|
friend |
Definition at line 48 of file QwSubsystemArrayParity.h.
References QwCorrelator.
Referenced by QwCorrelator.
|
friend |
Definition at line 50 of file QwSubsystemArrayParity.h.
References QwExtractor, and QwSubsystemArrayParity().
Referenced by QwExtractor.
|
friend |
Definition at line 45 of file QwSubsystemArrayParity.h.
References VQwDataHandler.
Referenced by VQwDataHandler.
|
protected |
Definition at line 155 of file QwSubsystemArrayParity.h.
Referenced by ApplySingleEventCuts(), FillTreeVector(), GetEventcutErrorFlag(), GetEventcutErrorFlagPointer(), operator+=(), operator-=(), operator=(), QwSubsystemArrayParity(), QwSubsystemArrayParity(), Ratio(), UpdateErrorFlag(), UpdateErrorFlag(), and UpdateErrorFlag().
|
protected |
Definition at line 156 of file QwSubsystemArrayParity.h.
Referenced by ConstructBranchAndVector(), FillTreeVector(), QwSubsystemArrayParity(), and QwSubsystemArrayParity().
|
mutableprotected |
Definition at line 162 of file QwSubsystemArrayParity.h.
Referenced by AccumulateAllRunningSum(), AccumulateRunningSum(), BuildResolvedParitySelf(), DeaccumulateRunningSum(), operator+=(), operator-=(), and ResolveParityPairing().
|
mutableprotected |
Definition at line 160 of file QwSubsystemArrayParity.h.
Referenced by BuildResolvedParitySelf(), and ResolveParityPairing().
|
mutableprotected |
Definition at line 161 of file QwSubsystemArrayParity.h.
Referenced by AccumulateAllRunningSum(), AccumulateRunningSum(), BuildResolvedParitySelf(), DeaccumulateRunningSum(), operator+=(), operator-=(), and ResolveParityPairing().
|
mutableprotected |
Definition at line 159 of file QwSubsystemArrayParity.h.
Referenced by AccumulateAllRunningSum(), AccumulateRunningSum(), BuildResolvedParitySelf(), DeaccumulateRunningSum(), operator+=(), operator-=(), and ResolveParityPairing().