QwAnalysis
|
#include <VQwClock.h>
Public Member Functions | |
VQwClock () | |
VQwClock (const VQwClock &source) | |
virtual | ~VQwClock () |
virtual Int_t | ProcessEvBuffer (UInt_t *buffer, UInt_t word_position_in_buffer, UInt_t subelement=0)=0 |
Process the CODA event buffer for this element. More... | |
virtual void | ConstructHistograms (TDirectory *folder, TString &prefix)=0 |
Construct the histograms for this data element. More... | |
virtual void | FillHistograms ()=0 |
Fill the histograms for this data element. More... | |
virtual void | SetSingleEventCuts (UInt_t errorflag, Double_t min, Double_t max, Double_t stability)=0 |
Inherited from VQwDataElement to set the upper and lower limits (fULimit and fLLimit), stability % and the error flag on this channel. More... | |
virtual void | Ratio (const VQwClock &numer, const VQwClock &denom) |
virtual void | ClearEventData ()=0 |
Clear the event data in this element. More... | |
virtual void | InitializeChannel (TString subsystem, TString name, TString datatosave, TString type="")=0 |
virtual void | LoadChannelParameters (QwParameterFile ¶mfile)=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)=0 |
virtual void | ConstructBranchAndVector (TTree *tree, TString &prefix, std::vector< Double_t > &values)=0 |
virtual void | ConstructBranch (TTree *tree, TString &prefix)=0 |
virtual void | ConstructBranch (TTree *tree, TString &prefix, QwParameterFile &modulelist)=0 |
virtual void | FillTreeVector (std::vector< Double_t > &values) const =0 |
virtual std::vector < QwDBInterface > | GetDBEntry ()=0 |
virtual VQwClock & | operator= (const VQwClock &value)=0 |
virtual VQwClock & | operator+= (const VQwClock &value)=0 |
virtual VQwClock & | operator-= (const VQwClock &value)=0 |
virtual Double_t | GetNormClockValue ()=0 |
virtual Double_t | GetStandardClockValue ()=0 |
virtual const VQwHardwareChannel * | GetTime () const =0 |
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 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 | PrintValue () const |
Print single line of value and error of this data element. More... | |
virtual void | PrintInfo () const |
Print multiple lines of information about this data element. More... | |
virtual void | PrintErrorCounters () const |
report number of events failed due to HW and event cut failure More... | |
virtual UInt_t | GetEventcutErrorFlag () |
return the error flag on this channel/device More... | |
virtual UInt_t | UpdateErrorFlag () |
Update the error flag based on the error flags of internally contained objects Return paramter is the "Eventcut Error Flag". More... | |
virtual void | SetNeedsExternalClock (Bool_t needed) |
virtual Bool_t | NeedsExternalClock () |
virtual std::string | GetExternalClockName () |
virtual void | SetExternalClockPtr (const VQwHardwareChannel *clock) |
virtual void | SetExternalClockName (const std::string name) |
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... | |
Static Public Member Functions | |
static VQwClock * | Create (TString subsystemname, TString type, TString name) |
A fast way of creating a Clock of specified type. More... | |
static VQwClock * | Create (const VQwClock &source) |
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 VQwDataElement & | operator= (const VQwDataElement &value) |
Arithmetic assignment operator: Should only copy event-based data. More... | |
virtual void | UpdateErrorFlag (const UInt_t &error) |
Protected Member Functions inherited from MQwHistograms | |
MQwHistograms () | |
Default constructor. More... | |
MQwHistograms (const MQwHistograms &source) | |
Copy constructor. More... | |
virtual | ~MQwHistograms () |
Virtual destructor. More... | |
virtual MQwHistograms & | operator= (const MQwHistograms &value) |
void | Fill_Pointer (TH1_ptr hist_ptr, Double_t value) |
void | AddHistogram (TH1 *h) |
Register a histogram. More... | |
Protected Attributes 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_ptr > | fHistograms |
Histograms associated with this data element. More... | |
Definition at line 30 of file VQwClock.h.
|
inline |
Definition at line 39 of file VQwClock.h.
|
inline |
Definition at line 40 of file VQwClock.h.
|
inlinevirtual |
Definition at line 43 of file VQwClock.h.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Clear the event data in this element.
Reimplemented from VQwDataElement.
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Construct the histograms for this data element.
Implements VQwDataElement.
Implemented in QwClock< T >.
|
static |
A fast way of creating a Clock of specified type.
Definition at line 26 of file VQwClock.cc.
References QwMessage, and QwWarning.
Referenced by QwBeamLine::AddToElementList(), and QwBeamLine::CopyTemplatedDataElements().
Definition at line 47 of file VQwClock.cc.
References QwLog::endl(), VQwDataElement::GetModuleType(), QwMessage, and QwWarning.
|
pure virtual |
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Reimplemented from VQwDataElement.
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Reimplemented from VQwDataElement.
Implemented in QwClock< T >.
Implemented in QwClock< T >.
Implemented in QwClock< T >.
Implemented in QwClock< T >.
|
pure virtual |
Process the CODA event buffer for this element.
Implements VQwDataElement.
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
Reimplemented in QwClock< T >.
Definition at line 51 of file VQwClock.h.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure virtual |
Implemented in QwClock< T >.
|
pure 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.
Implemented in QwClock< T >.