QwAnalysis
QwIntegrationPMT Class Reference

#include <QwIntegrationPMT.h>

+ Inheritance diagram for QwIntegrationPMT:
+ Collaboration diagram for QwIntegrationPMT:

Public Member Functions

 QwIntegrationPMT ()
 
 QwIntegrationPMT (TString name)
 
 QwIntegrationPMT (TString subsystemname, TString name)
 
 QwIntegrationPMT (const QwIntegrationPMT &source)
 
virtual ~QwIntegrationPMT ()
 
void LoadChannelParameters (QwParameterFile &paramfile)
 
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_ChannelGetChannel (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...
 
QwIntegrationPMToperator= (const QwIntegrationPMT &value)
 
QwIntegrationPMToperator+= (const QwIntegrationPMT &value)
 
QwIntegrationPMToperator-= (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< QwDBInterfaceGetDBEntry ()
 
std::vector< QwErrDBInterfaceGetErrDBEntry ()
 
- Public Member Functions inherited from VQwDataElement
 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 VQwDataElementoperator+= (const VQwDataElement &value)
 Addition-assignment operator. More...
 
virtual VQwDataElementoperator-= (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...
 
- Public Member Functions inherited from MQwHistograms
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

- Public Types inherited from VQwDataElement
enum  EDataToSave { kRaw = 0, kDerived }
 
- Protected Member Functions inherited from VQwDataElement
void SetNumberOfDataWords (const UInt_t &numwords)
 Set the number of data words in this data element. More...
 
virtual VQwDataElementoperator= (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 MQwHistogramsoperator= (const MQwHistograms &value)
 
void Fill_Pointer (TH1_ptr hist_ptr, Double_t value)
 
void AddHistogram (TH1 *h)
 Register a histogram. More...
 
- Protected Attributes inherited from VQwDataElement
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...
 
- Protected Attributes inherited from MQwHistograms
std::vector< TH1_ptrfHistograms
 Histograms associated with this data element. More...
 

Detailed Description

Definition at line 31 of file QwIntegrationPMT.h.

Constructor & Destructor Documentation

QwIntegrationPMT::QwIntegrationPMT ( )
inline

Definition at line 34 of file QwIntegrationPMT.h.

References InitializeChannel().

34  {
35  InitializeChannel("","raw");
36  };
void InitializeChannel(TString name, TString datatosave)

+ Here is the call graph for this function:

QwIntegrationPMT::QwIntegrationPMT ( TString  name)
inline

Definition at line 37 of file QwIntegrationPMT.h.

References InitializeChannel().

37  {
38  InitializeChannel(name,"raw");
39  };
void InitializeChannel(TString name, TString datatosave)

+ Here is the call graph for this function:

QwIntegrationPMT::QwIntegrationPMT ( TString  subsystemname,
TString  name 
)
inline

Definition at line 40 of file QwIntegrationPMT.h.

References InitializeChannel(), and VQwDataElement::SetSubsystemName().

40  {
41  SetSubsystemName(subsystemname);
42  InitializeChannel(subsystemname, name,"raw");
43  };
void InitializeChannel(TString name, TString datatosave)
void SetSubsystemName(TString sysname)
Set the name of the inheriting subsystem name.

+ Here is the call graph for this function:

QwIntegrationPMT::QwIntegrationPMT ( const QwIntegrationPMT source)
inline

Definition at line 44 of file QwIntegrationPMT.h.

45  : VQwDataElement(source),
46  fPedestal(source.fPedestal),
47  fCalibration(source.fCalibration),
48  fTriumf_ADC(source.fTriumf_ADC),
49  fIsBlindable(source.fIsBlindable),
51  { }
VQwDataElement()
Default constructor.
QwVQWK_Channel fTriumf_ADC
virtual QwIntegrationPMT::~QwIntegrationPMT ( )
inlinevirtual

Definition at line 52 of file QwIntegrationPMT.h.

52 { };

Member Function Documentation

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().

420 {
422 }
QwVQWK_Channel fTriumf_ADC
void AccumulateRunningSum(const QwVQWK_Channel &value)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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.

93 {
94  fTriumf_ADC.AddRandomEventDriftParameters(amplitude, phase, frequency);
95  return;
96 }
void AddRandomEventDriftParameters(Double_t amplitude, Double_t phase, Double_t frequency)
Add drift parameters to the internal set.
Definition: MQwMockable.cc:32
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

Bool_t QwIntegrationPMT::ApplyHWChecks ( )

Definition at line 152 of file QwIntegrationPMT.cc.

References QwVQWK_Channel::ApplyHWChecks(), and fTriumf_ADC.

Referenced by ProcessEvent().

153 {
154  Bool_t eventokay=kTRUE;
155 
156  UInt_t deviceerror=fTriumf_ADC.ApplyHWChecks();//will check for consistancy between HWSUM and SWSUM also check for sample size
157  eventokay=(deviceerror & 0x0);//if no HW error return true
158 
159 
160  return eventokay;
161 }
Int_t ApplyHWChecks()
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool_t QwIntegrationPMT::ApplySingleEventCuts ( )

Definition at line 186 of file QwIntegrationPMT.cc.

References QwVQWK_Channel::ApplySingleEventCuts(), and fTriumf_ADC.

Referenced by QwCombinedPMT::ApplySingleEventCuts().

186  {
187 
188 
189 //std::cout<<" QwBCM::SingleEventCuts() "<<std::endl;
190  Bool_t status=kTRUE;
191 
193  status=kTRUE;
194  //std::cout<<" BCM Sample size "<<fTriumf_ADC.GetNumberOfSamples()<<std::endl;
195  }
196  else{
197  status&=kFALSE;//kTRUE;//kFALSE;
198  }
199 
200  return status;
201 
202 }
Bool_t ApplySingleEventCuts(Double_t LL, Double_t UL)
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

431 {
432  if (fIsBlindable) fTriumf_ADC.Blind(blinder);
433 }
QwVQWK_Channel fTriumf_ADC
void Blind(const QwBlinder *blinder)
Blind this channel as an asymmetry.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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.

436 {
437  if (fIsBlindable) fTriumf_ADC.Blind(blinder, yield.fTriumf_ADC);
438 }
QwVQWK_Channel fTriumf_ADC
void Blind(const QwBlinder *blinder)
Blind this channel as an asymmetry.

+ Here is the call graph for this function:

void QwIntegrationPMT::CalculateRunningAverage ( )

Definition at line 414 of file QwIntegrationPMT.cc.

References QwVQWK_Channel::CalculateRunningAverage(), and fTriumf_ADC.

Referenced by QwCombinedPMT::CalculateRunningAverage().

415 {
417 }
QwVQWK_Channel fTriumf_ADC
void CalculateRunningAverage()

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwIntegrationPMT::ClearEventData ( )
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().

65 {
67  return;
68 }
void ClearEventData()
Clear the event data in this element.
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

377 {
378  if (GetElementName()==""){
379  // This channel is not used, so skip filling the histograms.
380  } else
381  {
382  fTriumf_ADC.ConstructBranch(tree, prefix);
383  }
384  return;
385 }
void ConstructBranch(TTree *tree, TString &prefix)
QwVQWK_Channel fTriumf_ADC
virtual const TString & GetElementName() const
Get the name of this element.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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.

388 {
389  TString devicename;
390  devicename=GetElementName();
391  devicename.ToLower();
392  if (GetElementName()==""){
393  // This channel is not used, so skip filling the histograms.
394  } else {
395  if (modulelist.HasValue(devicename)){
396  fTriumf_ADC.ConstructBranch(tree, prefix);
397  QwMessage <<"QwIntegrationPMT Tree leave added to "<<devicename<<QwLog::endl;
398  }
399 
400  }
401  return;
402 }
#define QwMessage
Predefined log drain for regular messages.
Definition: QwLog.h:50
void ConstructBranch(TTree *tree, TString &prefix)
QwVQWK_Channel fTriumf_ADC
static std::ostream & endl(std::ostream &)
End of the line.
Definition: QwLog.cc:299
virtual const TString & GetElementName() const
Get the name of this element.

+ Here is the call graph for this function:

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().

366 {
367  if (GetElementName()==""){
368  // This channel is not used, so skip filling the histograms.
369  } else
370  {
371  fTriumf_ADC.ConstructBranchAndVector(tree, prefix,values);
372  }
373  return;
374 }
void ConstructBranchAndVector(TTree *tree, TString &prefix, std::vector< Double_t > &values)
QwVQWK_Channel fTriumf_ADC
virtual const TString & GetElementName() const
Get the name of this element.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwIntegrationPMT::ConstructHistograms ( TDirectory *  folder,
TString &  prefix 
)
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().

338 {
339  if (GetElementName()=="")
340  {
341  // This channel is not used, so skip filling the histograms.
342  }
343  else
344  {
345  fTriumf_ADC.ConstructHistograms(folder, prefix);
346  }
347  return;
348 }
void ConstructHistograms(TDirectory *folder, TString &prefix)
Construct the histograms for this data element.
QwVQWK_Channel fTriumf_ADC
virtual const TString & GetElementName() const
Get the name of this element.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwIntegrationPMT::DeaccumulateRunningSum ( QwIntegrationPMT value)

Definition at line 424 of file QwIntegrationPMT.cc.

References QwVQWK_Channel::DeaccumulateRunningSum(), and fTriumf_ADC.

Referenced by QwCombinedPMT::DeaccumulateRunningSum().

425 {
427 }
void DeaccumulateRunningSum(const QwVQWK_Channel &value)
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwIntegrationPMT::Difference ( QwIntegrationPMT value1,
QwIntegrationPMT value2 
)

Definition at line 285 of file QwIntegrationPMT.cc.

285  {
286  *this = value1;
287  *this -= value2;
288 }
void QwIntegrationPMT::EncodeEventData ( std::vector< UInt_t > &  buffer)

Definition at line 139 of file QwIntegrationPMT.cc.

References QwVQWK_Channel::EncodeEventData(), and fTriumf_ADC.

140 {
142 }
QwVQWK_Channel fTriumf_ADC
void EncodeEventData(std::vector< UInt_t > &buffer)
Encode the event data into a CODA buffer.

+ Here is the call graph for this function:

void QwIntegrationPMT::FillHistograms ( )
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().

351 {
352  if (GetElementName()=="")
353  {
354  // This channel is not used, so skip filling the histograms.
355  }
356  else
357  {
359  }
360 
361 
362  return;
363 }
void FillHistograms()
Fill the histograms for this data element.
QwVQWK_Channel fTriumf_ADC
virtual const TString & GetElementName() const
Get the name of this element.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

406 {
407  if (GetElementName()==""){
408  // This channel is not used, so skip filling the histograms.
409  } else {
410  fTriumf_ADC.FillTreeVector(values);
411  }
412 }
void FillTreeVector(std::vector< Double_t > &values) const
QwVQWK_Channel fTriumf_ADC
virtual const TString & GetElementName() const
Get the name of this element.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const QwVQWK_Channel* QwIntegrationPMT::GetChannel ( const TString  name) const
inline

Definition at line 65 of file QwIntegrationPMT.h.

References fTriumf_ADC, and VQwDataElement::GetElementName().

Referenced by QwCombinedPMT::GetChannel(), and QwMainCerenkovDetector::PublishInternalValues().

65  {
66  if (fTriumf_ADC.GetElementName() == name) return &fTriumf_ADC;
67  else return 0;
68  };
QwVQWK_Channel fTriumf_ADC
virtual const TString & GetElementName() const
Get the name of this element.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector< QwDBInterface > QwIntegrationPMT::GetDBEntry ( )

Definition at line 441 of file QwIntegrationPMT.cc.

References VQwHardwareChannel::AddEntriesToList(), and fTriumf_ADC.

Referenced by QwCombinedPMT::GetDBEntry().

442 {
443  std::vector <QwDBInterface> row_list;
444  row_list.clear();
445  fTriumf_ADC.AddEntriesToList(row_list);
446  return row_list;
447 
448 }
void AddEntriesToList(std::vector< QwDBInterface > &row_list)
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector< QwErrDBInterface > QwIntegrationPMT::GetErrDBEntry ( )

Definition at line 453 of file QwIntegrationPMT.cc.

References QwVQWK_Channel::AddErrEntriesToList(), and fTriumf_ADC.

Referenced by QwCombinedPMT::GetErrDBEntry().

454 {
455  std::vector <QwErrDBInterface> row_list;
456  row_list.clear();
458  return row_list;
459 };
QwVQWK_Channel fTriumf_ADC
void AddErrEntriesToList(std::vector< QwErrDBInterface > &row_list)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

UInt_t QwIntegrationPMT::GetEventcutErrorFlag ( )
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().

102  {//return the error flag
104  }
virtual UInt_t GetEventcutErrorFlag()
return the error flag on this channel/device
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Double_t QwIntegrationPMT::GetValue ( )

Definition at line 122 of file QwIntegrationPMT.cc.

References fTriumf_ADC, and QwVQWK_Channel::GetValue().

Referenced by QwCombinedPMT::CalculateSumAndAverage().

123 {
124  return fTriumf_ADC.GetValue();
125 }
Double_t GetValue(size_t element) const
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Double_t QwIntegrationPMT::GetValue ( Int_t  blocknum)

Definition at line 127 of file QwIntegrationPMT.cc.

References fTriumf_ADC, and QwVQWK_Channel::GetValue().

128 {
129  return fTriumf_ADC.GetValue(blocknum);
130 }
Double_t GetValue(size_t element) const
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

void QwIntegrationPMT::IncrementErrorCounters ( )
inline

Definition at line 94 of file QwIntegrationPMT.h.

References fTriumf_ADC, and QwVQWK_Channel::IncrementErrorCounters().

Referenced by QwCombinedPMT::IncrementErrorCounters().

94  {
96  }
QwVQWK_Channel fTriumf_ADC
void IncrementErrorCounters()

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

32 {
33  SetPedestal(0.);
35  fTriumf_ADC.InitializeChannel(name,datatosave);
36  SetElementName(name);
37  SetBlindability(kTRUE);
38  SetNormalizability(kTRUE);
39  return;
40 }
void SetNormalizability(Bool_t isnormalizable)
void SetBlindability(Bool_t isblindable)
QwVQWK_Channel fTriumf_ADC
void SetPedestal(Double_t ped)
void SetElementName(const TString &name)
void InitializeChannel(TString name, TString datatosave)
Initialize the fields in this object.
void SetCalibrationFactor(Double_t calib)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

43 {
44  SetPedestal(0.);
46  fTriumf_ADC.InitializeChannel(subsystem,"QwIntegrationPMT", name, datatosave);
47  SetElementName(name);
48  SetBlindability(kTRUE);
49  SetNormalizability(kTRUE);
50  return;
51 }
void SetNormalizability(Bool_t isnormalizable)
void SetBlindability(Bool_t isblindable)
QwVQWK_Channel fTriumf_ADC
void SetPedestal(Double_t ped)
void SetElementName(const TString &name)
void InitializeChannel(TString name, TString datatosave)
Initialize the fields in this object.
void SetCalibrationFactor(Double_t calib)

+ Here is the call graph for this function:

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().

54 {
55  SetPedestal(0.);
57  fTriumf_ADC.InitializeChannel(subsystem,module, name, datatosave);
58  SetElementName(name);
59  SetBlindability(kTRUE);
60  SetNormalizability(kTRUE);
61  return;
62 }
void SetNormalizability(Bool_t isnormalizable)
void SetBlindability(Bool_t isblindable)
QwVQWK_Channel fTriumf_ADC
void SetPedestal(Double_t ped)
void SetElementName(const TString &name)
void InitializeChannel(TString name, TString datatosave)
Initialize the fields in this object.
void SetCalibrationFactor(Double_t calib)

+ Here is the call graph for this function:

void QwIntegrationPMT::LoadChannelParameters ( QwParameterFile paramfile)
inlinevirtual

Reimplemented from VQwDataElement.

Definition at line 54 of file QwIntegrationPMT.h.

54 {};
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().

310 {
311  if (fIsNormalizable) {
312  QwVQWK_Channel* denom_ptr = dynamic_cast<QwVQWK_Channel*>(denom);
313  QwVQWK_Channel vqwk_denom(*denom_ptr);
314  fTriumf_ADC.DivideBy(vqwk_denom);
315  }
316 }
void DivideBy(const VQwHardwareChannel *valueptr)
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

QwIntegrationPMT & QwIntegrationPMT::operator+= ( const QwIntegrationPMT value)

Definition at line 257 of file QwIntegrationPMT.cc.

References fCalibration, fPedestal, fTriumf_ADC, and VQwDataElement::GetElementName().

258 {
259  if (GetElementName()!="")
260  {
261  this->fTriumf_ADC+=value.fTriumf_ADC;
262  this->fPedestal+=value.fPedestal;
263  this->fCalibration=0;
264  }
265  return *this;
266 }
QwVQWK_Channel fTriumf_ADC
virtual const TString & GetElementName() const
Get the name of this element.

+ Here is the call graph for this function:

QwIntegrationPMT & QwIntegrationPMT::operator-= ( const QwIntegrationPMT value)

Definition at line 268 of file QwIntegrationPMT.cc.

References fCalibration, fPedestal, fTriumf_ADC, and VQwDataElement::GetElementName().

269 {
270  if (GetElementName()!="")
271  {
272  this->fTriumf_ADC-=value.fTriumf_ADC;
273  this->fPedestal-=value.fPedestal;
274  this->fCalibration=0;
275  }
276  return *this;
277 }
QwVQWK_Channel fTriumf_ADC
virtual const TString & GetElementName() const
Get the name of this element.

+ Here is the call graph for this function:

QwIntegrationPMT & QwIntegrationPMT::operator= ( const QwIntegrationPMT value)

Definition at line 240 of file QwIntegrationPMT.cc.

References fCalibration, fPedestal, fTriumf_ADC, and VQwDataElement::GetElementName().

241 {
242 // std::cout<<" Here in QwIntegrationPMT::operator= \n";
243  if (GetElementName()!="")
244  {
245  this->fTriumf_ADC=value.fTriumf_ADC;
246  this->fPedestal=value.fPedestal;
247  this->fCalibration=value.fCalibration;
248  }
249 // std::cout<<" to be copied \n";
250 // value.Print();
251 // std::cout<<" copied \n";
252 // this->Print();
253 
254  return *this;
255 }
QwVQWK_Channel fTriumf_ADC
virtual const TString & GetElementName() const
Get the name of this element.

+ Here is the call graph for this function:

void QwIntegrationPMT::PrintErrorCounters ( )

Definition at line 70 of file QwIntegrationPMT.cc.

References fTriumf_ADC, and QwVQWK_Channel::PrintErrorCounters().

Referenced by QwCombinedPMT::PrintErrorCounters().

70  {
72 }
void PrintErrorCounters() const
report number of events failed due to HW and event cut failure
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwIntegrationPMT::PrintErrorCounters ( ) const
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().

206  {// report number of events failed due to HW and event cut faliure
208 }
void PrintErrorCounters() const
report number of events failed due to HW and event cut failure
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

void QwIntegrationPMT::PrintInfo ( ) const
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().

324 {
325  //std::cout<<"QwVQWK_Channel Info " <<std::endl;
326  //std::cout<<" Running AVG "<<GetElementName()<<" current running AVG "<<IntegrationPMT_Running_AVG<<std::endl;
327  std::cout<<"QwVQWK_Channel Info " <<std::endl;
329  std::cout<< "Blindability is " << (fIsBlindable?"TRUE":"FALSE")
330  <<std::endl;
331  std::cout<< "Normalizability is " << (fIsNormalizable?"TRUE":"FALSE")
332  <<std::endl;
333  return;
334 }
void PrintInfo() const
Print multiple lines of information about this data element.
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwIntegrationPMT::PrintValue ( ) const
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().

319 {
321 }
void PrintValue() const
Print single line of value and error of this data element.
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Int_t QwIntegrationPMT::ProcessEvBuffer ( UInt_t *  buffer,
UInt_t  num_words_left,
UInt_t  subelement = 0 
)
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().

233 {
234  fTriumf_ADC.ProcessEvBuffer(buffer,word_position_in_buffer);
235 
236  return word_position_in_buffer;
237 } Double_t fULimit, fLLimit;
Double_t fULimit
Int_t ProcessEvBuffer(UInt_t *buffer, UInt_t num_words_left, UInt_t index=0)
Decode the event data from a CODA buffer.
QwVQWK_Channel fTriumf_ADC
Double_t fLLimit

+ Here is the call graph for this function:

void QwIntegrationPMT::ProcessEvent ( )

Definition at line 144 of file QwIntegrationPMT.cc.

References ApplyHWChecks(), fTriumf_ADC, and QwVQWK_Channel::ProcessEvent().

145 {
146  ApplyHWChecks();//first apply HW checks and update HW error flags.
148 
149  return;
150 }
void ProcessEvent()
Process the event data according to pedestal and calibration factor.
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

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().

111 {
112  fTriumf_ADC.RandomizeEventData(helicity, time);
113  return;
114 }
void RandomizeEventData(int helicity=0.0, double time=0.0)
Internally generate random event data.
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

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().

291 {
292  // std::cout<<"QwIntegrationPMT::Ratio element name ="<<GetElementName()<<" \n";
293  if (GetElementName()!="")
294  {
295  // std::cout<<"here in \n";
296  this->fTriumf_ADC.Ratio(numer.fTriumf_ADC,denom.fTriumf_ADC);
297  this->fPedestal=0;
298  this->fCalibration=0;
299  }
300  return;
301 }
void Ratio(const QwVQWK_Channel &numer, const QwVQWK_Channel &denom)
QwVQWK_Channel fTriumf_ADC
virtual const TString & GetElementName() const
Get the name of this element.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

304 {
305  fTriumf_ADC.Scale(factor);
306  return;
307 }
void Scale(Double_t Offset)
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwIntegrationPMT::SetBlindability ( Bool_t  isblindable)
inline

Definition at line 114 of file QwIntegrationPMT.h.

References fIsBlindable.

Referenced by InitializeChannel(), QwMainCerenkovDetector::LoadChannelMap(), QwLumi::LoadChannelMap(), and QwCombinedPMT::SetBlindability().

114 {fIsBlindable=isblindable;};

+ Here is the caller graph for this function:

void QwIntegrationPMT::SetCalibrationFactor ( Double_t  calib)

Definition at line 24 of file QwIntegrationPMT.cc.

References fCalibration, fTriumf_ADC, and VQwHardwareChannel::SetCalibrationFactor().

Referenced by InitializeChannel().

25 {
26  fCalibration=calib;
28  return;
29 }
void SetCalibrationFactor(Double_t factor)
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

180  {
181  fTriumf_ADC.SetDefaultSampleSize((size_t)sample_size);
182 }
void SetDefaultSampleSize(size_t num_samples_map)
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwIntegrationPMT::SetElementName ( const TString &  name)
inline

Definition at line 63 of file QwIntegrationPMT.h.

References VQwDataElement::fElementName, fTriumf_ADC, and VQwDataElement::SetElementName().

Referenced by InitializeChannel(), and QwCombinedPMT::LinkChannel().

63 { fElementName = name; fTriumf_ADC.SetElementName(name);};
void SetElementName(const TString &name)
Set the name of this element.
QwVQWK_Channel fTriumf_ADC
TString fElementName
Name of this data element.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwIntegrationPMT::SetEventCutMode ( Int_t  bcuts)
inline

Definition at line 109 of file QwIntegrationPMT.h.

References bEVENTCUTMODE, fTriumf_ADC, and VQwHardwareChannel::SetEventCutMode().

Referenced by QwCombinedPMT::SetEventCutMode().

109  {
110  bEVENTCUTMODE=bcuts;
112  }
void SetEventCutMode(Int_t bcuts)
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

134 {
135  fTriumf_ADC.SetEventData(block, sequencenumber);
136  return;
137 }
void SetEventData(Double_t *block, UInt_t sequencenumber=0)
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwIntegrationPMT::SetExternalRandomVariable ( Double_t  random_variable)

Definition at line 80 of file QwIntegrationPMT.cc.

References fTriumf_ADC, and MQwMockable::SetExternalRandomVariable().

81 {
82  fTriumf_ADC.SetExternalRandomVariable(random_variable);
83  return;
84 }
void SetExternalRandomVariable(Double_t random_variable)
Set the externally provided random variable.
Definition: MQwMockable.h:69
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

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().

117 {
118  fTriumf_ADC.SetHardwareSum(hwsum, sequencenumber);
119  return;
120 }
void SetHardwareSum(Double_t hwsum, UInt_t sequencenumber=0)
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

void QwIntegrationPMT::SetNormalizability ( Bool_t  isnormalizable)
inline

Definition at line 115 of file QwIntegrationPMT.h.

References fIsNormalizable.

Referenced by InitializeChannel(), QwMainCerenkovDetector::LoadChannelMap(), QwLumi::LoadChannelMap(), and QwCombinedPMT::SetNormalizability().

115 {fIsNormalizable = isnormalizable;};

+ Here is the caller graph for this function:

void QwIntegrationPMT::SetPedestal ( Double_t  ped)

Definition at line 17 of file QwIntegrationPMT.cc.

References fPedestal, fTriumf_ADC, and VQwHardwareChannel::SetPedestal().

Referenced by InitializeChannel().

18 {
19  fPedestal=pedestal;
21  return;
22 }
void SetPedestal(Double_t ped)
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwIntegrationPMT::SetRandomEventAsymmetry ( Double_t  asymmetry)

Definition at line 104 of file QwIntegrationPMT.cc.

References fTriumf_ADC, and MQwMockable::SetRandomEventAsymmetry().

105 {
107  return;
108 }
QwVQWK_Channel fTriumf_ADC
void SetRandomEventAsymmetry(Double_t asymmetry)
Set the helicity asymmetry.
Definition: MQwMockable.cc:48

+ Here is the call graph for this function:

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().

87 {
88  fTriumf_ADC.SetRandomEventDriftParameters(amplitude, phase, frequency);
89  return;
90 }
void SetRandomEventDriftParameters(Double_t amplitude, Double_t phase, Double_t frequency)
Set a single set of harmonic drift parameters.
Definition: MQwMockable.cc:19
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

void QwIntegrationPMT::SetRandomEventParameters ( Double_t  mean,
Double_t  sigma 
)

Definition at line 98 of file QwIntegrationPMT.cc.

References fTriumf_ADC, and MQwMockable::SetRandomEventParameters().

99 {
101  return;
102 }
void SetRandomEventParameters(Double_t mean, Double_t sigma)
Set the normal random event parameters.
Definition: MQwMockable.cc:41
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

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().

164  {//std::vector<Double_t> & dEventCuts){//two limts and sample size
166  return 1;
167 }
void SetSingleEventCuts(Double_t min, Double_t max)
Set the upper and lower limits (fULimit and fLLimit) for this channel.
QwVQWK_Channel fTriumf_ADC

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwIntegrationPMT::SetSingleEventCuts ( UInt_t  errorflag,
Double_t  LL = 0,
Double_t  UL = 0,
Double_t  stability = 0 
)
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().

170  {
171  //set the unique tag to identify device type (bcm,bpm & etc)
172  errorflag|=kPMTErrorFlag;
173  QwMessage<<"QwIntegrationPMT Error Code passing to QwVQWK_Ch "<<errorflag<<QwLog::endl;
174  fTriumf_ADC.SetSingleEventCuts(errorflag,LL,UL,stability);
175 
176 }
#define QwMessage
Predefined log drain for regular messages.
Definition: QwLog.h:50
void SetSingleEventCuts(Double_t min, Double_t max)
Set the upper and lower limits (fULimit and fLLimit) for this channel.
QwVQWK_Channel fTriumf_ADC
static const UInt_t kPMTErrorFlag
Definition: QwTypes.h:170
static std::ostream & endl(std::ostream &)
End of the line.
Definition: QwLog.cc:299

+ Here is the call graph for this function:

void QwIntegrationPMT::Sum ( QwIntegrationPMT value1,
QwIntegrationPMT value2 
)

Definition at line 280 of file QwIntegrationPMT.cc.

280  {
281  *this = value1;
282  *this += value2;
283 }
UInt_t QwIntegrationPMT::UpdateErrorFlag ( )
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().

106 {return GetEventcutErrorFlag();};
UInt_t GetEventcutErrorFlag()
return the error flag on this channel/device

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

211  {
212  try {
213  if(typeid(*ev_error)==typeid(*this)) {
214  // std::cout<<" Here in QwIntegrationPMT::UpdateErrorFlag \n";
215  if (this->GetElementName()!="") {
217  }
218  } else {
219  TString loc="Standard exception from QwIntegrationPMT::UpdateErrorFlag :"+
220  ev_error->GetElementName()+" "+this->GetElementName()+" are not of the "
221  +"same type";
222  throw std::invalid_argument(loc.Data());
223  }
224  } catch (std::exception& e) {
225  std::cerr<< e.what()<<std::endl;
226  }
227 };
UInt_t UpdateErrorFlag()
Update the error flag based on the error flags of internally contained objects Return paramter is the...
static const double e
Definition: QwUnits.h:91
QwVQWK_Channel fTriumf_ADC
virtual const TString & GetElementName() const
Get the name of this element.

+ Here is the call graph for this function:

void QwIntegrationPMT::UseExternalRandomVariable ( )

Definition at line 74 of file QwIntegrationPMT.cc.

References fTriumf_ADC, and MQwMockable::UseExternalRandomVariable().

75 {
77  return;
78 }
QwVQWK_Channel fTriumf_ADC
void UseExternalRandomVariable()
Set the flag to use an externally provided random variable.
Definition: MQwMockable.h:67

+ Here is the call graph for this function:

Field Documentation

const Bool_t QwIntegrationPMT::bDEBUG =kFALSE
staticprivate

Definition at line 172 of file QwIntegrationPMT.h.

Bool_t QwIntegrationPMT::bEVENTCUTMODE
private

Definition at line 173 of file QwIntegrationPMT.h.

Referenced by SetEventCutMode().

Double_t QwIntegrationPMT::fCalibration
private

Definition at line 162 of file QwIntegrationPMT.h.

Referenced by operator+=(), operator-=(), operator=(), Ratio(), and SetCalibrationFactor().

Int_t QwIntegrationPMT::fDeviceErrorCode
private

Definition at line 167 of file QwIntegrationPMT.h.

Bool_t QwIntegrationPMT::fGoodEvent
private

Definition at line 163 of file QwIntegrationPMT.h.

Bool_t QwIntegrationPMT::fIsBlindable
private

Definition at line 169 of file QwIntegrationPMT.h.

Referenced by Blind(), PrintInfo(), and SetBlindability().

Bool_t QwIntegrationPMT::fIsNormalizable
private

Definition at line 170 of file QwIntegrationPMT.h.

Referenced by Normalize(), PrintInfo(), and SetNormalizability().

Double_t QwIntegrationPMT::fPedestal
private

Definition at line 161 of file QwIntegrationPMT.h.

Referenced by operator+=(), operator-=(), operator=(), Ratio(), and SetPedestal().


The documentation for this class was generated from the following files: