QwAnalysis
|
#include <QwIntegrationPMT.h>
Public Member Functions | |
QwIntegrationPMT () | |
QwIntegrationPMT (TString name) | |
QwIntegrationPMT (TString subsystemname, TString name) | |
QwIntegrationPMT (const QwIntegrationPMT &source) | |
virtual | ~QwIntegrationPMT () |
void | LoadChannelParameters (QwParameterFile ¶mfile) |
Int_t | ProcessEvBuffer (UInt_t *buffer, UInt_t word_position_in_buffer, UInt_t subelement=0) |
Process the CODA event buffer for this element. More... | |
void | InitializeChannel (TString name, TString datatosave) |
void | InitializeChannel (TString subsystem, TString name, TString datatosave) |
void | InitializeChannel (TString subsystem, TString module, TString name, TString datatosave) |
void | SetElementName (const TString &name) |
const QwVQWK_Channel * | GetChannel (const TString name) const |
void | ClearEventData () |
Clear the event data in this element. More... | |
void | PrintErrorCounters () |
void | SetRandomEventDriftParameters (Double_t amplitude, Double_t phase, Double_t frequency) |
void | AddRandomEventDriftParameters (Double_t amplitude, Double_t phase, Double_t frequency) |
void | SetRandomEventParameters (Double_t mean, Double_t sigma) |
void | SetRandomEventAsymmetry (Double_t asymmetry) |
void | RandomizeEventData (int helicity=0, double time=0.0) |
void | SetHardwareSum (Double_t hwsum, UInt_t sequencenumber=0) |
void | SetEventData (Double_t *block, UInt_t sequencenumber) |
void | EncodeEventData (std::vector< UInt_t > &buffer) |
void | UseExternalRandomVariable () |
void | SetExternalRandomVariable (Double_t random_variable) |
Double_t | GetValue () |
Double_t | GetValue (Int_t blocknum) |
void | ProcessEvent () |
Bool_t | ApplyHWChecks () |
Bool_t | ApplySingleEventCuts () |
void | IncrementErrorCounters () |
void | PrintErrorCounters () const |
report number of events failed due to HW and event cut failure More... | |
Int_t | SetSingleEventCuts (Double_t, Double_t) |
void | SetSingleEventCuts (UInt_t errorflag, Double_t LL, Double_t UL, Double_t stability) |
Inherited from VQwDataElement to set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel. More... | |
void | SetDefaultSampleSize (Int_t sample_size) |
UInt_t | GetEventcutErrorFlag () |
return the error flag on this channel/device More... | |
UInt_t | UpdateErrorFlag () |
Update the error flag based on the error flags of internally contained objects Return paramter is the "Eventcut Error Flag". More... | |
void | UpdateErrorFlag (const QwIntegrationPMT *ev_error) |
void | SetEventCutMode (Int_t bcuts) |
void | SetBlindability (Bool_t isblindable) |
void | SetNormalizability (Bool_t isnormalizable) |
void | Blind (const QwBlinder *blinder) |
Blind the asymmetry. More... | |
void | Blind (const QwBlinder *blinder, const QwIntegrationPMT &yield) |
Blind the difference using the yield. More... | |
void | PrintValue () const |
Print single line of value and error of this data element. More... | |
void | PrintInfo () const |
Print multiple lines of information about this data element. More... | |
QwIntegrationPMT & | operator= (const QwIntegrationPMT &value) |
QwIntegrationPMT & | operator+= (const QwIntegrationPMT &value) |
QwIntegrationPMT & | operator-= (const QwIntegrationPMT &value) |
void | Sum (QwIntegrationPMT &value1, QwIntegrationPMT &value2) |
void | Difference (QwIntegrationPMT &value1, QwIntegrationPMT &value2) |
void | Ratio (QwIntegrationPMT &numer, QwIntegrationPMT &denom) |
void | Scale (Double_t factor) |
void | Normalize (VQwDataElement *denom) |
void | AccumulateRunningSum (const QwIntegrationPMT &value) |
void | DeaccumulateRunningSum (QwIntegrationPMT &value) |
void | CalculateRunningAverage () |
void | SetPedestal (Double_t ped) |
void | SetCalibrationFactor (Double_t calib) |
void | ConstructHistograms (TDirectory *folder, TString &prefix) |
Construct the histograms for this data element. More... | |
void | FillHistograms () |
Fill the histograms for this data element. More... | |
void | ConstructBranchAndVector (TTree *tree, TString &prefix, std::vector< Double_t > &values) |
void | ConstructBranch (TTree *tree, TString &prefix) |
void | ConstructBranch (TTree *tree, TString &prefix, QwParameterFile &trim_file) |
void | FillTreeVector (std::vector< Double_t > &values) const |
std::vector< QwDBInterface > | GetDBEntry () |
std::vector< QwErrDBInterface > | GetErrDBEntry () |
![]() | |
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... | |
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 | 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... | |
![]() | |
void | ShareHistograms (const MQwHistograms *source) |
Share histogram pointers between objects. More... | |
Private Attributes | |
Double_t | fPedestal |
Double_t | fCalibration |
Bool_t | fGoodEvent |
QwVQWK_Channel | fTriumf_ADC |
Int_t | fDeviceErrorCode |
Bool_t | fIsBlindable |
Bool_t | fIsNormalizable |
Bool_t | bEVENTCUTMODE |
Static Private Attributes | |
static const Bool_t | bDEBUG =kFALSE |
Additional Inherited Members | |
![]() | |
enum | EDataToSave { kRaw = 0, kDerived } |
![]() | |
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) |
![]() | |
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... | |
![]() | |
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 |
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... | |
![]() | |
std::vector< TH1_ptr > | fHistograms |
Histograms associated with this data element. More... | |
Definition at line 31 of file QwIntegrationPMT.h.
|
inline |
Definition at line 34 of file QwIntegrationPMT.h.
References InitializeChannel().
|
inline |
Definition at line 37 of file QwIntegrationPMT.h.
References InitializeChannel().
|
inline |
Definition at line 40 of file QwIntegrationPMT.h.
References InitializeChannel(), and VQwDataElement::SetSubsystemName().
|
inline |
Definition at line 44 of file QwIntegrationPMT.h.
|
inlinevirtual |
Definition at line 52 of file QwIntegrationPMT.h.
void QwIntegrationPMT::AccumulateRunningSum | ( | const QwIntegrationPMT & | value | ) |
Definition at line 419 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::AccumulateRunningSum(), and fTriumf_ADC.
Referenced by QwCombinedPMT::AccumulateRunningSum().
void QwIntegrationPMT::AddRandomEventDriftParameters | ( | Double_t | amplitude, |
Double_t | phase, | ||
Double_t | frequency | ||
) |
Definition at line 92 of file QwIntegrationPMT.cc.
References MQwMockable::AddRandomEventDriftParameters(), and fTriumf_ADC.
Bool_t QwIntegrationPMT::ApplyHWChecks | ( | ) |
Definition at line 152 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::ApplyHWChecks(), and fTriumf_ADC.
Referenced by ProcessEvent().
Bool_t QwIntegrationPMT::ApplySingleEventCuts | ( | ) |
Definition at line 186 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::ApplySingleEventCuts(), and fTriumf_ADC.
Referenced by QwCombinedPMT::ApplySingleEventCuts().
void QwIntegrationPMT::Blind | ( | const QwBlinder * | blinder | ) |
Blind the asymmetry.
Definition at line 430 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::Blind(), fIsBlindable, and fTriumf_ADC.
Referenced by QwCombinedPMT::Blind().
void QwIntegrationPMT::Blind | ( | const QwBlinder * | blinder, |
const QwIntegrationPMT & | yield | ||
) |
Blind the difference using the yield.
Definition at line 435 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::Blind(), fIsBlindable, and fTriumf_ADC.
void QwIntegrationPMT::CalculateRunningAverage | ( | ) |
Definition at line 414 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::CalculateRunningAverage(), and fTriumf_ADC.
Referenced by QwCombinedPMT::CalculateRunningAverage().
|
virtual |
Clear the event data in this element.
Reimplemented from VQwDataElement.
Definition at line 64 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::ClearEventData(), and fTriumf_ADC.
Referenced by QwCombinedPMT::CalculateSumAndAverage(), and QwCombinedPMT::ClearEventData().
void QwIntegrationPMT::ConstructBranch | ( | TTree * | tree, |
TString & | prefix | ||
) |
Definition at line 376 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::ConstructBranch(), fTriumf_ADC, and VQwDataElement::GetElementName().
Referenced by QwCombinedPMT::ConstructBranch().
void QwIntegrationPMT::ConstructBranch | ( | TTree * | tree, |
TString & | prefix, | ||
QwParameterFile & | trim_file | ||
) |
Definition at line 387 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::ConstructBranch(), QwLog::endl(), fTriumf_ADC, VQwDataElement::GetElementName(), QwParameterFile::HasValue(), and QwMessage.
void QwIntegrationPMT::ConstructBranchAndVector | ( | TTree * | tree, |
TString & | prefix, | ||
std::vector< Double_t > & | values | ||
) |
Definition at line 365 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::ConstructBranchAndVector(), fTriumf_ADC, and VQwDataElement::GetElementName().
Referenced by QwCombinedPMT::ConstructBranchAndVector().
|
virtual |
Construct the histograms for this data element.
Implements VQwDataElement.
Definition at line 337 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::ConstructHistograms(), fTriumf_ADC, and VQwDataElement::GetElementName().
Referenced by QwCombinedPMT::ConstructHistograms().
void QwIntegrationPMT::DeaccumulateRunningSum | ( | QwIntegrationPMT & | value | ) |
Definition at line 424 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::DeaccumulateRunningSum(), and fTriumf_ADC.
Referenced by QwCombinedPMT::DeaccumulateRunningSum().
void QwIntegrationPMT::Difference | ( | QwIntegrationPMT & | value1, |
QwIntegrationPMT & | value2 | ||
) |
Definition at line 285 of file QwIntegrationPMT.cc.
void QwIntegrationPMT::EncodeEventData | ( | std::vector< UInt_t > & | buffer | ) |
Definition at line 139 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::EncodeEventData(), and fTriumf_ADC.
|
virtual |
Fill the histograms for this data element.
Implements VQwDataElement.
Definition at line 350 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::FillHistograms(), fTriumf_ADC, and VQwDataElement::GetElementName().
Referenced by QwCombinedPMT::FillHistograms().
void QwIntegrationPMT::FillTreeVector | ( | std::vector< Double_t > & | values | ) | const |
Definition at line 405 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::FillTreeVector(), fTriumf_ADC, and VQwDataElement::GetElementName().
Referenced by QwCombinedPMT::FillTreeVector().
|
inline |
Definition at line 65 of file QwIntegrationPMT.h.
References fTriumf_ADC, and VQwDataElement::GetElementName().
Referenced by QwCombinedPMT::GetChannel(), and QwMainCerenkovDetector::PublishInternalValues().
std::vector< QwDBInterface > QwIntegrationPMT::GetDBEntry | ( | ) |
Definition at line 441 of file QwIntegrationPMT.cc.
References VQwHardwareChannel::AddEntriesToList(), and fTriumf_ADC.
Referenced by QwCombinedPMT::GetDBEntry().
std::vector< QwErrDBInterface > QwIntegrationPMT::GetErrDBEntry | ( | ) |
Definition at line 453 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::AddErrEntriesToList(), and fTriumf_ADC.
Referenced by QwCombinedPMT::GetErrDBEntry().
|
inlinevirtual |
return the error flag on this channel/device
Reimplemented from VQwDataElement.
Definition at line 102 of file QwIntegrationPMT.h.
References fTriumf_ADC, and VQwDataElement::GetEventcutErrorFlag().
Referenced by QwCombinedPMT::GetEventcutErrorFlag(), and UpdateErrorFlag().
Double_t QwIntegrationPMT::GetValue | ( | ) |
Definition at line 122 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and QwVQWK_Channel::GetValue().
Referenced by QwCombinedPMT::CalculateSumAndAverage().
Double_t QwIntegrationPMT::GetValue | ( | Int_t | blocknum | ) |
Definition at line 127 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and QwVQWK_Channel::GetValue().
|
inline |
Definition at line 94 of file QwIntegrationPMT.h.
References fTriumf_ADC, and QwVQWK_Channel::IncrementErrorCounters().
Referenced by QwCombinedPMT::IncrementErrorCounters().
void QwIntegrationPMT::InitializeChannel | ( | TString | name, |
TString | datatosave | ||
) |
Definition at line 31 of file QwIntegrationPMT.cc.
References fTriumf_ADC, QwVQWK_Channel::InitializeChannel(), SetBlindability(), SetCalibrationFactor(), SetElementName(), SetNormalizability(), and SetPedestal().
Referenced by QwCombinedPMT::InitializeChannel(), and QwIntegrationPMT().
void QwIntegrationPMT::InitializeChannel | ( | TString | subsystem, |
TString | name, | ||
TString | datatosave | ||
) |
Definition at line 42 of file QwIntegrationPMT.cc.
References fTriumf_ADC, QwVQWK_Channel::InitializeChannel(), SetBlindability(), SetCalibrationFactor(), SetElementName(), SetNormalizability(), and SetPedestal().
void QwIntegrationPMT::InitializeChannel | ( | TString | subsystem, |
TString | module, | ||
TString | name, | ||
TString | datatosave | ||
) |
Definition at line 53 of file QwIntegrationPMT.cc.
References fTriumf_ADC, QwVQWK_Channel::InitializeChannel(), SetBlindability(), SetCalibrationFactor(), SetElementName(), SetNormalizability(), and SetPedestal().
|
inlinevirtual |
void QwIntegrationPMT::Normalize | ( | VQwDataElement * | denom | ) |
Definition at line 309 of file QwIntegrationPMT.cc.
References QwVQWK_Channel::DivideBy(), fIsNormalizable, and fTriumf_ADC.
Referenced by QwCombinedPMT::Normalize().
QwIntegrationPMT & QwIntegrationPMT::operator+= | ( | const QwIntegrationPMT & | value | ) |
Definition at line 257 of file QwIntegrationPMT.cc.
References fCalibration, fPedestal, fTriumf_ADC, and VQwDataElement::GetElementName().
QwIntegrationPMT & QwIntegrationPMT::operator-= | ( | const QwIntegrationPMT & | value | ) |
Definition at line 268 of file QwIntegrationPMT.cc.
References fCalibration, fPedestal, fTriumf_ADC, and VQwDataElement::GetElementName().
QwIntegrationPMT & QwIntegrationPMT::operator= | ( | const QwIntegrationPMT & | value | ) |
Definition at line 240 of file QwIntegrationPMT.cc.
References fCalibration, fPedestal, fTriumf_ADC, and VQwDataElement::GetElementName().
void QwIntegrationPMT::PrintErrorCounters | ( | ) |
Definition at line 70 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and QwVQWK_Channel::PrintErrorCounters().
Referenced by QwCombinedPMT::PrintErrorCounters().
|
virtual |
report number of events failed due to HW and event cut failure
Reimplemented from VQwDataElement.
Definition at line 206 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and QwVQWK_Channel::PrintErrorCounters().
|
virtual |
Print multiple lines of information about this data element.
Reimplemented from VQwDataElement.
Definition at line 323 of file QwIntegrationPMT.cc.
References fIsBlindable, fIsNormalizable, fTriumf_ADC, and QwVQWK_Channel::PrintInfo().
Referenced by QwCombinedPMT::CalculateSumAndAverage(), and QwCombinedPMT::PrintInfo().
|
virtual |
Print single line of value and error of this data element.
Reimplemented from VQwDataElement.
Definition at line 318 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and QwVQWK_Channel::PrintValue().
Referenced by QwCombinedPMT::PrintValue().
|
virtual |
Process the CODA event buffer for this element.
Implements VQwDataElement.
Definition at line 232 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and QwVQWK_Channel::ProcessEvBuffer().
void QwIntegrationPMT::ProcessEvent | ( | ) |
Definition at line 144 of file QwIntegrationPMT.cc.
References ApplyHWChecks(), fTriumf_ADC, and QwVQWK_Channel::ProcessEvent().
void QwIntegrationPMT::RandomizeEventData | ( | int | helicity = 0 , |
double | time = 0.0 |
||
) |
Definition at line 110 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and QwVQWK_Channel::RandomizeEventData().
void QwIntegrationPMT::Ratio | ( | QwIntegrationPMT & | numer, |
QwIntegrationPMT & | denom | ||
) |
Definition at line 290 of file QwIntegrationPMT.cc.
References fCalibration, fPedestal, fTriumf_ADC, VQwDataElement::GetElementName(), and QwVQWK_Channel::Ratio().
Referenced by QwCombinedPMT::Ratio().
void QwIntegrationPMT::Scale | ( | Double_t | factor | ) |
Definition at line 303 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and QwVQWK_Channel::Scale().
Referenced by QwCombinedPMT::CalculateSumAndAverage(), and QwCombinedPMT::Scale().
|
inline |
Definition at line 114 of file QwIntegrationPMT.h.
References fIsBlindable.
Referenced by InitializeChannel(), QwMainCerenkovDetector::LoadChannelMap(), QwLumi::LoadChannelMap(), and QwCombinedPMT::SetBlindability().
void QwIntegrationPMT::SetCalibrationFactor | ( | Double_t | calib | ) |
Definition at line 24 of file QwIntegrationPMT.cc.
References fCalibration, fTriumf_ADC, and VQwHardwareChannel::SetCalibrationFactor().
Referenced by InitializeChannel().
void QwIntegrationPMT::SetDefaultSampleSize | ( | Int_t | sample_size | ) |
Definition at line 180 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and QwVQWK_Channel::SetDefaultSampleSize().
Referenced by QwCombinedPMT::SetDefaultSampleSize().
|
inline |
Definition at line 63 of file QwIntegrationPMT.h.
References VQwDataElement::fElementName, fTriumf_ADC, and VQwDataElement::SetElementName().
Referenced by InitializeChannel(), and QwCombinedPMT::LinkChannel().
|
inline |
Definition at line 109 of file QwIntegrationPMT.h.
References bEVENTCUTMODE, fTriumf_ADC, and VQwHardwareChannel::SetEventCutMode().
Referenced by QwCombinedPMT::SetEventCutMode().
void QwIntegrationPMT::SetEventData | ( | Double_t * | block, |
UInt_t | sequencenumber | ||
) |
Definition at line 133 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and QwVQWK_Channel::SetEventData().
Referenced by QwCombinedPMT::SetEventData().
void QwIntegrationPMT::SetExternalRandomVariable | ( | Double_t | random_variable | ) |
Definition at line 80 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and MQwMockable::SetExternalRandomVariable().
void QwIntegrationPMT::SetHardwareSum | ( | Double_t | hwsum, |
UInt_t | sequencenumber = 0 |
||
) |
Definition at line 116 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and QwVQWK_Channel::SetHardwareSum().
|
inline |
Definition at line 115 of file QwIntegrationPMT.h.
References fIsNormalizable.
Referenced by InitializeChannel(), QwMainCerenkovDetector::LoadChannelMap(), QwLumi::LoadChannelMap(), and QwCombinedPMT::SetNormalizability().
void QwIntegrationPMT::SetPedestal | ( | Double_t | ped | ) |
Definition at line 17 of file QwIntegrationPMT.cc.
References fPedestal, fTriumf_ADC, and VQwHardwareChannel::SetPedestal().
Referenced by InitializeChannel().
void QwIntegrationPMT::SetRandomEventAsymmetry | ( | Double_t | asymmetry | ) |
Definition at line 104 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and MQwMockable::SetRandomEventAsymmetry().
void QwIntegrationPMT::SetRandomEventDriftParameters | ( | Double_t | amplitude, |
Double_t | phase, | ||
Double_t | frequency | ||
) |
Definition at line 86 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and MQwMockable::SetRandomEventDriftParameters().
void QwIntegrationPMT::SetRandomEventParameters | ( | Double_t | mean, |
Double_t | sigma | ||
) |
Definition at line 98 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and MQwMockable::SetRandomEventParameters().
Int_t QwIntegrationPMT::SetSingleEventCuts | ( | Double_t | LL = 0 , |
Double_t | UL = 0 |
||
) |
Definition at line 164 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and VQwHardwareChannel::SetSingleEventCuts().
Referenced by QwCombinedPMT::SetSingleEventCuts().
|
virtual |
Inherited from VQwDataElement to set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel.
Reimplemented from VQwDataElement.
Definition at line 170 of file QwIntegrationPMT.cc.
References QwLog::endl(), fTriumf_ADC, kPMTErrorFlag, QwMessage, and VQwHardwareChannel::SetSingleEventCuts().
void QwIntegrationPMT::Sum | ( | QwIntegrationPMT & | value1, |
QwIntegrationPMT & | value2 | ||
) |
Definition at line 280 of file QwIntegrationPMT.cc.
|
inlinevirtual |
Update the error flag based on the error flags of internally contained objects Return paramter is the "Eventcut Error Flag".
Reimplemented from VQwDataElement.
Definition at line 106 of file QwIntegrationPMT.h.
References GetEventcutErrorFlag().
Referenced by QwCombinedPMT::UpdateErrorFlag().
void QwIntegrationPMT::UpdateErrorFlag | ( | const QwIntegrationPMT * | ev_error | ) |
Definition at line 211 of file QwIntegrationPMT.cc.
References Qw::e, fTriumf_ADC, VQwDataElement::GetElementName(), and VQwHardwareChannel::UpdateErrorFlag().
void QwIntegrationPMT::UseExternalRandomVariable | ( | ) |
Definition at line 74 of file QwIntegrationPMT.cc.
References fTriumf_ADC, and MQwMockable::UseExternalRandomVariable().
|
staticprivate |
Definition at line 172 of file QwIntegrationPMT.h.
|
private |
Definition at line 173 of file QwIntegrationPMT.h.
Referenced by SetEventCutMode().
|
private |
Definition at line 162 of file QwIntegrationPMT.h.
Referenced by operator+=(), operator-=(), operator=(), Ratio(), and SetCalibrationFactor().
|
private |
Definition at line 167 of file QwIntegrationPMT.h.
|
private |
Definition at line 163 of file QwIntegrationPMT.h.
|
private |
Definition at line 169 of file QwIntegrationPMT.h.
Referenced by Blind(), PrintInfo(), and SetBlindability().
|
private |
Definition at line 170 of file QwIntegrationPMT.h.
Referenced by Normalize(), PrintInfo(), and SetNormalizability().
|
private |
Definition at line 161 of file QwIntegrationPMT.h.
Referenced by operator+=(), operator-=(), operator=(), Ratio(), and SetPedestal().
|
private |
Definition at line 165 of file QwIntegrationPMT.h.
Referenced by AccumulateRunningSum(), AddRandomEventDriftParameters(), ApplyHWChecks(), ApplySingleEventCuts(), Blind(), CalculateRunningAverage(), ClearEventData(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), DeaccumulateRunningSum(), EncodeEventData(), FillHistograms(), FillTreeVector(), GetChannel(), GetDBEntry(), GetErrDBEntry(), GetEventcutErrorFlag(), GetValue(), IncrementErrorCounters(), InitializeChannel(), Normalize(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), PrintValue(), ProcessEvBuffer(), ProcessEvent(), RandomizeEventData(), Ratio(), Scale(), SetCalibrationFactor(), SetDefaultSampleSize(), SetElementName(), SetEventCutMode(), SetEventData(), SetExternalRandomVariable(), SetHardwareSum(), SetPedestal(), SetRandomEventAsymmetry(), SetRandomEventDriftParameters(), SetRandomEventParameters(), SetSingleEventCuts(), UpdateErrorFlag(), and UseExternalRandomVariable().