JAPAn
Just Another Parity Analyzer
|
Linear diode array beam position monitor implementation. More...
#include <QwLinearDiodeArray.h>
Public Member Functions | |
QwLinearDiodeArray () | |
QwLinearDiodeArray (TString name) | |
QwLinearDiodeArray (TString subsystemname, TString name) | |
QwLinearDiodeArray (const QwLinearDiodeArray &source) | |
~QwLinearDiodeArray () override | |
void | InitializeChannel (TString name) |
Initialize this linear diode array with a detector name. | |
void | InitializeChannel (TString subsystem, TString name) |
Initialize this linear diode array with subsystem and name. | |
void | ClearEventData () override |
Clear event-scoped data for all pads and derived channels. | |
void | LoadChannelParameters (QwParameterFile ¶mfile) override |
Int_t | ProcessEvBuffer (UInt_t *buffer, UInt_t word_position_in_buffer, UInt_t indexnumber) override |
Process the CODA event buffer for this element. | |
void | ProcessEvent () override |
void | PrintValue () const override |
Print single line of value and error of this data element. | |
void | PrintInfo () const override |
Print multiple lines of information about this data element. | |
const VQwHardwareChannel * | GetPosition (EBeamPositionMonitorAxis axis) const override |
const VQwHardwareChannel * | GetEffectiveCharge () const override |
TString | GetSubElementName (Int_t subindex) override |
UInt_t | SetSubElementName (TString subname) |
void | GetAbsolutePosition () override |
Bool_t | ApplyHWChecks () |
Apply hardware checks for all photodiode pads. | |
Bool_t | ApplySingleEventCuts () override |
Apply single-event cuts across photodiodes and derived channels. | |
void | SetSingleEventCuts (TString ch_name, UInt_t errorflag, Double_t minX, Double_t maxX, Double_t stability, Double_t burplevel) |
Inherited from VQwDataElement to set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel. | |
void | SetEventCutMode (Int_t bcuts) override |
void | IncrementErrorCounters () override |
Increment error counters for all internal channels. | |
void | PrintErrorCounters () const override |
Print error counters for all internal channels. | |
UInt_t | GetEventcutErrorFlag () override |
Aggregate and return the event-cut error flag for this array. | |
UInt_t | UpdateErrorFlag () override |
Update and return the aggregated event-cut error flag. | |
void | UpdateErrorFlag (const VQwBPM *ev_error) override |
Bool_t | CheckForBurpFail (const VQwDataElement *ev_error) override |
Check for burp failures against another linear array of same type. | |
void | SetDefaultSampleSize (Int_t sample_size) override |
void | SetRandomEventParameters (Double_t meanX, Double_t sigmaX, Double_t meanY, Double_t sigmaY) override |
void | RandomizeEventData (int helicity=0, double time=0.0) override |
void | SetEventData (Double_t *block, UInt_t sequencenumber) |
void | EncodeEventData (std::vector< UInt_t > &buffer) override |
void | SetSubElementPedestal (Int_t j, Double_t value) override |
void | SetSubElementCalibrationFactor (Int_t j, Double_t value) override |
void | Ratio (QwLinearDiodeArray &numer, QwLinearDiodeArray &denom) |
void | Scale (Double_t factor) override |
VQwBPM & | operator= (const VQwBPM &value) override |
VQwBPM & | operator+= (const VQwBPM &value) override |
VQwBPM & | operator-= (const VQwBPM &value) override |
virtual QwLinearDiodeArray & | operator= (const QwLinearDiodeArray &value) |
virtual QwLinearDiodeArray & | operator+= (const QwLinearDiodeArray &value) |
virtual QwLinearDiodeArray & | operator-= (const QwLinearDiodeArray &value) |
void | AccumulateRunningSum (const QwLinearDiodeArray &value, Int_t count=0, Int_t ErrorMask=0xFFFFFFF) |
void | AccumulateRunningSum (const VQwBPM &value, Int_t count=0, Int_t ErrorMask=0xFFFFFFF) override |
void | DeaccumulateRunningSum (QwLinearDiodeArray &value, Int_t ErrorMask=0xFFFFFFF) |
void | DeaccumulateRunningSum (VQwBPM &value, Int_t ErrorMask=0xFFFFFFF) override |
void | CalculateRunningAverage () override |
void | ConstructHistograms (TDirectory *folder, TString &prefix) override |
Construct the histograms for this data element. | |
void | FillHistograms () override |
Fill the histograms for this data element. | |
void | ConstructBranchAndVector (TTree *tree, TString &prefix, QwRootTreeBranchVector &values) override |
void | ConstructBranch (TTree *tree, TString &prefix) override |
void | ConstructBranch (TTree *tree, TString &prefix, QwParameterFile &modulelist) override |
void | FillTreeVector (QwRootTreeBranchVector &values) const override |
std::vector< QwDBInterface > | GetDBEntry () |
std::vector< QwErrDBInterface > | GetErrDBEntry () |
void | MakeLinearArrayList () |
![]() | |
VQwBPM () | |
VQwBPM (TString &) | |
VQwBPM (const VQwBPM &source) | |
~VQwBPM () override | |
void | InitializeChannel (TString name) |
Initialize common BPM state and set the element name. | |
virtual void | GetProjectedPosition (VQwBPM *) |
virtual size_t | GetNumberOfElements () |
virtual void | FillRawEventData () |
void | GetSurveyOffsets (Double_t Xoffset, Double_t Yoffset, Double_t Zoffset) |
Store geometry/survey offsets for absolute position calibration. | |
void | GetElectronicFactors (Double_t BSENfactor, Double_t AlphaX, Double_t AlphaY) |
Apply per-detector electronic calibration and relative gains. | |
void | SetRotation (Double_t) |
Set detector rotation angle and update cached trigonometric values. | |
void | SetRotationOff () |
void | SetSingleEventCuts (TString, Double_t, Double_t) |
void | SetSingleEventCuts (TString, UInt_t, Double_t, Double_t, Double_t, Double_t) |
void | SetGains (TString pos, Double_t value) |
void | SetRootSaveStatus (TString &prefix) |
Double_t | GetPositionInZ () const |
virtual void | Ratio (VQwBPM &, VQwBPM &) |
void | PrintErrorCounters () const override |
report number of events failed due to HW and event cut failure | |
virtual const VQwHardwareChannel * | GetAngleX () const |
virtual const VQwHardwareChannel * | GetAngleY () const |
virtual void | SetBPMForCombo (const VQwBPM *, Double_t, Double_t, Double_t, Double_t) |
virtual void | SetResolution (Double_t resolutionX, Double_t resolutionY) |
virtual void | SetRandomEventParameters (Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t) |
virtual void | SetRandomEventAsymmetry (Double_t) |
virtual void | ApplyResolutionSmearing () |
virtual void | ApplyResolutionSmearing (EBeamPositionMonitorAxis) |
void | PrintInfo () const override |
Print multiple lines of information about this data element. | |
![]() | |
VQwDataElement () | |
Default constructor. | |
VQwDataElement (const VQwDataElement &value) | |
Copy constructor. | |
~VQwDataElement () override | |
Virtual destructor. | |
void | CopyFrom (const VQwDataElement &value) |
Bool_t | IsNameEmpty () const |
Is the name of this element empty? | |
void | SetElementName (const TString &name) |
Set the name of this element. | |
virtual const TString & | GetElementName () const |
Get the name of this element. | |
virtual void | LoadMockDataParameters (QwParameterFile &) |
size_t | GetNumberOfDataWords () |
Get the number of data words in this data element. | |
UInt_t | GetGoodEventCount () const |
virtual void | AssignValueFrom (const VQwDataElement *) |
VQwDataElement & | operator+= (const VQwDataElement &) |
Addition-assignment operator. | |
VQwDataElement & | operator-= (const VQwDataElement &) |
Subtraction-assignment operator. | |
void | Sum (const VQwDataElement &, const VQwDataElement &) |
Sum operator (base class fallback throws runtime error) | |
void | Difference (const VQwDataElement &, const VQwDataElement &) |
Difference operator (base class fallback throws runtime error) | |
void | Ratio (const VQwDataElement &, const VQwDataElement &) |
Ratio operator (base class fallback throws runtime error) | |
void | SetSingleEventCuts (UInt_t, Double_t, Double_t, Double_t) |
set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel | |
Bool_t | CheckForBurpFail (const VQwDataElement *) |
virtual void | SetNeedsExternalClock (Bool_t) |
virtual Bool_t | NeedsExternalClock () |
virtual std::string | GetExternalClockName () |
virtual void | SetExternalClockPtr (const VQwHardwareChannel *) |
virtual void | SetExternalClockName (const std::string) |
virtual Double_t | GetNormClockValue () |
TString | GetSubsystemName () const |
Return the name of the inheriting subsystem name. | |
void | SetSubsystemName (TString sysname) |
Set the name of the inheriting subsystem name. | |
TString | GetModuleType () const |
Return the type of the beam instrument. | |
void | SetModuleType (TString ModuleType) |
set the type of the beam instrument | |
![]() | |
void | ShareHistograms (const MQwHistograms *source) |
Share histogram pointers between objects. | |
Static Public Member Functions | |
static UInt_t | GetSubElementIndex (TString subname) |
![]() | |
static VQwBPM * | CreateStripline (TString subsystemname, TString type, TString name) |
A fast way of creating a BPM stripline of specified type. | |
static VQwBPM * | CreateStripline (const VQwBPM &source) |
static VQwBPM * | CreateCombo (TString subsystemname, TString type, TString name) |
A fast way of creating a BPM stripline of specified type. | |
static VQwBPM * | CreateCombo (const VQwBPM &source) |
Protected Member Functions | |
VQwHardwareChannel * | GetSubelementByName (TString ch_name) override |
Resolve an internal channel pointer by subelement name. | |
![]() | |
virtual VQwHardwareChannel * | GetPosition (EBeamPositionMonitorAxis axis) |
VQwHardwareChannel * | GetSubelementByIndex (size_t index) |
![]() | |
void | SetNumberOfDataWords (const UInt_t &numwords) |
Set the number of data words in this data element. | |
VQwDataElement & | operator= (const VQwDataElement &value) |
Arithmetic assignment operator: Should only copy event-based data. | |
void | UpdateErrorFlag (const UInt_t &error) |
![]() | |
MQwHistograms () | |
Default constructor. | |
MQwHistograms (const MQwHistograms &source) | |
Copy constructor. | |
virtual | ~MQwHistograms () |
Virtual destructor. | |
MQwHistograms & | operator= (const MQwHistograms &value) |
void | Fill_Pointer (TH1_ptr hist_ptr, Double_t value) |
void | AddHistogram (TH1 *h) |
Register a histogram. | |
Protected Attributes | |
QwVQWK_Channel | fPhotodiode [8] |
QwVQWK_Channel | fRelPos [2] |
QwVQWK_Channel | fAbsPos [2] |
QwVQWK_Channel | fEffectiveCharge |
std::vector< QwVQWK_Channel > | fLinearArrayElementList |
![]() | |
std::vector< TString > | fSubelementNames |
Double_t | fPositionCenter [3] |
Double_t | fQwStriplineCalibration |
Double_t | fQwStriplineCorrection |
Double_t | fRelativeGains [2] |
Double_t | fGains [2] |
Bool_t | bRotated |
Double_t | fRotationAngle |
Double_t | fCosRotation |
Double_t | fSinRotation |
Double_t | fResolution [2] |
Bool_t | fGoodEvent |
Bool_t | bFullSave |
![]() | |
TString | fElementName |
Name of this data element. | |
UInt_t | fNumberOfDataWords |
Number of raw data words in this data element. | |
UInt_t | fGoodEventCount |
Number of good events accumulated in this element. | |
TString | fSubsystemName |
TString | fModuleType |
UInt_t | fErrorFlag |
This the standard error code generated for the channel that contains the global/local/stability flags and the Device error code (Unique error code for HW failures) | |
UInt_t | fErrorConfigFlag |
contains the global/local/stability flags | |
![]() | |
std::vector< TH1_ptr > | fHistograms |
Histograms associated with this data element. | |
Static Private Attributes | |
static const size_t | kMaxElements = 8 |
static const TString | subelement [8] ={"p1","p2","p3","p4","p5","p6","p7","p8"} |
static const Double_t | kQwLinearDiodeArrayPadSize = 1.57 |
Additional Inherited Members | |
![]() | |
enum | EBeamPositionMonitorAxis { kXAxis =0 , kYAxis , kNumAxes } |
![]() | |
enum | EDataToSave { kRaw = 0 , kDerived , kMoments } |
![]() | |
static const TString | kAxisLabel [2] ={"X","Y"} |
static const TString | axis [3] |
static const Bool_t | bDEBUG =kFALSE |
Linear diode array beam position monitor implementation.
Implements beam position monitoring using a linear array of photodiodes. Provides position calculation from diode array readouts with calibration and error handling for linear array detectors.
Definition at line 35 of file QwLinearDiodeArray.h.
|
inline |
Definition at line 40 of file QwLinearDiodeArray.h.
Referenced by AccumulateRunningSum(), AccumulateRunningSum(), CheckForBurpFail(), DeaccumulateRunningSum(), DeaccumulateRunningSum(), operator+=(), operator+=(), operator-=(), operator-=(), operator=(), operator=(), QwLinearDiodeArray(), Ratio(), SetSubElementName(), and UpdateErrorFlag().
|
inline |
Definition at line 42 of file QwLinearDiodeArray.h.
References VQwBPM::VQwBPM().
|
inline |
Definition at line 44 of file QwLinearDiodeArray.h.
References InitializeChannel(), VQwDataElement::SetSubsystemName(), and VQwBPM::VQwBPM().
|
inline |
Definition at line 48 of file QwLinearDiodeArray.h.
References fAbsPos, fEffectiveCharge, fPhotodiode, fRelPos, QwLinearDiodeArray(), and VQwBPM::VQwBPM().
|
inlineoverride |
Definition at line 60 of file QwLinearDiodeArray.h.
void QwLinearDiodeArray::AccumulateRunningSum | ( | const QwLinearDiodeArray & | value, |
Int_t | count = 0, | ||
Int_t | ErrorMask = 0xFFFFFFF ) |
Definition at line 604 of file QwLinearDiodeArray.cc.
References AccumulateRunningSum(), fEffectiveCharge, fPhotodiode, fRelPos, and QwLinearDiodeArray().
Referenced by AccumulateRunningSum(), and AccumulateRunningSum().
|
overridevirtual |
Reimplemented from VQwBPM.
Definition at line 600 of file QwLinearDiodeArray.cc.
References AccumulateRunningSum(), QwLinearDiodeArray(), and VQwBPM::VQwBPM().
Bool_t QwLinearDiodeArray::ApplyHWChecks | ( | ) |
Apply hardware checks for all photodiode pads.
Definition at line 114 of file QwLinearDiodeArray.cc.
References VQwBPM::bDEBUG, and fPhotodiode.
Referenced by ProcessEvent().
|
overridevirtual |
Apply single-event cuts across photodiodes and derived channels.
Implements VQwBPM.
Definition at line 190 of file QwLinearDiodeArray.cc.
References ApplySingleEventCuts(), VQwBPM::bDEBUG, fEffectiveCharge, fPhotodiode, fRelPos, VQwBPM::kNumAxes, and VQwBPM::kXAxis.
Referenced by ApplySingleEventCuts().
|
overridevirtual |
Implements VQwBPM.
Definition at line 591 of file QwLinearDiodeArray.cc.
References CalculateRunningAverage(), fEffectiveCharge, fPhotodiode, and fRelPos.
Referenced by CalculateRunningAverage().
|
overridevirtual |
Check for burp failures against another linear array of same type.
ev_error | Reference array to compare against. |
Reimplemented from VQwBPM.
Definition at line 303 of file QwLinearDiodeArray.cc.
References fEffectiveCharge, fPhotodiode, fRelPos, VQwDataElement::GetElementName(), VQwBPM::kNumAxes, VQwBPM::kXAxis, QwLinearDiodeArray(), and VQwDataElement::VQwDataElement().
|
overridevirtual |
Clear event-scoped data for all pads and derived channels.
Reimplemented from VQwDataElement.
Definition at line 95 of file QwLinearDiodeArray.cc.
References ClearEventData(), fEffectiveCharge, fPhotodiode, fRelPos, VQwBPM::kNumAxes, and VQwBPM::kXAxis.
Referenced by ClearEventData().
|
overridevirtual |
Implements VQwBPM.
Definition at line 694 of file QwLinearDiodeArray.cc.
References VQwBPM::bFullSave, ConstructBranch(), fEffectiveCharge, fPhotodiode, fRelPos, VQwDataElement::GetElementName(), VQwBPM::kNumAxes, VQwBPM::kXAxis, and VQwBPM::SetRootSaveStatus().
Referenced by ConstructBranch(), and ConstructBranch().
|
overridevirtual |
Implements VQwBPM.
Definition at line 719 of file QwLinearDiodeArray.cc.
References VQwBPM::bFullSave, ConstructBranch(), QwLog::endl(), fEffectiveCharge, fPhotodiode, fRelPos, VQwDataElement::GetElementName(), QwParameterFile::HasValue(), VQwBPM::kNumAxes, VQwBPM::kXAxis, QwMessage, and VQwBPM::SetRootSaveStatus().
|
overridevirtual |
Implements VQwBPM.
Definition at line 669 of file QwLinearDiodeArray.cc.
References VQwBPM::bFullSave, ConstructBranchAndVector(), fEffectiveCharge, fPhotodiode, fRelPos, VQwDataElement::GetElementName(), VQwBPM::kNumAxes, VQwBPM::kXAxis, and VQwBPM::SetRootSaveStatus().
Referenced by ConstructBranchAndVector().
|
overridevirtual |
Construct the histograms for this data element.
Implements VQwBPM.
Definition at line 628 of file QwLinearDiodeArray.cc.
References VQwBPM::bFullSave, ConstructHistograms(), fEffectiveCharge, fPhotodiode, fRelPos, VQwDataElement::GetElementName(), VQwBPM::kNumAxes, VQwBPM::kXAxis, and VQwBPM::SetRootSaveStatus().
Referenced by ConstructHistograms().
void QwLinearDiodeArray::DeaccumulateRunningSum | ( | QwLinearDiodeArray & | value, |
Int_t | ErrorMask = 0xFFFFFFF ) |
Definition at line 617 of file QwLinearDiodeArray.cc.
References DeaccumulateRunningSum(), fEffectiveCharge, fPhotodiode, fRelPos, and QwLinearDiodeArray().
Referenced by DeaccumulateRunningSum(), and DeaccumulateRunningSum().
|
overridevirtual |
Implements VQwBPM.
Definition at line 613 of file QwLinearDiodeArray.cc.
References DeaccumulateRunningSum(), QwLinearDiodeArray(), and VQwBPM::VQwBPM().
|
overridevirtual |
Reimplemented from VQwBPM.
Definition at line 923 of file QwLinearDiodeArray.cc.
References EncodeEventData(), and fPhotodiode.
Referenced by EncodeEventData().
|
overridevirtual |
Fill the histograms for this data element.
Implements VQwBPM.
Definition at line 651 of file QwLinearDiodeArray.cc.
References VQwBPM::bFullSave, fEffectiveCharge, FillHistograms(), fPhotodiode, fRelPos, VQwDataElement::GetElementName(), VQwBPM::kNumAxes, and VQwBPM::kXAxis.
Referenced by FillHistograms().
|
overridevirtual |
Implements VQwBPM.
Definition at line 757 of file QwLinearDiodeArray.cc.
References VQwBPM::bFullSave, fEffectiveCharge, FillTreeVector(), fPhotodiode, fRelPos, VQwDataElement::GetElementName(), VQwBPM::kNumAxes, and VQwBPM::kXAxis.
Referenced by FillTreeVector().
|
overridevirtual |
Reimplemented from VQwBPM.
Definition at line 492 of file QwLinearDiodeArray.cc.
References fAbsPos, VQwBPM::fPositionCenter, VQwBPM::kNumAxes, and VQwBPM::kXAxis.
std::vector< QwDBInterface > QwLinearDiodeArray::GetDBEntry | ( | ) |
|
inlineoverridevirtual |
std::vector< QwErrDBInterface > QwLinearDiodeArray::GetErrDBEntry | ( | ) |
|
overridevirtual |
Aggregate and return the event-cut error flag for this array.
Reimplemented from VQwDataElement.
Definition at line 154 of file QwLinearDiodeArray.cc.
References fEffectiveCharge, fPhotodiode, fRelPos, GetEventcutErrorFlag(), VQwBPM::kNumAxes, and VQwBPM::kXAxis.
Referenced by GetEventcutErrorFlag().
|
inlineoverridevirtual |
Reimplemented from VQwBPM.
Definition at line 78 of file QwLinearDiodeArray.h.
References VQwBPM::axis, fAbsPos, and VQwDataElement::GetElementName().
|
overrideprotectedvirtual |
Resolve an internal channel pointer by subelement name.
ch_name | Subelement symbolic name (e.g., relx, rely, absx, absy). |
Implements VQwBPM.
Definition at line 238 of file QwLinearDiodeArray.cc.
References fAbsPos, fEffectiveCharge, fRelPos, and VQwDataElement::GetElementName().
|
static |
Definition at line 471 of file QwLinearDiodeArray.cc.
References kInvalidSubelementIndex, and kMaxElements.
Referenced by QwBeamDetectorID::QwBeamDetectorID().
|
overridevirtual |
Reimplemented from VQwBPM.
Definition at line 455 of file QwLinearDiodeArray.cc.
References fPhotodiode, VQwDataElement::GetElementName(), and kInvalidSubelementIndex.
|
overridevirtual |
Increment error counters for all internal channels.
Implements VQwBPM.
Definition at line 132 of file QwLinearDiodeArray.cc.
References fEffectiveCharge, fPhotodiode, fRelPos, IncrementErrorCounters(), VQwBPM::kNumAxes, and VQwBPM::kXAxis.
Referenced by IncrementErrorCounters().
void QwLinearDiodeArray::InitializeChannel | ( | TString | name | ) |
Initialize this linear diode array with a detector name.
name | Detector name used for subchannel naming. |
Definition at line 37 of file QwLinearDiodeArray.cc.
References VQwBPM::bFullSave, fEffectiveCharge, fPhotodiode, fRelPos, VQwBPM::InitializeChannel(), and subelement.
Referenced by QwLinearDiodeArray().
void QwLinearDiodeArray::InitializeChannel | ( | TString | subsystem, |
TString | name ) |
Initialize this linear diode array with subsystem and name.
subsystem | Subsystem identifier. |
name | Detector name used for subchannel naming. |
Definition at line 68 of file QwLinearDiodeArray.cc.
References VQwBPM::bFullSave, fEffectiveCharge, fPhotodiode, fRelPos, VQwBPM::InitializeChannel(), and subelement.
|
inlineoverridevirtual |
Implements VQwBPM.
Definition at line 67 of file QwLinearDiodeArray.h.
References fPhotodiode, kMaxElements, and LoadChannelParameters().
Referenced by LoadChannelParameters().
void QwLinearDiodeArray::MakeLinearArrayList | ( | ) |
Definition at line 834 of file QwLinearDiodeArray.cc.
References fEffectiveCharge, fLinearArrayElementList, fRelPos, VQwBPM::kNumAxes, and VQwBPM::kXAxis.
|
virtual |
Definition at line 530 of file QwLinearDiodeArray.cc.
References fEffectiveCharge, fPhotodiode, fRelPos, VQwDataElement::GetElementName(), VQwBPM::kNumAxes, VQwBPM::kXAxis, and QwLinearDiodeArray().
Implements VQwBPM.
Definition at line 523 of file QwLinearDiodeArray.cc.
References QwLinearDiodeArray(), and VQwBPM::VQwBPM().
|
virtual |
Definition at line 551 of file QwLinearDiodeArray.cc.
References fEffectiveCharge, fPhotodiode, fRelPos, VQwDataElement::GetElementName(), VQwBPM::kNumAxes, VQwBPM::kXAxis, and QwLinearDiodeArray().
Implements VQwBPM.
Definition at line 544 of file QwLinearDiodeArray.cc.
References QwLinearDiodeArray(), and VQwBPM::VQwBPM().
|
virtual |
Definition at line 508 of file QwLinearDiodeArray.cc.
References fEffectiveCharge, fPhotodiode, fRelPos, VQwDataElement::GetElementName(), VQwBPM::kNumAxes, VQwBPM::kXAxis, VQwBPM::operator=(), and QwLinearDiodeArray().
Implements VQwBPM.
Definition at line 501 of file QwLinearDiodeArray.cc.
References QwLinearDiodeArray(), and VQwBPM::VQwBPM().
|
overridevirtual |
Print error counters for all internal channels.
Reimplemented from VQwDataElement.
Definition at line 143 of file QwLinearDiodeArray.cc.
References fEffectiveCharge, fPhotodiode, fRelPos, VQwBPM::kNumAxes, VQwBPM::kXAxis, and PrintErrorCounters().
Referenced by PrintErrorCounters().
|
overridevirtual |
Print multiple lines of information about this data element.
Reimplemented from VQwDataElement.
Definition at line 444 of file QwLinearDiodeArray.cc.
References fAbsPos, fEffectiveCharge, fPhotodiode, and PrintInfo().
Referenced by PrintInfo().
|
overridevirtual |
Print single line of value and error of this data element.
Reimplemented from VQwDataElement.
Definition at line 436 of file QwLinearDiodeArray.cc.
References fRelPos.
|
overridevirtual |
Process the CODA event buffer for this element.
Implements VQwDataElement.
Definition at line 420 of file QwLinearDiodeArray.cc.
References fPhotodiode.
|
overridevirtual |
Implements VQwBPM.
Definition at line 357 of file QwLinearDiodeArray.cc.
References ApplyHWChecks(), QwVQWK_Channel::ClearEventData(), fEffectiveCharge, VQwDataElement::fElementName, fPhotodiode, fRelPos, QwVQWK_Channel::InitializeChannel(), kQwLinearDiodeArrayPadSize, QwVQWK_Channel::Product(), QwVQWK_Channel::Ratio(), and QwVQWK_Channel::Scale().
|
overridevirtual |
Reimplemented from VQwBPM.
Definition at line 904 of file QwLinearDiodeArray.cc.
References fPhotodiode, and RandomizeEventData().
Referenced by RandomizeEventData().
void QwLinearDiodeArray::Ratio | ( | QwLinearDiodeArray & | numer, |
QwLinearDiodeArray & | denom ) |
Definition at line 566 of file QwLinearDiodeArray.cc.
References fEffectiveCharge, and QwLinearDiodeArray().
|
overridevirtual |
Reimplemented from VQwBPM.
Definition at line 578 of file QwLinearDiodeArray.cc.
References fEffectiveCharge, fPhotodiode, fRelPos, VQwBPM::kNumAxes, VQwBPM::kXAxis, and Scale().
Referenced by Scale().
|
overridevirtual |
Reimplemented from VQwBPM.
Definition at line 929 of file QwLinearDiodeArray.cc.
References fPhotodiode, and SetDefaultSampleSize().
Referenced by SetDefaultSampleSize().
|
overridevirtual |
Implements VQwBPM.
Definition at line 821 of file QwLinearDiodeArray.cc.
References fAbsPos, fEffectiveCharge, fPhotodiode, fRelPos, VQwBPM::kNumAxes, VQwBPM::kXAxis, and SetEventCutMode().
Referenced by SetEventCutMode().
void QwLinearDiodeArray::SetEventData | ( | Double_t * | block, |
UInt_t | sequencenumber ) |
Definition at line 912 of file QwLinearDiodeArray.cc.
References fRelPos.
|
overridevirtual |
Reimplemented from VQwBPM.
Definition at line 876 of file QwLinearDiodeArray.cc.
References fPhotodiode.
void QwLinearDiodeArray::SetSingleEventCuts | ( | TString | ch_name, |
UInt_t | errorflag, | ||
Double_t | minX, | ||
Double_t | maxX, | ||
Double_t | stability, | ||
Double_t | burplevel ) |
Inherited from VQwDataElement to set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel.
Configure detailed single-event cuts for a named subelement.
ch_name | Subelement name. |
errorflag | Device-specific error flag mask to set. |
minX | Lower limit. |
maxX | Upper limit. |
stability | Stability threshold. |
burplevel | Burp detection threshold. |
Definition at line 277 of file QwLinearDiodeArray.cc.
References QwLog::endl(), fEffectiveCharge, fPhotodiode, fRelPos, kBPMErrorFlag, and QwMessage.
|
overridevirtual |
Reimplemented from VQwBPM.
Definition at line 942 of file QwLinearDiodeArray.cc.
References fPhotodiode.
UInt_t QwLinearDiodeArray::SetSubElementName | ( | TString | subname | ) |
References QwLinearDiodeArray(), VQwBPM::VQwBPM(), and VQwDataElement::VQwDataElement().
|
overridevirtual |
Reimplemented from VQwBPM.
Definition at line 936 of file QwLinearDiodeArray.cc.
References fPhotodiode.
|
overridevirtual |
Update and return the aggregated event-cut error flag.
Implements VQwBPM.
Definition at line 168 of file QwLinearDiodeArray.cc.
References fEffectiveCharge, fPhotodiode, fRelPos, VQwBPM::kNumAxes, and VQwBPM::kXAxis.
|
overridevirtual |
Implements VQwBPM.
Definition at line 331 of file QwLinearDiodeArray.cc.
References fEffectiveCharge, fPhotodiode, fRelPos, VQwDataElement::GetElementName(), VQwBPM::kNumAxes, VQwBPM::kXAxis, QwLinearDiodeArray(), and VQwBPM::VQwBPM().
|
protected |
Definition at line 171 of file QwLinearDiodeArray.h.
Referenced by GetAbsolutePosition(), GetPosition(), GetSubelementByName(), PrintInfo(), QwLinearDiodeArray(), and SetEventCutMode().
|
protected |
Definition at line 172 of file QwLinearDiodeArray.h.
Referenced by AccumulateRunningSum(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), DeaccumulateRunningSum(), FillHistograms(), FillTreeVector(), GetEffectiveCharge(), GetEventcutErrorFlag(), GetSubelementByName(), IncrementErrorCounters(), InitializeChannel(), InitializeChannel(), MakeLinearArrayList(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), ProcessEvent(), QwLinearDiodeArray(), Ratio(), Scale(), SetEventCutMode(), SetSingleEventCuts(), UpdateErrorFlag(), and UpdateErrorFlag().
|
protected |
Definition at line 174 of file QwLinearDiodeArray.h.
Referenced by MakeLinearArrayList().
|
protected |
Definition at line 166 of file QwLinearDiodeArray.h.
Referenced by AccumulateRunningSum(), ApplyHWChecks(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), DeaccumulateRunningSum(), EncodeEventData(), FillHistograms(), FillTreeVector(), GetEventcutErrorFlag(), GetSubElementName(), IncrementErrorCounters(), InitializeChannel(), InitializeChannel(), LoadChannelParameters(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintInfo(), ProcessEvBuffer(), ProcessEvent(), QwLinearDiodeArray(), RandomizeEventData(), Scale(), SetDefaultSampleSize(), SetEventCutMode(), SetRandomEventParameters(), SetSingleEventCuts(), SetSubElementCalibrationFactor(), SetSubElementPedestal(), UpdateErrorFlag(), and UpdateErrorFlag().
|
protected |
Definition at line 167 of file QwLinearDiodeArray.h.
Referenced by AccumulateRunningSum(), ApplySingleEventCuts(), CalculateRunningAverage(), CheckForBurpFail(), ClearEventData(), ConstructBranch(), ConstructBranch(), ConstructBranchAndVector(), ConstructHistograms(), DeaccumulateRunningSum(), FillHistograms(), FillTreeVector(), GetEventcutErrorFlag(), GetSubelementByName(), IncrementErrorCounters(), InitializeChannel(), InitializeChannel(), MakeLinearArrayList(), operator+=(), operator-=(), operator=(), PrintErrorCounters(), PrintValue(), ProcessEvent(), QwLinearDiodeArray(), Scale(), SetEventCutMode(), SetEventData(), SetSingleEventCuts(), UpdateErrorFlag(), and UpdateErrorFlag().
|
staticprivate |
Definition at line 156 of file QwLinearDiodeArray.h.
Referenced by GetSubElementIndex(), and LoadChannelParameters().
|
staticprivate |
Definition at line 160 of file QwLinearDiodeArray.h.
Referenced by ProcessEvent().
|
staticprivate |
Definition at line 28 of file QwLinearDiodeArray.h.
Referenced by InitializeChannel(), and InitializeChannel().