QwAnalysis
|
The pure virtual base class of all data elements. More...
#include <VQwDataElement.h>
Public Types | |
enum | EDataToSave { kRaw = 0, kDerived } |
Public Member Functions | |
VQwDataElement () | |
Default constructor. More... | |
VQwDataElement (const VQwDataElement &value) | |
Copy constructor. More... | |
virtual | ~VQwDataElement () |
Virtual destructor. More... | |
Bool_t | IsNameEmpty () const |
Is the name of this element empty? More... | |
void | SetElementName (const TString &name) |
Set the name of this element. More... | |
virtual const TString & | GetElementName () const |
Get the name of this element. More... | |
virtual void | LoadChannelParameters (QwParameterFile ¶mfile) |
virtual void | ClearEventData () |
Clear the event data in this element. More... | |
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. More... | |
size_t | GetNumberOfDataWords () |
Get the number of data words in this data element. More... | |
UInt_t | GetGoodEventCount () const |
virtual void | AssignValueFrom (const VQwDataElement *valueptr) |
virtual VQwDataElement & | operator+= (const VQwDataElement &value) |
Addition-assignment operator. More... | |
virtual VQwDataElement & | operator-= (const VQwDataElement &value) |
Subtraction-assignment operator. More... | |
virtual void | Sum (const VQwDataElement &value1, const VQwDataElement &value2) |
Sum operator. More... | |
virtual void | Difference (const VQwDataElement &value1, const VQwDataElement &value2) |
Difference operator. More... | |
virtual void | Ratio (const VQwDataElement &numer, const VQwDataElement &denom) |
Ratio operator. More... | |
virtual void | ConstructHistograms (TDirectory *folder, TString &prefix)=0 |
Construct the histograms for this data element. More... | |
virtual void | FillHistograms ()=0 |
Fill the histograms for this data element. More... | |
virtual void | PrintValue () const |
Print single line of value and error of this data element. More... | |
virtual void | PrintInfo () const |
Print multiple lines of information about this data element. More... | |
virtual void | SetSingleEventCuts (UInt_t errorflag, Double_t min, Double_t max, Double_t stability) |
set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel More... | |
virtual void | PrintErrorCounters () const |
report number of events failed due to HW and event cut failure More... | |
virtual UInt_t | GetEventcutErrorFlag () |
return the error flag on this channel/device More... | |
virtual UInt_t | UpdateErrorFlag () |
Update the error flag based on the error flags of internally contained objects Return paramter is the "Eventcut Error Flag". More... | |
virtual void | SetNeedsExternalClock (Bool_t needed) |
virtual Bool_t | NeedsExternalClock () |
virtual std::string | GetExternalClockName () |
virtual void | SetExternalClockPtr (const VQwHardwareChannel *clock) |
virtual void | SetExternalClockName (const std::string name) |
virtual Double_t | GetNormClockValue () |
TString | GetSubsystemName () const |
Return the name of the inheriting subsystem name. More... | |
void | SetSubsystemName (TString sysname) |
Set the name of the inheriting subsystem name. More... | |
TString | GetModuleType () const |
Return the type of the beam instrument. More... | |
void | SetModuleType (TString ModuleType) |
set the type of the beam instrument More... | |
Public Member Functions inherited from MQwHistograms | |
void | ShareHistograms (const MQwHistograms *source) |
Share histogram pointers between objects. More... | |
Protected Member Functions | |
void | SetNumberOfDataWords (const UInt_t &numwords) |
Set the number of data words in this data element. More... | |
virtual VQwDataElement & | operator= (const VQwDataElement &value) |
Arithmetic assignment operator: Should only copy event-based data. More... | |
virtual void | UpdateErrorFlag (const UInt_t &error) |
Protected Member Functions inherited from MQwHistograms | |
MQwHistograms () | |
Default constructor. More... | |
MQwHistograms (const MQwHistograms &source) | |
Copy constructor. More... | |
virtual | ~MQwHistograms () |
Virtual destructor. More... | |
virtual MQwHistograms & | operator= (const MQwHistograms &value) |
void | Fill_Pointer (TH1_ptr hist_ptr, Double_t value) |
void | AddHistogram (TH1 *h) |
Register a histogram. More... | |
Protected Attributes | |
TString | fElementName |
Name of this data element. More... | |
UInt_t | fNumberOfDataWords |
Number of raw data words in this data element. More... | |
Int_t | fGoodEventCount |
Number of good events accumulated in this element. More... | |
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) More... | |
UInt_t | fErrorConfigFlag |
contains the global/local/stability flags More... | |
Protected Attributes inherited from MQwHistograms | |
std::vector< TH1_ptr > | fHistograms |
Histograms associated with this data element. More... | |
The pure virtual base class of all data elements.
Each stream of data inherits from this virtual base class, which requires some standard operations on it such as ratios, summing, subtraction. The specific implementation of those operation is left to be implemented by the implemented inherited classes, but this class sets up the structure.
As an example, all individual VQWK channels inherit from this class and implement the pure virtual functions of VQwDataElement.
Definition at line 51 of file VQwDataElement.h.
Flag to be used to decide which data needs to be histogrammed and entered in the tree
Enumerator | |
---|---|
kRaw | |
kDerived |
Definition at line 55 of file VQwDataElement.h.
|
inline |
Default constructor.
Definition at line 61 of file VQwDataElement.h.
|
inline |
Copy constructor.
Definition at line 72 of file VQwDataElement.h.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in QwVQWK_Channel, VQwHardwareChannel, and VQwScaler_Channel.
Definition at line 107 of file VQwDataElement.h.
|
inlinevirtual |
Clear the event data in this element.
Reimplemented in QwVQWK_Channel, QwSIS3320_Channel, VQwScaler_Channel, QwBPMStripline< T >, QwIntegrationPMT, VQwHardwareChannel, QwCombinedBPM< T >, QwQPD, QwBCM< T >, QwLinearDiodeArray, QwBPMCavity, QwSIS3320_Accumulator, QwClock< T >, QwEnergyCalculator, QwCombinedPMT, VQwBCM, VQwClock, QwPMT_Channel, QwHaloMonitor, QwIntegratedRasterChannel< T >, and QwIntegratedRasterChannel< QwVQWK_Channel >.
Definition at line 95 of file VQwDataElement.h.
References fErrorFlag.
Referenced by VQwHardwareChannel::ClearEventData().
|
pure virtual |
Construct the histograms for this data element.
Implemented in QwVQWK_Channel, QwBCM< T >, QwIntegrationPMT, VQwBPM, QwBPMStripline< T >, VQwScaler_Channel, QwCombinedBPM< T >, QwLinearDiodeArray, QwBPMCavity, QwQPD, QwCombinedPMT, QwSIS3320_Channel, QwClock< T >, QwIntegratedRasterChannel< T >, QwIntegratedRasterChannel< QwVQWK_Channel >, QwHaloMonitor, QwEnergyCalculator, QwSIS3320_Accumulator, QwPMT_Channel, VQwBCM, and VQwClock.
|
inlinevirtual |
Difference operator.
Definition at line 122 of file VQwDataElement.h.
|
pure virtual |
Fill the histograms for this data element.
Implemented in QwVQWK_Channel, QwBCM< T >, QwIntegrationPMT, VQwBPM, QwBPMStripline< T >, VQwScaler_Channel, QwCombinedBPM< T >, QwLinearDiodeArray, QwBPMCavity, QwQPD, QwCombinedPMT, QwSIS3320_Channel, QwClock< T >, QwIntegratedRasterChannel< T >, QwIntegratedRasterChannel< QwVQWK_Channel >, QwHaloMonitor, QwEnergyCalculator, QwSIS3320_Accumulator, QwPMT_Channel, VQwBCM, and VQwClock.
|
inlinevirtual |
Get the name of this element.
Definition at line 90 of file VQwDataElement.h.
References fElementName.
Referenced by VQwBPM::AccumulateRunningSum(), QwVQWK_Channel::AccumulateRunningSum(), VQwScaler_Channel::AccumulateRunningSum(), VQwHardwareChannel::AddEntriesToList(), QwVQWK_Channel::AddErrEntriesToList(), QwSIS3320_Channel::AddLogicalAccumulator(), VQwScaler_Channel::AddValueFrom(), QwVQWK_Channel::AddValueFrom(), QwVQWK_Channel::ApplyHWChecks(), QwQPD::ApplySingleEventCuts(), VQwScaler_Channel::AssignValueFrom(), QwVQWK_Channel::AssignValueFrom(), QwCombinedPMT::CalculateSumAndAverage(), QwRegression::ConnectChannels(), QwEnergyCalculator::ConstructBranch(), QwHaloMonitor::ConstructBranch(), QwCombinedPMT::ConstructBranch(), QwQPD::ConstructBranch(), QwBPMCavity::ConstructBranch(), QwLinearDiodeArray::ConstructBranch(), VQwScaler_Channel::ConstructBranch(), QwBPMStripline< T >::ConstructBranch(), VQwHardwareChannel::ConstructBranch(), QwIntegrationPMT::ConstructBranch(), QwVQWK_Channel::ConstructBranch(), QwPMT_Channel::ConstructBranchAndVector(), QwSIS3320_Accumulator::ConstructBranchAndVector(), QwEnergyCalculator::ConstructBranchAndVector(), QwHaloMonitor::ConstructBranchAndVector(), QwSIS3320_Channel::ConstructBranchAndVector(), QwCombinedPMT::ConstructBranchAndVector(), QwQPD::ConstructBranchAndVector(), QwBPMCavity::ConstructBranchAndVector(), QwLinearDiodeArray::ConstructBranchAndVector(), VQwScaler_Channel::ConstructBranchAndVector(), QwBPMStripline< T >::ConstructBranchAndVector(), QwIntegrationPMT::ConstructBranchAndVector(), QwVQWK_Channel::ConstructBranchAndVector(), QwPMT_Channel::ConstructHistograms(), QwSIS3320_Accumulator::ConstructHistograms(), QwEnergyCalculator::ConstructHistograms(), QwHaloMonitor::ConstructHistograms(), QwSIS3320_Channel::ConstructHistograms(), QwCombinedPMT::ConstructHistograms(), QwQPD::ConstructHistograms(), QwBPMCavity::ConstructHistograms(), QwLinearDiodeArray::ConstructHistograms(), VQwScaler_Channel::ConstructHistograms(), QwBPMStripline< T >::ConstructHistograms(), QwIntegrationPMT::ConstructHistograms(), QwVQWK_Channel::ConstructHistograms(), VQwScaler_Channel::DivideBy(), QwVQWK_Channel::DivideBy(), QwPMT_Channel::FillHistograms(), QwEnergyCalculator::FillHistograms(), QwHaloMonitor::FillHistograms(), QwCombinedPMT::FillHistograms(), QwQPD::FillHistograms(), QwBPMCavity::FillHistograms(), QwLinearDiodeArray::FillHistograms(), QwBPMStripline< T >::FillHistograms(), QwIntegrationPMT::FillHistograms(), QwPMT_Channel::FillTreeVector(), QwEnergyCalculator::FillTreeVector(), QwHaloMonitor::FillTreeVector(), QwCombinedPMT::FillTreeVector(), QwBPMCavity::FillTreeVector(), QwQPD::FillTreeVector(), QwLinearDiodeArray::FillTreeVector(), VQwScaler_Channel::FillTreeVector(), QwBPMStripline< T >::FillTreeVector(), QwIntegrationPMT::FillTreeVector(), QwQPD::GetCalibrationFactors(), QwCombinedPMT::GetChannel(), QwIntegrationPMT::GetChannel(), VQwBPM::GetElectronicFactors(), QwQPD::GetPosition(), QwBPMCavity::GetPosition(), QwLinearDiodeArray::GetPosition(), QwCombinedBPM< T >::GetPosition(), QwBPMStripline< T >::GetPosition(), QwCombinedBPM< T >::GetSlope(), QwBPMCavity::GetSubelementByName(), QwQPD::GetSubelementByName(), QwLinearDiodeArray::GetSubelementByName(), QwBPMStripline< T >::GetSubelementByName(), QwQPD::GetSubElementName(), QwBPMCavity::GetSubElementName(), QwLinearDiodeArray::GetSubElementName(), QwBPMStripline< T >::GetSubElementName(), QwQPD::InitializeChannel(), QwBPMCavity::InitializeChannel(), QwLinearDiodeArray::InitializeChannel(), QwSIS3320_Channel::InitializeChannel(), QwCombinedPMT::LinkChannel(), QwBeamLine::LoadChannelMap(), QwVQWK_Channel::LoadChannelParameters(), QwVQWK_Channel::MatchNumberOfSamples(), VQwScaler_Channel::MultiplyBy(), QwVQWK_Channel::MultiplyBy(), VQwScaler_Channel::operator*=(), QwVQWK_Channel::operator*=(), QwHaloMonitor::operator+=(), QwEnergyCalculator::operator+=(), QwClock< T >::operator+=(), QwCombinedPMT::operator+=(), VQwScaler_Channel::operator+=(), QwQPD::operator+=(), QwBPMCavity::operator+=(), QwLinearDiodeArray::operator+=(), QwBCM< T >::operator+=(), QwVQWK_Channel::operator+=(), QwIntegrationPMT::operator+=(), QwBPMStripline< T >::operator+=(), QwHaloMonitor::operator-=(), QwEnergyCalculator::operator-=(), QwClock< T >::operator-=(), QwCombinedPMT::operator-=(), VQwScaler_Channel::operator-=(), QwQPD::operator-=(), QwBPMCavity::operator-=(), QwLinearDiodeArray::operator-=(), QwVQWK_Channel::operator-=(), QwIntegrationPMT::operator-=(), QwBPMStripline< T >::operator-=(), QwBCM< T >::operator-=(), VQwScaler_Channel::operator/=(), QwVQWK_Channel::operator/=(), QwPMT_Channel::operator=(), QwHaloMonitor::operator=(), QwEnergyCalculator::operator=(), QwClock< T >::operator=(), VQwBPM::operator=(), QwCombinedPMT::operator=(), QwQPD::operator=(), QwBPMCavity::operator=(), QwLinearDiodeArray::operator=(), QwBCM< T >::operator=(), QwIntegrationPMT::operator=(), QwBPMStripline< T >::operator=(), VQwScaler_Channel::PrintErrorCounters(), QwVQWK_Channel::PrintErrorCounters(), PrintInfo(), QwSIS3320_Channel::PrintInfo(), VQwScaler_Channel::PrintInfo(), QwVQWK_Channel::PrintInfo(), QwPMT_Channel::PrintValue(), QwSIS3320_Channel::PrintValue(), VQwScaler_Channel::PrintValue(), QwVQWK_Channel::PrintValue(), VQwScaler_Channel::ProcessEvent(), QwVQWK_Channel::ProcessEvent(), VQwHardwareChannel::RangeCheck(), QwHaloMonitor::Ratio(), QwIntegrationPMT::Ratio(), VQwBPM::Ratio(), QwEnergyCalculator::Set(), VQwBPM::SetRotation(), VQwBPM::SetSingleEventCuts(), VQwHardwareChannel::SetSingleEventCuts(), VQwScaler_Channel::SubtractValueFrom(), QwVQWK_Channel::SubtractValueFrom(), QwCombinedPMT::UpdateErrorFlag(), QwBCM< T >::UpdateErrorFlag(), QwQPD::UpdateErrorFlag(), QwBPMCavity::UpdateErrorFlag(), QwLinearDiodeArray::UpdateErrorFlag(), QwIntegrationPMT::UpdateErrorFlag(), QwCombinedBPM< T >::UpdateErrorFlag(), and QwBPMStripline< T >::UpdateErrorFlag().
|
inlinevirtual |
return the error flag on this channel/device
Reimplemented in QwBPMStripline< T >, QwCombinedBPM< T >, QwIntegrationPMT, QwLinearDiodeArray, QwBPMCavity, QwQPD, QwBCM< T >, QwHaloMonitor, QwCombinedPMT, QwEnergyCalculator, QwClock< T >, QwIntegratedRasterChannel< T >, and QwIntegratedRasterChannel< QwVQWK_Channel >.
Definition at line 145 of file VQwDataElement.h.
References fErrorConfigFlag, fErrorFlag, and kGlobalCut.
Referenced by QwEnergyCalculator::GetEventcutErrorFlag(), QwQPD::GetEventcutErrorFlag(), QwBPMCavity::GetEventcutErrorFlag(), QwLinearDiodeArray::GetEventcutErrorFlag(), QwIntegrationPMT::GetEventcutErrorFlag(), VQwBCM::UpdateErrorFlag(), QwEnergyCalculator::UpdateErrorFlag(), QwQPD::UpdateErrorFlag(), QwBPMCavity::UpdateErrorFlag(), QwLinearDiodeArray::UpdateErrorFlag(), VQwHardwareChannel::UpdateErrorFlag(), and UpdateErrorFlag().
|
inlinevirtual |
Reimplemented in VQwScaler_Channel, QwBCM< T >, and QwHaloMonitor.
Definition at line 164 of file VQwDataElement.h.
Referenced by QwBeamLine::LoadChannelMap().
|
inline |
Definition at line 104 of file VQwDataElement.h.
References fGoodEventCount.
Referenced by VQwHardwareChannel::AddEntriesToList(), and QwVQWK_Channel::PrintValue().
|
inline |
Return the type of the beam instrument.
Definition at line 182 of file VQwDataElement.h.
References fModuleType.
Referenced by QwVQWK_Channel::ConstructBranchAndVector(), VQwClock::Create(), VQwBCM::Create(), VQwBCM::CreateCombo(), VQwBPM::CreateCombo(), VQwBPM::CreateStripline(), QwVQWK_Channel::PrintInfo(), and QwVQWK_Channel::PrintValue().
|
inlinevirtual |
Reimplemented in QwClock< T >, QwBCM< T >, VQwClock, VQwBCM, and QwHaloMonitor.
Definition at line 167 of file VQwDataElement.h.
|
inline |
Get the number of data words in this data element.
Definition at line 102 of file VQwDataElement.h.
References fNumberOfDataWords.
|
inline |
Return the name of the inheriting subsystem name.
Definition at line 172 of file VQwDataElement.h.
References fSubsystemName.
Referenced by QwVQWK_Channel::ConstructBranchAndVector(), QwVQWK_Channel::PrintInfo(), and QwVQWK_Channel::PrintValue().
|
inline |
Is the name of this element empty?
Definition at line 86 of file VQwDataElement.h.
References fElementName.
Referenced by VQwScaler_Channel::AddChannelOffset(), QwVQWK_Channel::AddChannelOffset(), VQwScaler_Channel::AssignScaledValue(), QwVQWK_Channel::AssignScaledValue(), QwVQWK_Channel::Blind(), VQwScaler_Channel::ConstructBranch(), QwVQWK_Channel::ConstructBranch(), QwSIS3320_Accumulator::ConstructBranchAndVector(), VQwScaler_Channel::ConstructBranchAndVector(), QwVQWK_Channel::ConstructBranchAndVector(), QwSIS3320_Accumulator::ConstructHistograms(), QwSIS3320_Channel::ConstructHistograms(), QwVQWK_Channel::ConstructHistograms(), QwPMT_Channel::EncodeEventData(), QwSIS3320_Channel::EncodeEventData(), QwVQWK_Channel::EncodeEventData(), QwSIS3320_Accumulator::FillHistograms(), QwSIS3320_Channel::FillHistograms(), VQwScaler_Channel::FillHistograms(), QwVQWK_Channel::FillHistograms(), QwSIS3320_Accumulator::FillTreeVector(), VQwScaler_Channel::FillTreeVector(), QwVQWK_Channel::FillTreeVector(), QwVQWK_Channel::MatchNumberOfSamples(), QwVQWK_Channel::MatchSequenceNumber(), QwSIS3320_Channel::Offset(), QwSIS3320_Accumulator::operator*=(), VQwScaler_Channel::operator*=(), QwVQWK_Channel::operator*=(), QwSIS3320_Accumulator::operator+=(), QwSIS3320_Channel::operator+=(), VQwScaler_Channel::operator+=(), QwVQWK_Channel::operator+=(), QwSIS3320_Accumulator::operator-=(), QwSIS3320_Channel::operator-=(), VQwScaler_Channel::operator-=(), QwVQWK_Channel::operator-=(), QwSIS3320_Accumulator::operator/=(), VQwScaler_Channel::operator/=(), QwVQWK_Channel::operator/=(), QwSIS3320_Accumulator::operator=(), VQwScaler_Channel::operator=(), QwSIS3320_Channel::operator=(), QwVQWK_Channel::operator=(), QwSIS3320_Channel::ProcessEvBuffer(), QwVQWK_Channel::ProcessEvBuffer(), VQwScaler_Channel::Product(), QwVQWK_Channel::Product(), QwSIS3320_Accumulator::Ratio(), QwSIS3320_Channel::Ratio(), VQwScaler_Channel::Ratio(), QwVQWK_Channel::Ratio(), QwSIS3320_Channel::Scale(), VQwScaler_Channel::Scale(), QwVQWK_Channel::Scale(), VQwScaler_Channel::ScaledAdd(), and QwVQWK_Channel::ScaledAdd().
|
inlinevirtual |
Reimplemented in QwVQWK_Channel, VQwScaler_Channel, QwBPMStripline< T >, VQwBPM, QwBCM< T >, QwCombinedBPM< T >, QwLinearDiodeArray, QwBPMCavity, VQwBCM, QwQPD, VQwClock, QwEnergyCalculator, QwIntegrationPMT, QwHaloMonitor, and QwClock< T >.
Definition at line 92 of file VQwDataElement.h.
Referenced by QwBeamLine::LoadChannelMap().
|
inlinevirtual |
Reimplemented in VQwScaler_Channel, QwBCM< T >, VQwBCM, and QwHaloMonitor.
Definition at line 163 of file VQwDataElement.h.
Referenced by QwBeamLine::LoadChannelMap().
|
inlinevirtual |
Addition-assignment operator.
Definition at line 112 of file VQwDataElement.h.
|
inlinevirtual |
Subtraction-assignment operator.
Definition at line 115 of file VQwDataElement.h.
|
inlineprotectedvirtual |
Arithmetic assignment operator: Should only copy event-based data.
Definition at line 196 of file VQwDataElement.h.
References fErrorFlag, fGoodEventCount, and MQwHistograms::operator=().
Referenced by VQwHardwareChannel::operator=().
|
inlinevirtual |
report number of events failed due to HW and event cut failure
Reimplemented in VQwBPM, QwVQWK_Channel, VQwScaler_Channel, QwBPMStripline< T >, QwCombinedBPM< T >, QwIntegrationPMT, QwLinearDiodeArray, QwBPMCavity, QwHaloMonitor, QwQPD, QwBCM< T >, QwPMT_Channel, QwEnergyCalculator, QwCombinedPMT, QwClock< T >, QwIntegratedRasterChannel< T >, and QwIntegratedRasterChannel< QwVQWK_Channel >.
Definition at line 142 of file VQwDataElement.h.
|
inlinevirtual |
Print multiple lines of information about this data element.
Reimplemented in QwVQWK_Channel, VQwBPM, VQwScaler_Channel, QwSIS3320_Channel, QwHaloMonitor, QwIntegrationPMT, QwBCM< T >, QwCombinedPMT, QwIntegratedRasterChannel< T >, QwIntegratedRasterChannel< QwVQWK_Channel >, QwClock< T >, QwBPMStripline< T >, QwCombinedBPM< T >, QwPMT_Channel, QwLinearDiodeArray, QwBPMCavity, and QwEnergyCalculator.
Definition at line 136 of file VQwDataElement.h.
References GetElementName().
|
inlinevirtual |
Print single line of value and error of this data element.
Reimplemented in QwVQWK_Channel, VQwScaler_Channel, QwSIS3320_Channel, QwHaloMonitor, QwIntegrationPMT, QwBCM< T >, QwCombinedPMT, QwIntegratedRasterChannel< T >, QwIntegratedRasterChannel< QwVQWK_Channel >, QwClock< T >, QwBPMStripline< T >, QwCombinedBPM< T >, QwPMT_Channel, QwLinearDiodeArray, QwBPMCavity, and QwEnergyCalculator.
Definition at line 134 of file VQwDataElement.h.
|
pure virtual |
Process the CODA event buffer for this element.
Implemented in QwScaler_Channel< data_mask, data_shift >, QwScaler_Channel< 0x00ffffff, 0 >, QwVQWK_Channel, QwSIS3320_Channel, VQwScaler_Channel, QwBPMStripline< T >, QwCombinedBPM< T >, QwLinearDiodeArray, QwQPD, QwBPMCavity, QwHaloMonitor, QwSIS3320_Accumulator, QwBCM< T >, QwEnergyCalculator, QwCombinedBCM< T >, QwClock< T >, QwIntegrationPMT, QwCombinedPMT, QwPMT_Channel, VQwBCM, VQwClock, QwIntegratedRasterChannel< T >, QwIntegratedRasterChannel< QwVQWK_Channel >, and QwSIS3320_LogicalAccumulator.
|
inlinevirtual |
Ratio operator.
Definition at line 125 of file VQwDataElement.h.
|
inline |
Set the name of this element.
Definition at line 88 of file VQwDataElement.h.
References fElementName.
Referenced by QwRegression::ConnectChannels(), QwCombinedPMT::InitializeChannel(), QwPMT_Channel::InitializeChannel(), QwHaloMonitor::InitializeChannel(), QwEnergyCalculator::InitializeChannel(), VQwScaler_Channel::InitializeChannel(), VQwBPM::InitializeChannel(), QwVQWK_Channel::InitializeChannel(), QwSIS3320_Channel::InitializeChannel(), QwCombinedPMT::LinkChannel(), QwSIS3320_Accumulator::QwSIS3320_Accumulator(), and QwIntegrationPMT::SetElementName().
|
inlinevirtual |
Reimplemented in VQwScaler_Channel, QwBCM< T >, VQwBCM, and QwHaloMonitor.
Definition at line 166 of file VQwDataElement.h.
|
inlinevirtual |
Reimplemented in VQwScaler_Channel, QwBCM< T >, VQwBCM, and QwHaloMonitor.
Definition at line 165 of file VQwDataElement.h.
Referenced by QwBeamLine::LoadChannelMap().
|
inline |
set the type of the beam instrument
Definition at line 187 of file VQwDataElement.h.
References fModuleType.
Referenced by QwCombinedBPM< T >::InitializeChannel(), QwBPMStripline< T >::InitializeChannel(), VQwScaler_Channel::InitializeChannel(), and QwVQWK_Channel::InitializeChannel().
|
inlinevirtual |
Reimplemented in VQwScaler_Channel.
Definition at line 162 of file VQwDataElement.h.
|
inlineprotected |
Set the number of data words in this data element.
Definition at line 193 of file VQwDataElement.h.
References fNumberOfDataWords.
Referenced by QwSIS3320_Channel::InitializeChannel(), and QwSIS3320_Accumulator::QwSIS3320_Accumulator().
|
inlinevirtual |
set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel
Reimplemented in QwIntegrationPMT, QwBCM< T >, VQwHardwareChannel, QwHaloMonitor, QwIntegratedRasterChannel< T >, QwIntegratedRasterChannel< QwVQWK_Channel >, QwClock< T >, QwCombinedPMT, QwEnergyCalculator, VQwBCM, and VQwClock.
Definition at line 140 of file VQwDataElement.h.
|
inline |
Set the name of the inheriting subsystem name.
Definition at line 177 of file VQwDataElement.h.
References fSubsystemName.
Referenced by VQwScaler_Channel::InitializeChannel(), QwVQWK_Channel::InitializeChannel(), QwBCM< T >::QwBCM(), QwBPMCavity::QwBPMCavity(), QwBPMStripline< T >::QwBPMStripline(), QwClock< T >::QwClock(), QwCombinedBCM< T >::QwCombinedBCM(), QwCombinedPMT::QwCombinedPMT(), QwIntegratedRasterChannel< QwVQWK_Channel >::QwIntegratedRasterChannel(), QwIntegrationPMT::QwIntegrationPMT(), QwLinearDiodeArray::QwLinearDiodeArray(), and QwQPD::QwQPD().
|
inlinevirtual |
Sum operator.
Definition at line 119 of file VQwDataElement.h.
|
inlinevirtual |
Update the error flag based on the error flags of internally contained objects Return paramter is the "Eventcut Error Flag".
Reimplemented in QwBPMStripline< T >, QwCombinedBPM< T >, QwIntegrationPMT, VQwHardwareChannel, QwLinearDiodeArray, QwBPMCavity, QwQPD, QwCombinedPMT, QwHaloMonitor, VQwBPM, QwEnergyCalculator, QwCombinedBCM< T >, QwClock< T >, QwIntegratedRasterChannel< T >, QwIntegratedRasterChannel< QwVQWK_Channel >, and VQwBCM.
Definition at line 158 of file VQwDataElement.h.
References GetEventcutErrorFlag().
|
inlineprotectedvirtual |
Definition at line 207 of file VQwDataElement.h.
References fErrorFlag.
|
protected |
Name of this data element.
Definition at line 207 of file VQwDataElement.h.
Referenced by VQwScaler_Channel::FillTreeVector(), GetElementName(), IsNameEmpty(), QwLinearDiodeArray::ProcessEvent(), QwQPD::ProcessEvent(), QwBPMStripline< T >::ProcessEvent(), QwIntegrationPMT::SetElementName(), and SetElementName().
|
protected |
contains the global/local/stability flags
Definition at line 224 of file VQwDataElement.h.
Referenced by QwVQWK_Channel::CalculateRunningAverage(), GetEventcutErrorFlag(), VQwScaler_Channel::InitializeChannel(), QwVQWK_Channel::InitializeChannel(), VQwHardwareChannel::SetSingleEventCuts(), 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 223 of file VQwDataElement.h.
Referenced by QwVQWK_Channel::AccumulateRunningSum(), VQwScaler_Channel::AccumulateRunningSum(), VQwScaler_Channel::ApplyHWChecks(), QwVQWK_Channel::ApplyHWChecks(), VQwScaler_Channel::ApplySingleEventCuts(), QwVQWK_Channel::ApplySingleEventCuts(), VQwScaler_Channel::AssignScaledValue(), QwVQWK_Channel::AssignScaledValue(), QwVQWK_Channel::Blind(), QwVQWK_Channel::CalculateRunningAverage(), VQwScaler_Channel::ClearEventData(), QwVQWK_Channel::ClearEventData(), ClearEventData(), VQwScaler_Channel::FillHistograms(), QwVQWK_Channel::FillHistograms(), VQwScaler_Channel::FillTreeVector(), QwVQWK_Channel::FillTreeVector(), VQwHardwareChannel::GetErrorCode(), GetEventcutErrorFlag(), VQwScaler_Channel::IncrementErrorCounters(), QwVQWK_Channel::IncrementErrorCounters(), VQwScaler_Channel::InitializeChannel(), QwVQWK_Channel::InitializeChannel(), VQwScaler_Channel::operator*=(), QwVQWK_Channel::operator*=(), VQwScaler_Channel::operator+=(), QwVQWK_Channel::operator+=(), VQwScaler_Channel::operator-=(), QwVQWK_Channel::operator-=(), VQwScaler_Channel::operator/=(), QwVQWK_Channel::operator/=(), operator=(), QwVQWK_Channel::ProcessEvent(), VQwScaler_Channel::Product(), QwVQWK_Channel::Product(), VQwScaler_Channel::Ratio(), QwVQWK_Channel::Ratio(), VQwScaler_Channel::ScaledAdd(), QwVQWK_Channel::ScaledAdd(), VQwHardwareChannel::UpdateErrorFlag(), UpdateErrorFlag(), and VQwHardwareChannel::VQwHardwareChannel().
|
protected |
Number of good events accumulated in this element.
Definition at line 212 of file VQwDataElement.h.
Referenced by VQwHardwareChannel::AccumulateRunningSum(), QwVQWK_Channel::AccumulateRunningSum(), VQwScaler_Channel::AccumulateRunningSum(), QwVQWK_Channel::ApplyHWChecks(), VQwScaler_Channel::AssignScaledValue(), QwVQWK_Channel::AssignScaledValue(), VQwScaler_Channel::CalculateRunningAverage(), QwVQWK_Channel::CalculateRunningAverage(), VQwScaler_Channel::ClearEventData(), QwVQWK_Channel::ClearEventData(), GetGoodEventCount(), VQwHardwareChannel::GetValueWidth(), VQwScaler_Channel::InitializeChannel(), QwVQWK_Channel::InitializeChannel(), operator=(), QwVQWK_Channel::PrintValue(), VQwScaler_Channel::Product(), VQwScaler_Channel::Ratio(), and QwVQWK_Channel::Ratio().
|
protected |
Definition at line 218 of file VQwDataElement.h.
Referenced by GetModuleType(), and SetModuleType().
|
protected |
Number of raw data words in this data element.
Definition at line 211 of file VQwDataElement.h.
Referenced by GetNumberOfDataWords(), QwSIS3320_Accumulator::ProcessEvBuffer(), QwSIS3320_Channel::ProcessEvBuffer(), and SetNumberOfDataWords().
|
protected |
Definition at line 216 of file VQwDataElement.h.
Referenced by GetSubsystemName(), and SetSubsystemName().