|
| VQwClock () |
|
| VQwClock (const VQwClock &source) |
|
| ~VQwClock () override |
|
Int_t | ProcessEvBuffer (UInt_t *buffer, UInt_t word_position_in_buffer, UInt_t subelement=0) override=0 |
| Process the CODA event buffer for this element.
|
|
void | ConstructHistograms (TDirectory *folder, TString &prefix) override=0 |
| Construct the histograms for this data element.
|
|
void | FillHistograms () override=0 |
| Fill the histograms for this data element.
|
|
virtual void | SetSingleEventCuts (UInt_t errorflag, Double_t min, Double_t max, Double_t stability, Double_t burplevel)=0 |
| Inherited from VQwDataElement to set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel.
|
|
virtual void | Ratio (const VQwClock &, const VQwClock &) |
|
void | ClearEventData () override=0 |
| Clear the event data in this element.
|
|
virtual void | InitializeChannel (TString subsystem, TString name, TString datatosave, TString type="")=0 |
|
void | LoadChannelParameters (QwParameterFile ¶mfile) override=0 |
|
virtual void | SetEventCutMode (Int_t bcuts)=0 |
|
virtual void | SetPedestal (Double_t ped)=0 |
|
virtual void | SetCalibrationFactor (Double_t calib)=0 |
|
virtual Bool_t | ApplySingleEventCuts ()=0 |
|
virtual void | IncrementErrorCounters ()=0 |
|
virtual void | ProcessEvent ()=0 |
|
virtual void | Scale (Double_t factor)=0 |
|
virtual void | CalculateRunningAverage ()=0 |
|
virtual void | AccumulateRunningSum (const VQwClock &value, Int_t count=0, Int_t ErrorMask=0xFFFFFFF)=0 |
|
virtual void | DeaccumulateRunningSum (VQwClock &value, Int_t ErrorMask=0xFFFFFFF)=0 |
|
virtual void | ConstructBranchAndVector (TTree *tree, TString &prefix, QwRootTreeBranchVector &values)=0 |
|
virtual void | ConstructBranch (TTree *tree, TString &prefix)=0 |
|
virtual void | ConstructBranch (TTree *tree, TString &prefix, QwParameterFile &modulelist)=0 |
|
virtual void | FillTreeVector (QwRootTreeBranchVector &values) const =0 |
|
virtual VQwClock & | operator= (const VQwClock &value)=0 |
|
virtual VQwClock & | operator+= (const VQwClock &value)=0 |
|
virtual VQwClock & | operator-= (const VQwClock &value)=0 |
|
Double_t | GetNormClockValue () override=0 |
|
virtual Double_t | GetStandardClockValue ()=0 |
|
virtual const VQwHardwareChannel * | GetTime () const =0 |
|
virtual Bool_t | CheckForBurpFail (const VQwClock *ev_error)=0 |
|
| 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)
|
|
virtual void | PrintValue () const |
| Print single line of value and error of this data element.
|
|
virtual void | PrintInfo () const |
| Print multiple lines of information about this data element.
|
|
void | SetSingleEventCuts (UInt_t, Double_t, Double_t, Double_t) |
| set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel
|
|
virtual void | PrintErrorCounters () const |
| report number of events failed due to HW and event cut failure
|
|
Bool_t | CheckForBurpFail (const VQwDataElement *) |
|
virtual UInt_t | GetEventcutErrorFlag () |
| return the error flag on this channel/device
|
|
virtual UInt_t | UpdateErrorFlag () |
| Update the error flag based on the error flags of internally contained objects Return parameter is the "Eventcut Error Flag".
|
|
virtual void | SetNeedsExternalClock (Bool_t) |
|
virtual Bool_t | NeedsExternalClock () |
|
virtual std::string | GetExternalClockName () |
|
virtual void | SetExternalClockPtr (const VQwHardwareChannel *) |
|
virtual void | SetExternalClockName (const std::string) |
|
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.
|
|
Abstract base for beam clocks used to normalize rates and yields.
VQwClock provides the interface for clock-like data elements that can be used to normalize other channels. Concrete clocks are provided by the templated QwClock<T> factory. The class exposes hooks for event decoding, tree/histogram output, accumulation, and single-event cuts.
Specialized note: containers may hold pointers of type VQwClock* and invoke virtual hooks such as CheckForBurpFail; derived implementations must ensure proper overrides are provided to enable polymorphic dispatch.
Definition at line 47 of file VQwClock.h.