|
JAPAn
Just Another Parity Analyzer
|
The pure virtual base class of all data elements. More...
#include <VQwDataElement.h>
Inheritance diagram for VQwDataElement:
Collaboration diagram for VQwDataElement:Public Types | |
| enum | EDataToSave { kRaw = 0 , kDerived , kMoments } |
Public Member Functions | |
| VQwDataElement () | |
| Default constructor. | |
| VQwDataElement (const VQwDataElement &value) | |
| Copy constructor. | |
| ~VQwDataElement () override | |
| Virtual destructor. | |
| void | CopyFrom (const VQwDataElement &value) |
| Bool_t | IsNameEmpty () const |
| Is the name of this element empty? | |
| void | SetElementName (const TString &name) |
| Set the name of this element. | |
| virtual const TString & | GetElementName () const |
| Get the name of this element. | |
| virtual void | LoadChannelParameters (QwParameterFile &) |
| virtual void | LoadMockDataParameters (QwParameterFile &) |
| virtual void | ClearEventData () |
| Clear the event data in this element. | |
| virtual Int_t | ProcessEvBuffer (UInt_t *buffer, UInt_t num_words_left, UInt_t subelement=0)=0 |
| Process the CODA event buffer for this element. | |
| size_t | GetNumberOfDataWords () |
| Get the number of data words in this data element. | |
| UInt_t | GetGoodEventCount () const |
| virtual void | AssignValueFrom (const VQwDataElement *) |
| VQwDataElement & | operator+= (const VQwDataElement &) |
| Addition-assignment operator. | |
| VQwDataElement & | operator-= (const VQwDataElement &) |
| Subtraction-assignment operator. | |
| void | Sum (const VQwDataElement &, const VQwDataElement &) |
| Sum operator (base class fallback throws runtime error) | |
| void | Difference (const VQwDataElement &, const VQwDataElement &) |
| Difference operator (base class fallback throws runtime error) | |
| void | Ratio (const VQwDataElement &, const VQwDataElement &) |
| Ratio operator (base class fallback throws runtime error) | |
| virtual void | ConstructHistograms (TDirectory *folder, TString &prefix)=0 |
| Construct the histograms for this data element. | |
| virtual void | FillHistograms ()=0 |
| Fill the histograms for this data element. | |
| virtual void | PrintValue () const |
| Print single line of value and error of this data element. | |
| virtual void | PrintInfo () const |
| Print multiple lines of information about this data element. | |
| void | SetSingleEventCuts (UInt_t, Double_t, Double_t, Double_t) |
| set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel | |
| virtual void | PrintErrorCounters () const |
| report number of events failed due to HW and event cut failure | |
| Bool_t | CheckForBurpFail (const VQwDataElement *) |
| virtual UInt_t | GetEventcutErrorFlag () |
| return the error flag on this channel/device | |
| virtual UInt_t | UpdateErrorFlag () |
| Update the error flag based on the error flags of internally contained objects Return parameter is the "Eventcut Error Flag". | |
| virtual void | SetNeedsExternalClock (Bool_t) |
| virtual Bool_t | NeedsExternalClock () |
| virtual std::string | GetExternalClockName () |
| virtual void | SetExternalClockPtr (const VQwHardwareChannel *) |
| virtual void | SetExternalClockName (const std::string) |
| virtual Double_t | GetNormClockValue () |
| TString | GetSubsystemName () const |
| Return the name of the inheriting subsystem name. | |
| void | SetSubsystemName (TString sysname) |
| Set the name of the inheriting subsystem name. | |
| TString | GetModuleType () const |
| Return the type of the beam instrument. | |
| void | SetModuleType (TString ModuleType) |
| set the type of the beam instrument | |
Public Member Functions inherited from MQwHistograms | |
| void | ShareHistograms (const MQwHistograms *source) |
| Share histogram pointers between objects. | |
Protected Member Functions | |
| void | SetNumberOfDataWords (const UInt_t &numwords) |
| Set the number of data words in this data element. | |
| VQwDataElement & | operator= (const VQwDataElement &value) |
| Arithmetic assignment operator: Should only copy event-based data. | |
| void | UpdateErrorFlag (const UInt_t &error) |
Protected Member Functions inherited from MQwHistograms | |
| MQwHistograms () | |
| Default constructor. | |
| MQwHistograms (const MQwHistograms &source) | |
| Copy constructor. | |
| virtual | ~MQwHistograms () |
| Virtual destructor. | |
| MQwHistograms & | operator= (const MQwHistograms &value) |
| void | Fill_Pointer (TH1_ptr hist_ptr, Double_t value) |
| void | AddHistogram (TH1 *h) |
| Register a histogram. | |
Protected Attributes | |
| TString | fElementName |
| Name of this data element. | |
| UInt_t | fNumberOfDataWords |
| Number of raw data words in this data element. | |
| UInt_t | fGoodEventCount |
| Number of good events accumulated in this element. | |
| TString | fSubsystemName |
| TString | fModuleType |
Event error flag | |
| UInt_t | fErrorFlag |
| This the standard error code generated for the channel that contains the global/local/stability flags and the Device error code (Unique error code for HW failures) | |
| UInt_t | fErrorConfigFlag |
| contains the global/local/stability flags | |
Protected Attributes inherited from MQwHistograms | |
| std::vector< TH1_ptr > | fHistograms |
| Histograms associated with this data element. | |
The pure virtual base class of all data elements.
This abstract base defines the fundamental interface for all data-carrying objects in the JAPAN-MOLLER framework. It establishes the dual-operator architectural pattern where derived classes must implement both type-specific and polymorphic versions of arithmetic operations.
Derived& operator+=(const Derived&)Base& operator+=(const Base&) that delegate via dynamic_cast to the type-specific versionoperator+=, operator-= (both type-specific and polymorphic versions)Sum(), Difference(), Ratio() (both versions)SetSingleEventCuts(), CheckForBurpFail() (both versions)UpdateErrorFlag() (with appropriate delegation)Definition at line 79 of file VQwDataElement.h.
Flag to be used to decide which data needs to be histogrammed and entered in the tree
| Enumerator | |
|---|---|
| kRaw | |
| kDerived | |
| kMoments | |
Definition at line 83 of file VQwDataElement.h.
|
inline |
Default constructor.
Definition at line 89 of file VQwDataElement.h.
References fElementName, fErrorConfigFlag, fErrorFlag, fGoodEventCount, fModuleType, fNumberOfDataWords, fSubsystemName, and MQwHistograms::MQwHistograms().
Referenced by QwADC18_Channel::AssignValueFrom(), QwMollerADC_Channel::AssignValueFrom(), QwVQWK_Channel::AssignValueFrom(), AssignValueFrom(), VQwHardwareChannel::AssignValueFrom(), VQwScaler_Channel::AssignValueFrom(), QwBCM< T >::CheckForBurpFail(), QwBPMCavity::CheckForBurpFail(), QwBPMStripline< T >::CheckForBurpFail(), QwClock< T >::CheckForBurpFail(), QwCombinedBPM< T >::CheckForBurpFail(), QwCombinedPMT::CheckForBurpFail(), QwEnergyCalculator::CheckForBurpFail(), QwHaloMonitor::CheckForBurpFail(), QwIntegrationPMT::CheckForBurpFail(), QwLinearDiodeArray::CheckForBurpFail(), QwQPD::CheckForBurpFail(), VQwBCM::CheckForBurpFail(), VQwBPM::CheckForBurpFail(), CheckForBurpFail(), VQwScaler_Channel::CheckForBurpFail(), CopyFrom(), Difference(), QwCombinedPMT::Normalize(), QwIntegrationPMT::Normalize(), operator+=(), operator-=(), operator=(), QwCombinedPMT::QwCombinedPMT(), QwEnergyCalculator::QwEnergyCalculator(), QwHaloMonitor::QwHaloMonitor(), QwIntegrationPMT::QwIntegrationPMT(), QwPMT_Channel::QwPMT_Channel(), Ratio(), QwMollerADC_Channel::SetRawEventData(), QwLinearDiodeArray::SetSubElementName(), Sum(), VQwBCM::VQwBCM(), VQwBCM::VQwBCM(), VQwBPM::VQwBPM(), VQwClock::VQwClock(), VQwDataElement(), VQwHardwareChannel::VQwHardwareChannel(), and VQwHardwareChannel::VQwHardwareChannel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Copy constructor.
Definition at line 100 of file VQwDataElement.h.
References fElementName, fErrorConfigFlag, fErrorFlag, fGoodEventCount, fModuleType, fNumberOfDataWords, fSubsystemName, MQwHistograms::MQwHistograms(), and VQwDataElement().
Here is the call graph for this function:
|
inlineoverride |
|
inlinevirtual |
Reimplemented in QwADC18_Channel, QwMollerADC_Channel, QwVQWK_Channel, VQwHardwareChannel, and VQwScaler_Channel.
Definition at line 149 of file VQwDataElement.h.
References VQwDataElement().
Here is the call graph for this function:
|
inline |
Definition at line 186 of file VQwDataElement.h.
References VQwDataElement().
Referenced by VQwBCM::CheckForBurpFail(), and VQwBPM::CheckForBurpFail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Clear the event data in this element.
Reimplemented in QwADC18_Channel, QwBCM< T >, QwBPMCavity, QwBPMStripline< T >, QwClock< T >, QwCombinedBPM< T >, QwCombinedPMT, QwEnergyCalculator, QwHaloMonitor, QwIntegrationPMT, QwLinearDiodeArray, QwMollerADC_Channel, QwPMT_Channel, QwQPD, QwVQWK_Channel, VQwBCM, VQwClock, VQwHardwareChannel, and VQwScaler_Channel.
Definition at line 137 of file VQwDataElement.h.
References fErrorFlag.
Referenced by VQwHardwareChannel::ClearEventData().
Here is the caller graph for this function:
|
pure virtual |
Construct the histograms for this data element.
Implemented in QwADC18_Channel, QwBCM< T >, QwBPMCavity, QwBPMStripline< T >, QwClock< T >, QwCombinedBPM< T >, QwCombinedPMT, QwEnergyCalculator, QwHaloMonitor, QwIntegrationPMT, QwLinearDiodeArray, QwMollerADC_Channel, QwPMT_Channel, QwQPD, QwVQWK_Channel, VQwBCM, VQwBPM, VQwClock, and VQwScaler_Channel.
|
inline |
Definition at line 113 of file VQwDataElement.h.
References fElementName, fErrorConfigFlag, fErrorFlag, fGoodEventCount, fModuleType, fSubsystemName, and VQwDataElement().
Referenced by VQwHardwareChannel::CopyFrom().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Difference operator (base class fallback throws runtime error)
Definition at line 164 of file VQwDataElement.h.
References VQwDataElement().
Here is the call graph for this function:
|
pure virtual |
Fill the histograms for this data element.
Implemented in QwADC18_Channel, QwBCM< T >, QwBPMCavity, QwBPMStripline< T >, QwClock< T >, QwCombinedBPM< T >, QwCombinedPMT, QwEnergyCalculator, QwHaloMonitor, QwIntegrationPMT, QwLinearDiodeArray, QwMollerADC_Channel, QwPMT_Channel, QwQPD, QwVQWK_Channel, VQwBCM, VQwBPM, VQwClock, and VQwScaler_Channel.
|
inlinevirtual |
Get the name of this element.
Definition at line 128 of file VQwDataElement.h.
References fElementName.
Referenced by QwADC18_Channel::AccumulateRunningSum(), QwMollerADC_Channel::AccumulateRunningSum(), QwVQWK_Channel::AccumulateRunningSum(), VQwBPM::AccumulateRunningSum(), VQwScaler_Channel::AccumulateRunningSum(), QwADC18_Channel::AddValueFrom(), QwMollerADC_Channel::AddValueFrom(), QwVQWK_Channel::AddValueFrom(), VQwScaler_Channel::AddValueFrom(), QwADC18_Channel::ApplyHWChecks(), QwMollerADC_Channel::ApplyHWChecks(), QwVQWK_Channel::ApplyHWChecks(), VQwBPM::ApplyResolutionSmearing(), QwADC18_Channel::AssignValueFrom(), QwMollerADC_Channel::AssignValueFrom(), QwVQWK_Channel::AssignValueFrom(), VQwScaler_Channel::AssignValueFrom(), QwCombinedBPM< T >::CalculateFixedParameter(), QwCombinedPMT::CalculateSumAndAverage(), QwBCM< T >::CheckForBurpFail(), QwBPMCavity::CheckForBurpFail(), QwBPMStripline< T >::CheckForBurpFail(), QwCombinedBPM< T >::CheckForBurpFail(), QwCombinedPMT::CheckForBurpFail(), QwEnergyCalculator::CheckForBurpFail(), QwHaloMonitor::CheckForBurpFail(), QwIntegrationPMT::CheckForBurpFail(), QwLinearDiodeArray::CheckForBurpFail(), QwQPD::CheckForBurpFail(), QwCombiner::ConnectChannels(), QwCombiner::ConnectChannels(), VQwDataHandler::ConnectChannels(), QwADC18_Channel::ConstructBranch(), QwBCM< T >::ConstructBranch(), QwBCM< T >::ConstructBranch(), QwBPMCavity::ConstructBranch(), QwBPMCavity::ConstructBranch(), QwBPMStripline< T >::ConstructBranch(), QwBPMStripline< T >::ConstructBranch(), QwClock< T >::ConstructBranch(), QwClock< T >::ConstructBranch(), QwCombinedBPM< T >::ConstructBranch(), QwCombinedBPM< T >::ConstructBranch(), QwCombinedPMT::ConstructBranch(), QwCombinedPMT::ConstructBranch(), QwEnergyCalculator::ConstructBranch(), QwEnergyCalculator::ConstructBranch(), QwHaloMonitor::ConstructBranch(), QwHaloMonitor::ConstructBranch(), QwIntegrationPMT::ConstructBranch(), QwIntegrationPMT::ConstructBranch(), QwLinearDiodeArray::ConstructBranch(), QwLinearDiodeArray::ConstructBranch(), QwMollerADC_Channel::ConstructBranch(), QwQPD::ConstructBranch(), QwQPD::ConstructBranch(), QwVQWK_Channel::ConstructBranch(), VQwHardwareChannel::ConstructBranch(), VQwScaler_Channel::ConstructBranch(), QwADC18_Channel::ConstructBranchAndVector(), QwBCM< T >::ConstructBranchAndVector(), QwBPMCavity::ConstructBranchAndVector(), QwBPMStripline< T >::ConstructBranchAndVector(), QwClock< T >::ConstructBranchAndVector(), QwCombinedBPM< T >::ConstructBranchAndVector(), QwCombinedPMT::ConstructBranchAndVector(), QwEnergyCalculator::ConstructBranchAndVector(), QwHaloMonitor::ConstructBranchAndVector(), QwIntegrationPMT::ConstructBranchAndVector(), QwLinearDiodeArray::ConstructBranchAndVector(), QwMollerADC_Channel::ConstructBranchAndVector(), QwPMT_Channel::ConstructBranchAndVector(), QwQPD::ConstructBranchAndVector(), QwScaler_Channel< data_mask, data_shift >::ConstructBranchAndVector(), QwVQWK_Channel::ConstructBranchAndVector(), QwADC18_Channel::ConstructHistograms(), QwBCM< T >::ConstructHistograms(), QwBPMCavity::ConstructHistograms(), QwBPMStripline< T >::ConstructHistograms(), QwClock< T >::ConstructHistograms(), QwCombinedBPM< T >::ConstructHistograms(), QwCombinedPMT::ConstructHistograms(), QwEnergyCalculator::ConstructHistograms(), QwHaloMonitor::ConstructHistograms(), QwIntegrationPMT::ConstructHistograms(), QwLinearDiodeArray::ConstructHistograms(), QwMollerADC_Channel::ConstructHistograms(), QwPMT_Channel::ConstructHistograms(), QwQPD::ConstructHistograms(), QwVQWK_Channel::ConstructHistograms(), VQwScaler_Channel::ConstructHistograms(), QwMollerADC_Channel::CopyParameters(), QwADC18_Channel::DivideBy(), QwMollerADC_Channel::DivideBy(), QwVQWK_Channel::DivideBy(), VQwScaler_Channel::DivideBy(), QwBCM< T >::FillHistograms(), QwBPMCavity::FillHistograms(), QwBPMStripline< T >::FillHistograms(), QwClock< T >::FillHistograms(), QwCombinedBPM< T >::FillHistograms(), QwCombinedPMT::FillHistograms(), QwEnergyCalculator::FillHistograms(), QwHaloMonitor::FillHistograms(), QwIntegrationPMT::FillHistograms(), QwLinearDiodeArray::FillHistograms(), QwPMT_Channel::FillHistograms(), QwQPD::FillHistograms(), VQwBPM::FillRawEventData(), QwADC18_Channel::FillTreeVector(), QwBCM< T >::FillTreeVector(), QwBPMCavity::FillTreeVector(), QwBPMStripline< T >::FillTreeVector(), QwClock< T >::FillTreeVector(), QwCombinedBPM< T >::FillTreeVector(), QwCombinedPMT::FillTreeVector(), QwEnergyCalculator::FillTreeVector(), QwHaloMonitor::FillTreeVector(), QwIntegrationPMT::FillTreeVector(), QwLinearDiodeArray::FillTreeVector(), QwPMT_Channel::FillTreeVector(), QwQPD::FillTreeVector(), QwScaler_Channel< data_mask, data_shift >::FillTreeVector(), QwQPD::GetCalibrationFactors(), VQwBPM::GetElectronicFactors(), QwBPMCavity::GetPosition(), QwBPMStripline< T >::GetPosition(), QwBPMStripline< T >::GetPosition(), QwCombinedBPM< T >::GetPosition(), QwLinearDiodeArray::GetPosition(), QwQPD::GetPosition(), VQwBPM::GetPosition(), QwEnergyCalculator::GetProjectedPosition(), QwCombinedBPM< T >::GetSlope(), QwBPMCavity::GetSubelementByName(), QwBPMStripline< T >::GetSubelementByName(), QwCombinedBPM< T >::GetSubelementByName(), QwLinearDiodeArray::GetSubelementByName(), QwQPD::GetSubelementByName(), QwBPMCavity::GetSubElementName(), QwBPMStripline< T >::GetSubElementName(), QwLinearDiodeArray::GetSubElementName(), QwQPD::GetSubElementName(), VQwBCM::GetSubElementName(), VQwBPM::GetSubElementName(), QwCombinedPMT::LinkChannel(), QwBeamLine::LoadChannelMap(), QwADC18_Channel::LoadChannelParameters(), QwMollerADC_Channel::LoadChannelParameters(), QwVQWK_Channel::LoadChannelParameters(), QwADC18_Channel::MatchNumberOfSamples(), QwMollerADC_Channel::MatchNumberOfSamples(), QwVQWK_Channel::MatchNumberOfSamples(), QwADC18_Channel::MultiplyBy(), QwMollerADC_Channel::MultiplyBy(), QwVQWK_Channel::MultiplyBy(), VQwScaler_Channel::MultiplyBy(), QwADC18_Channel::operator*=(), QwMollerADC_Channel::operator*=(), QwVQWK_Channel::operator*=(), VQwScaler_Channel::operator*=(), QwADC18_Channel::operator+=(), QwBCM< T >::operator+=(), QwBCM< T >::operator+=(), QwBPMCavity::operator+=(), QwBPMStripline< T >::operator+=(), QwClock< T >::operator+=(), QwClock< T >::operator+=(), QwCombinedBPM< T >::operator+=(), QwCombinedPMT::operator+=(), QwEnergyCalculator::operator+=(), QwHaloMonitor::operator+=(), QwIntegrationPMT::operator+=(), QwLinearDiodeArray::operator+=(), QwMollerADC_Channel::operator+=(), QwPMT_Channel::operator+=(), QwQPD::operator+=(), QwVQWK_Channel::operator+=(), operator+=(), VQwScaler_Channel::operator+=(), QwADC18_Channel::operator-=(), QwBCM< T >::operator-=(), QwBCM< T >::operator-=(), QwBPMCavity::operator-=(), QwBPMStripline< T >::operator-=(), QwClock< T >::operator-=(), QwClock< T >::operator-=(), QwCombinedBPM< T >::operator-=(), QwCombinedPMT::operator-=(), QwEnergyCalculator::operator-=(), QwHaloMonitor::operator-=(), QwIntegrationPMT::operator-=(), QwLinearDiodeArray::operator-=(), QwMollerADC_Channel::operator-=(), QwPMT_Channel::operator-=(), QwQPD::operator-=(), QwVQWK_Channel::operator-=(), operator-=(), VQwScaler_Channel::operator-=(), QwADC18_Channel::operator/=(), QwADC18_Channel::operator/=(), QwMollerADC_Channel::operator/=(), QwMollerADC_Channel::operator/=(), QwVQWK_Channel::operator/=(), QwVQWK_Channel::operator/=(), VQwScaler_Channel::operator/=(), VQwScaler_Channel::operator/=(), QwBCM< T >::operator=(), QwBCM< T >::operator=(), QwBPMCavity::operator=(), QwBPMStripline< T >::operator=(), QwClock< T >::operator=(), QwClock< T >::operator=(), QwCombinedBCM< T >::operator=(), QwCombinedBCM< T >::operator=(), QwCombinedBPM< T >::operator=(), QwCombinedPMT::operator=(), QwEnergyCalculator::operator=(), QwHaloMonitor::operator=(), QwIntegrationPMT::operator=(), QwLinearDiodeArray::operator=(), QwPMT_Channel::operator=(), QwQPD::operator=(), VQwBPM::operator=(), QwADC18_Channel::PrintErrorCounters(), QwMollerADC_Channel::PrintErrorCounters(), QwVQWK_Channel::PrintErrorCounters(), VQwScaler_Channel::PrintErrorCounters(), QwADC18_Channel::PrintInfo(), QwMollerADC_Channel::PrintInfo(), QwVQWK_Channel::PrintInfo(), PrintInfo(), VQwScaler_Channel::PrintInfo(), QwADC18_Channel::PrintValue(), QwMollerADC_Channel::PrintValue(), QwPMT_Channel::PrintValue(), QwVQWK_Channel::PrintValue(), VQwScaler_Channel::PrintValue(), QwADC18_Channel::ProcessEvBuffer(), QwADC18_Channel::ProcessEvent(), QwCombinedBCM< T >::ProcessEvent(), QwMollerADC_Channel::ProcessEvent(), QwVQWK_Channel::ProcessEvent(), VQwScaler_Channel::ProcessEvent(), VQwBPM::RandomizeEventData(), VQwHardwareChannel::RangeCheck(), QwBCM< T >::Ratio(), QwClock< T >::Ratio(), QwCombinedBPM< T >::Ratio(), QwHaloMonitor::Ratio(), QwIntegrationPMT::Ratio(), VQwBCM::Ratio(), VQwBPM::Ratio(), VQwHardwareChannel::Ratio(), QwADC18_Channel::ScaledAdd(), QwMollerADC_Channel::ScaledAdd(), QwVQWK_Channel::ScaledAdd(), VQwScaler_Channel::ScaledAdd(), QwEnergyCalculator::Set(), VQwBPM::SetRotation(), VQwBPM::SetSingleEventCuts(), VQwBPM::SetSingleEventCuts(), VQwHardwareChannel::SetSingleEventCuts(), QwADC18_Channel::SubtractValueFrom(), QwMollerADC_Channel::SubtractValueFrom(), QwVQWK_Channel::SubtractValueFrom(), VQwScaler_Channel::SubtractValueFrom(), QwBCM< T >::UpdateErrorFlag(), QwBPMCavity::UpdateErrorFlag(), QwBPMStripline< T >::UpdateErrorFlag(), QwCombinedBPM< T >::UpdateErrorFlag(), QwCombinedPMT::UpdateErrorFlag(), QwIntegrationPMT::UpdateErrorFlag(), QwLinearDiodeArray::UpdateErrorFlag(), QwQPD::UpdateErrorFlag(), and QwBeamLine::WritePromptSummary().
Here is the caller graph for this function:
|
inlinevirtual |
return the error flag on this channel/device
Reimplemented in QwBCM< T >, QwBPMCavity, QwBPMStripline< T >, QwClock< T >, QwCombinedBPM< T >, QwCombinedPMT, QwEnergyCalculator, QwHaloMonitor, QwIntegrationPMT, QwLinearDiodeArray, and QwQPD.
Definition at line 191 of file VQwDataElement.h.
References fErrorConfigFlag, fErrorFlag, and kGlobalCut.
Referenced by VQwBCM::UpdateErrorFlag(), UpdateErrorFlag(), and VQwHardwareChannel::UpdateErrorFlag().
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in QwBCM< T >, QwHaloMonitor, and VQwScaler_Channel.
Definition at line 210 of file VQwDataElement.h.
Referenced by QwBeamLine::LoadChannelMap().
Here is the caller graph for this function:
|
inline |
Definition at line 146 of file VQwDataElement.h.
References fGoodEventCount.
Referenced by QwMollerADC_Channel::PrintValue(), QwVQWK_Channel::PrintValue(), and VQwScaler_Channel::PrintValue().
Here is the caller graph for this function:
|
inline |
Return the type of the beam instrument.
Definition at line 228 of file VQwDataElement.h.
References fModuleType.
Referenced by QwMollerADC_Channel::ConstructBranchAndVector(), QwVQWK_Channel::ConstructBranchAndVector(), VQwBCM::Create(), VQwClock::Create(), VQwBCM::CreateCombo(), VQwBPM::CreateCombo(), VQwBPM::CreateStripline(), QwADC18_Channel::PrintInfo(), QwMollerADC_Channel::PrintInfo(), QwVQWK_Channel::PrintInfo(), QwADC18_Channel::PrintValue(), QwMollerADC_Channel::PrintValue(), QwVQWK_Channel::PrintValue(), and VQwScaler_Channel::PrintValue().
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in QwBCM< T >, QwClock< T >, QwHaloMonitor, VQwBCM, and VQwClock.
Definition at line 213 of file VQwDataElement.h.
|
inline |
Get the number of data words in this data element.
Definition at line 144 of file VQwDataElement.h.
References fNumberOfDataWords.
|
inline |
Return the name of the inheriting subsystem name.
Definition at line 218 of file VQwDataElement.h.
References fSubsystemName.
Referenced by QwMollerADC_Channel::ConstructBranchAndVector(), QwVQWK_Channel::ConstructBranchAndVector(), QwADC18_Channel::PrintInfo(), QwMollerADC_Channel::PrintInfo(), QwVQWK_Channel::PrintInfo(), QwADC18_Channel::PrintValue(), QwMollerADC_Channel::PrintValue(), QwVQWK_Channel::PrintValue(), and VQwScaler_Channel::PrintValue().
Here is the caller graph for this function:
|
inline |
Is the name of this element empty?
Definition at line 124 of file VQwDataElement.h.
References fElementName.
Referenced by QwADC18_Channel::AddChannelOffset(), QwMollerADC_Channel::AddChannelOffset(), QwVQWK_Channel::AddChannelOffset(), VQwScaler_Channel::AddChannelOffset(), QwADC18_Channel::ArcTan(), QwMollerADC_Channel::ArcTan(), QwVQWK_Channel::ArcTan(), QwADC18_Channel::AssignScaledValue(), QwMollerADC_Channel::AssignScaledValue(), QwVQWK_Channel::AssignScaledValue(), VQwScaler_Channel::AssignScaledValue(), QwADC18_Channel::Blind(), QwADC18_Channel::Blind(), QwMollerADC_Channel::Blind(), QwMollerADC_Channel::Blind(), QwVQWK_Channel::Blind(), QwVQWK_Channel::Blind(), QwADC18_Channel::ConstructBranch(), QwMollerADC_Channel::ConstructBranch(), QwVQWK_Channel::ConstructBranch(), VQwScaler_Channel::ConstructBranch(), QwADC18_Channel::ConstructBranchAndVector(), QwMollerADC_Channel::ConstructBranchAndVector(), QwScaler_Channel< data_mask, data_shift >::ConstructBranchAndVector(), QwVQWK_Channel::ConstructBranchAndVector(), QwADC18_Channel::ConstructHistograms(), QwMollerADC_Channel::ConstructHistograms(), QwVQWK_Channel::ConstructHistograms(), QwADC18_Channel::EncodeEventData(), QwMollerADC_Channel::EncodeEventData(), QwPMT_Channel::EncodeEventData(), QwScaler_Channel< data_mask, data_shift >::EncodeEventData(), QwVQWK_Channel::EncodeEventData(), QwADC18_Channel::FillHistograms(), QwMollerADC_Channel::FillHistograms(), QwVQWK_Channel::FillHistograms(), VQwScaler_Channel::FillHistograms(), QwADC18_Channel::FillTreeVector(), QwMollerADC_Channel::FillTreeVector(), QwScaler_Channel< data_mask, data_shift >::FillTreeVector(), QwVQWK_Channel::FillTreeVector(), QwADC18_Channel::MatchNumberOfSamples(), QwMollerADC_Channel::MatchNumberOfSamples(), QwVQWK_Channel::MatchNumberOfSamples(), QwADC18_Channel::MatchSequenceNumber(), QwMollerADC_Channel::MatchSequenceNumber(), QwVQWK_Channel::MatchSequenceNumber(), QwADC18_Channel::operator*=(), QwMollerADC_Channel::operator*=(), QwVQWK_Channel::operator*=(), VQwScaler_Channel::operator*=(), QwADC18_Channel::operator+=(), QwMollerADC_Channel::operator+=(), QwVQWK_Channel::operator+=(), VQwScaler_Channel::operator+=(), QwADC18_Channel::operator-=(), QwMollerADC_Channel::operator-=(), QwVQWK_Channel::operator-=(), VQwScaler_Channel::operator-=(), QwADC18_Channel::operator/=(), QwMollerADC_Channel::operator/=(), QwVQWK_Channel::operator/=(), VQwScaler_Channel::operator/=(), QwADC18_Channel::operator=(), QwMollerADC_Channel::operator=(), QwVQWK_Channel::operator=(), VQwScaler_Channel::operator=(), QwADC18_Channel::ProcessEvBuffer(), QwMollerADC_Channel::ProcessEvBuffer(), QwScaler_Channel< data_mask, data_shift >::ProcessEvBuffer(), QwVQWK_Channel::ProcessEvBuffer(), QwADC18_Channel::Product(), QwMollerADC_Channel::Product(), QwVQWK_Channel::Product(), VQwScaler_Channel::Product(), QwADC18_Channel::Ratio(), QwMollerADC_Channel::Ratio(), QwVQWK_Channel::Ratio(), VQwScaler_Channel::Ratio(), QwADC18_Channel::Scale(), QwMollerADC_Channel::Scale(), QwVQWK_Channel::Scale(), VQwScaler_Channel::Scale(), QwADC18_Channel::ScaledAdd(), QwMollerADC_Channel::ScaledAdd(), QwVQWK_Channel::ScaledAdd(), and VQwScaler_Channel::ScaledAdd().
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in QwADC18_Channel, QwBCM< T >, QwBPMCavity, QwBPMStripline< T >, QwClock< T >, QwCombinedBPM< T >, QwEnergyCalculator, QwHaloMonitor, QwIntegrationPMT, QwLinearDiodeArray, QwMollerADC_Channel, QwQPD, QwVQWK_Channel, VQwBCM, VQwBPM, VQwClock, and VQwScaler_Channel.
Definition at line 130 of file VQwDataElement.h.
Referenced by QwBeamLine::LoadChannelMap().
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in QwADC18_Channel, QwBCM< T >, QwBPMStripline< T >, QwCombinedBCM< T >, QwCombinedBPM< T >, QwEnergyCalculator, QwMollerADC_Channel, QwVQWK_Channel, and VQwScaler_Channel.
Definition at line 132 of file VQwDataElement.h.
Referenced by QwBeamLine::LoadMockDataParameters().
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in QwBCM< T >, QwHaloMonitor, VQwBCM, and VQwScaler_Channel.
Definition at line 209 of file VQwDataElement.h.
Referenced by QwBeamLine::LoadChannelMap().
Here is the caller graph for this function:
|
inline |
Addition-assignment operator.
Definition at line 154 of file VQwDataElement.h.
References GetElementName(), and VQwDataElement().
Here is the call graph for this function:
|
inline |
Subtraction-assignment operator.
Definition at line 157 of file VQwDataElement.h.
References GetElementName(), and VQwDataElement().
Here is the call graph for this function:
|
inlineprotected |
Arithmetic assignment operator: Should only copy event-based data.
Definition at line 242 of file VQwDataElement.h.
References fErrorFlag, fGoodEventCount, MQwHistograms::operator=(), and VQwDataElement().
Referenced by QwPMT_Channel::operator=(), and VQwHardwareChannel::operator=().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
report number of events failed due to HW and event cut failure
Reimplemented in QwADC18_Channel, QwBCM< T >, QwBPMCavity, QwBPMStripline< T >, QwClock< T >, QwCombinedBPM< T >, QwCombinedPMT, QwEnergyCalculator, QwHaloMonitor, QwIntegrationPMT, QwLinearDiodeArray, QwMollerADC_Channel, QwPMT_Channel, QwQPD, QwVQWK_Channel, VQwBPM, and VQwScaler_Channel.
Definition at line 184 of file VQwDataElement.h.
|
inlinevirtual |
Print multiple lines of information about this data element.
Reimplemented in QwADC18_Channel, QwBCM< T >, QwBPMCavity, QwBPMStripline< T >, QwClock< T >, QwCombinedBPM< T >, QwCombinedPMT, QwEnergyCalculator, QwHaloMonitor, QwIntegrationPMT, QwLinearDiodeArray, QwMollerADC_Channel, QwPMT_Channel, QwVQWK_Channel, VQwBPM, and VQwScaler_Channel.
Definition at line 178 of file VQwDataElement.h.
References GetElementName().
Here is the call graph for this function:
|
inlinevirtual |
Print single line of value and error of this data element.
Reimplemented in QwADC18_Channel, QwBCM< T >, QwBPMCavity, QwBPMStripline< T >, QwClock< T >, QwCombinedBPM< T >, QwCombinedPMT, QwEnergyCalculator, QwHaloMonitor, QwIntegrationPMT, QwLinearDiodeArray, QwMollerADC_Channel, QwPMT_Channel, QwVQWK_Channel, and VQwScaler_Channel.
Definition at line 176 of file VQwDataElement.h.
|
pure virtual |
Process the CODA event buffer for this element.
Implemented in QwADC18_Channel, QwBCM< T >, QwBPMCavity, QwBPMStripline< T >, QwClock< T >, QwCombinedBCM< T >, QwCombinedBPM< T >, QwCombinedPMT, QwEnergyCalculator, QwHaloMonitor, QwIntegrationPMT, QwLinearDiodeArray, QwMollerADC_Channel, QwPMT_Channel, QwQPD, QwScaler_Channel< data_mask, data_shift >, QwScaler_Channel< 0x00ffffff, 0 >, QwVQWK_Channel, VQwBCM, VQwClock, and VQwScaler_Channel.
References QwBPMStripline< T >::subelement.
|
inline |
Ratio operator (base class fallback throws runtime error)
Definition at line 167 of file VQwDataElement.h.
References VQwDataElement().
Here is the call graph for this function:
|
inline |
Set the name of this element.
Definition at line 126 of file VQwDataElement.h.
References fElementName.
Referenced by QwCombiner::ConnectChannels(), QwCombiner::ConnectChannels(), VQwDataHandler::ConnectChannels(), QwADC18_Channel::InitializeChannel(), QwBCM< T >::InitializeChannel(), QwBCM< T >::InitializeChannel(), QwBCM< T >::InitializeChannel(), QwClock< T >::InitializeChannel(), QwCombinedBCM< T >::InitializeChannel(), QwCombinedBCM< T >::InitializeChannel(), QwCombinedBCM< T >::InitializeChannel(), QwCombinedPMT::InitializeChannel(), QwCombinedPMT::InitializeChannel(), QwEnergyCalculator::InitializeChannel(), QwEnergyCalculator::InitializeChannel(), QwHaloMonitor::InitializeChannel(), QwHaloMonitor::InitializeChannel(), QwMollerADC_Channel::InitializeChannel(), QwPMT_Channel::InitializeChannel(), QwVQWK_Channel::InitializeChannel(), VQwBPM::InitializeChannel(), VQwScaler_Channel::InitializeChannel(), and QwCombinedPMT::LinkChannel().
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in QwBCM< T >, QwHaloMonitor, VQwBCM, and VQwScaler_Channel.
Definition at line 212 of file VQwDataElement.h.
|
inlinevirtual |
Reimplemented in QwBCM< T >, QwHaloMonitor, VQwBCM, and VQwScaler_Channel.
Definition at line 211 of file VQwDataElement.h.
Referenced by QwBeamLine::LoadChannelMap().
Here is the caller graph for this function:
|
inline |
set the type of the beam instrument
Definition at line 233 of file VQwDataElement.h.
References fModuleType.
Referenced by QwADC18_Channel::InitializeChannel(), QwBCM< T >::InitializeChannel(), QwBPMStripline< T >::InitializeChannel(), QwClock< T >::InitializeChannel(), QwCombinedBCM< T >::InitializeChannel(), QwCombinedBPM< T >::InitializeChannel(), QwMollerADC_Channel::InitializeChannel(), QwVQWK_Channel::InitializeChannel(), and VQwScaler_Channel::InitializeChannel().
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in VQwScaler_Channel.
Definition at line 208 of file VQwDataElement.h.
|
inlineprotected |
Set the number of data words in this data element.
Definition at line 239 of file VQwDataElement.h.
References fNumberOfDataWords.
|
inline |
set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel
Definition at line 182 of file VQwDataElement.h.
|
inline |
Set the name of the inheriting subsystem name.
Definition at line 223 of file VQwDataElement.h.
References fSubsystemName.
Referenced by QwCombiner::ConnectChannels(), QwCombiner::ConnectChannels(), VQwDataHandler::ConnectChannels(), QwADC18_Channel::InitializeChannel(), QwMollerADC_Channel::InitializeChannel(), QwVQWK_Channel::InitializeChannel(), VQwScaler_Channel::InitializeChannel(), QwBCM< T >::QwBCM(), QwBCM< T >::QwBCM(), QwBPMCavity::QwBPMCavity(), QwBPMStripline< T >::QwBPMStripline(), QwBPMStripline< T >::QwBPMStripline(), QwClock< T >::QwClock(), QwCombinedBCM< T >::QwCombinedBCM(), QwCombinedPMT::QwCombinedPMT(), QwIntegrationPMT::QwIntegrationPMT(), QwLinearDiodeArray::QwLinearDiodeArray(), and QwQPD::QwQPD().
Here is the caller graph for this function:
|
inline |
Sum operator (base class fallback throws runtime error)
Definition at line 161 of file VQwDataElement.h.
References VQwDataElement().
Here is the call graph for this function:
|
inlinevirtual |
Update the error flag based on the error flags of internally contained objects Return parameter is the "Eventcut Error Flag".
Reimplemented in QwBPMCavity, QwBPMStripline< T >, QwClock< T >, QwCombinedBCM< T >, QwCombinedBPM< T >, QwCombinedPMT, QwEnergyCalculator, QwHaloMonitor, QwIntegrationPMT, QwLinearDiodeArray, QwQPD, VQwBCM, VQwBPM, and VQwHardwareChannel.
Definition at line 204 of file VQwDataElement.h.
References GetEventcutErrorFlag().
Referenced by VQwHardwareChannel::Clone().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 253 of file VQwDataElement.h.
References fErrorFlag.
|
protected |
Name of this data element.
Definition at line 258 of file VQwDataElement.h.
Referenced by CopyFrom(), QwADC18_Channel::FillTreeVector(), QwScaler_Channel< data_mask, data_shift >::FillTreeVector(), GetElementName(), IsNameEmpty(), QwBPMStripline< T >::ProcessEvent(), QwLinearDiodeArray::ProcessEvent(), QwQPD::ProcessEvent(), QwIntegrationPMT::SetElementName(), SetElementName(), VQwDataElement(), and VQwDataElement().
|
protected |
contains the global/local/stability flags
Definition at line 272 of file VQwDataElement.h.
Referenced by QwMollerADC_Channel::CalculateRunningAverage(), QwVQWK_Channel::CalculateRunningAverage(), CopyFrom(), GetEventcutErrorFlag(), QwADC18_Channel::InitializeChannel(), QwMollerADC_Channel::InitializeChannel(), QwVQWK_Channel::InitializeChannel(), VQwScaler_Channel::InitializeChannel(), VQwHardwareChannel::SetSingleEventCuts(), VQwDataElement(), VQwDataElement(), and VQwHardwareChannel::VQwHardwareChannel().
|
protected |
This the standard error code generated for the channel that contains the global/local/stability flags and the Device error code (Unique error code for HW failures)
Definition at line 271 of file VQwDataElement.h.
Referenced by QwADC18_Channel::AccumulateRunningSum(), QwMollerADC_Channel::AccumulateRunningSum(), QwVQWK_Channel::AccumulateRunningSum(), VQwScaler_Channel::AccumulateRunningSum(), QwADC18_Channel::ApplyHWChecks(), QwMollerADC_Channel::ApplyHWChecks(), QwVQWK_Channel::ApplyHWChecks(), VQwScaler_Channel::ApplyHWChecks(), QwADC18_Channel::ApplySingleEventCuts(), QwADC18_Channel::ApplySingleEventCuts(), QwMollerADC_Channel::ApplySingleEventCuts(), QwMollerADC_Channel::ApplySingleEventCuts(), QwVQWK_Channel::ApplySingleEventCuts(), QwVQWK_Channel::ApplySingleEventCuts(), VQwScaler_Channel::ApplySingleEventCuts(), QwADC18_Channel::AssignScaledValue(), QwMollerADC_Channel::AssignScaledValue(), QwVQWK_Channel::AssignScaledValue(), VQwScaler_Channel::AssignScaledValue(), QwADC18_Channel::Blind(), QwADC18_Channel::Blind(), QwMollerADC_Channel::Blind(), QwMollerADC_Channel::Blind(), QwVQWK_Channel::Blind(), QwVQWK_Channel::Blind(), QwMollerADC_Channel::CalculateRunningAverage(), QwVQWK_Channel::CalculateRunningAverage(), VQwHardwareChannel::CheckForBurpFail(), QwADC18_Channel::ClearEventData(), QwMollerADC_Channel::ClearEventData(), QwVQWK_Channel::ClearEventData(), ClearEventData(), VQwScaler_Channel::ClearEventData(), CopyFrom(), QwADC18_Channel::FillHistograms(), QwMollerADC_Channel::FillHistograms(), QwVQWK_Channel::FillHistograms(), VQwScaler_Channel::FillHistograms(), QwADC18_Channel::FillTreeVector(), QwMollerADC_Channel::FillTreeVector(), QwScaler_Channel< data_mask, data_shift >::FillTreeVector(), QwVQWK_Channel::FillTreeVector(), VQwHardwareChannel::GetErrorCode(), GetEventcutErrorFlag(), QwADC18_Channel::IncrementErrorCounters(), QwMollerADC_Channel::IncrementErrorCounters(), QwVQWK_Channel::IncrementErrorCounters(), VQwScaler_Channel::IncrementErrorCounters(), QwADC18_Channel::InitializeChannel(), QwMollerADC_Channel::InitializeChannel(), QwVQWK_Channel::InitializeChannel(), VQwScaler_Channel::InitializeChannel(), QwADC18_Channel::operator*=(), QwMollerADC_Channel::operator*=(), QwVQWK_Channel::operator*=(), VQwScaler_Channel::operator*=(), QwADC18_Channel::operator+=(), QwMollerADC_Channel::operator+=(), QwVQWK_Channel::operator+=(), VQwScaler_Channel::operator+=(), QwADC18_Channel::operator-=(), QwMollerADC_Channel::operator-=(), QwVQWK_Channel::operator-=(), VQwScaler_Channel::operator-=(), QwADC18_Channel::operator/=(), QwMollerADC_Channel::operator/=(), QwVQWK_Channel::operator/=(), VQwScaler_Channel::operator/=(), operator=(), QwADC18_Channel::ProcessEvent(), QwMollerADC_Channel::ProcessEvent(), QwVQWK_Channel::ProcessEvent(), QwADC18_Channel::Product(), QwMollerADC_Channel::Product(), QwVQWK_Channel::Product(), VQwScaler_Channel::Product(), QwADC18_Channel::Ratio(), QwMollerADC_Channel::Ratio(), QwVQWK_Channel::Ratio(), VQwScaler_Channel::Ratio(), QwADC18_Channel::ScaledAdd(), QwMollerADC_Channel::ScaledAdd(), QwVQWK_Channel::ScaledAdd(), VQwScaler_Channel::ScaledAdd(), UpdateErrorFlag(), VQwHardwareChannel::UpdateErrorFlag(), VQwDataElement(), VQwDataElement(), and VQwHardwareChannel::VQwHardwareChannel().
|
protected |
Number of good events accumulated in this element.
Definition at line 260 of file VQwDataElement.h.
Referenced by QwADC18_Channel::AccumulateRunningSum(), QwMollerADC_Channel::AccumulateRunningSum(), QwVQWK_Channel::AccumulateRunningSum(), VQwHardwareChannel::AccumulateRunningSum(), VQwScaler_Channel::AccumulateRunningSum(), QwADC18_Channel::ApplyHWChecks(), QwMollerADC_Channel::ApplyHWChecks(), QwVQWK_Channel::ApplyHWChecks(), QwADC18_Channel::AssignScaledValue(), QwMollerADC_Channel::AssignScaledValue(), QwVQWK_Channel::AssignScaledValue(), VQwScaler_Channel::AssignScaledValue(), QwADC18_Channel::CalculateRunningAverage(), QwMollerADC_Channel::CalculateRunningAverage(), QwVQWK_Channel::CalculateRunningAverage(), VQwScaler_Channel::CalculateRunningAverage(), QwADC18_Channel::ClearEventData(), QwMollerADC_Channel::ClearEventData(), QwVQWK_Channel::ClearEventData(), VQwScaler_Channel::ClearEventData(), CopyFrom(), QwMollerADC_Channel::FillTreeVector(), QwScaler_Channel< data_mask, data_shift >::FillTreeVector(), QwVQWK_Channel::FillTreeVector(), GetGoodEventCount(), VQwHardwareChannel::GetValueWidth(), QwADC18_Channel::InitializeChannel(), QwMollerADC_Channel::InitializeChannel(), QwVQWK_Channel::InitializeChannel(), VQwScaler_Channel::InitializeChannel(), operator=(), QwADC18_Channel::PrintValue(), QwMollerADC_Channel::PrintValue(), QwVQWK_Channel::PrintValue(), QwADC18_Channel::Product(), VQwScaler_Channel::Product(), QwADC18_Channel::Ratio(), QwMollerADC_Channel::Ratio(), QwVQWK_Channel::Ratio(), VQwScaler_Channel::Ratio(), VQwDataElement(), and VQwDataElement().
|
protected |
Definition at line 266 of file VQwDataElement.h.
Referenced by CopyFrom(), GetModuleType(), SetModuleType(), VQwDataElement(), and VQwDataElement().
|
protected |
Number of raw data words in this data element.
Definition at line 259 of file VQwDataElement.h.
Referenced by GetNumberOfDataWords(), SetNumberOfDataWords(), VQwDataElement(), and VQwDataElement().
|
protected |
Definition at line 264 of file VQwDataElement.h.
Referenced by CopyFrom(), GetSubsystemName(), SetSubsystemName(), VQwDataElement(), and VQwDataElement().