13 #include <boost/shared_ptr.hpp>
25 template<
typename T>
class QwClock;
46 virtual Int_t
ProcessEvBuffer(UInt_t* buffer, UInt_t word_position_in_buffer, UInt_t subelement=0) = 0;
52 { std::cerr <<
"Ratio not defined! (VQwClock)" << std::endl; }
56 virtual void InitializeChannel(TString subsystem, TString name, TString datatosave, TString type =
"") = 0;
66 virtual void Scale(Double_t factor) = 0;
72 virtual void FillTreeVector(std::vector<Double_t> &values)
const = 0;
74 virtual std::vector<QwDBInterface>
GetDBEntry() = 0;
82 static VQwClock*
Create(TString subsystemname, TString type, TString name);
96 #endif // __VQWCLOCK__
virtual VQwClock & operator=(const VQwClock &value)=0
virtual VQwClock & operator+=(const VQwClock &value)=0
virtual void CalculateRunningAverage()=0
virtual void SetCalibrationFactor(Double_t calib)=0
virtual void Scale(Double_t factor)=0
virtual void ConstructBranchAndVector(TTree *tree, TString &prefix, std::vector< Double_t > &values)=0
virtual void ProcessEvent()=0
static VQwClock * Create(TString subsystemname, TString type, TString name)
A fast way of creating a Clock of specified type.
boost::shared_ptr< VQwClock > VQwClock_ptr
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.
virtual void FillHistograms()=0
Fill the histograms for this data element.
virtual void InitializeChannel(TString subsystem, TString name, TString datatosave, TString type="")=0
virtual void FillTreeVector(std::vector< Double_t > &values) const =0
Definition of the pure virtual base class of all data elements.
The pure virtual base class of all data elements.
virtual void ConstructBranch(TTree *tree, TString &prefix)=0
virtual Double_t GetNormClockValue()=0
virtual void SetEventCutMode(Int_t bcuts)=0
virtual void ClearEventData()=0
Clear the event data in this element.
VQwClock(const VQwClock &source)
virtual std::vector< QwDBInterface > GetDBEntry()=0
virtual const VQwHardwareChannel * GetTime() const =0
virtual void IncrementErrorCounters()=0
virtual void ConstructHistograms(TDirectory *folder, TString &prefix)=0
Construct the histograms for this data element.
virtual Bool_t ApplySingleEventCuts()=0
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.
virtual VQwClock & operator-=(const VQwClock &value)=0
virtual void LoadChannelParameters(QwParameterFile ¶mfile)=0
virtual Double_t GetStandardClockValue()=0
virtual void Ratio(const VQwClock &numer, const VQwClock &denom)
virtual void SetPedestal(Double_t ped)=0
virtual void AccumulateRunningSum(const VQwClock &value)=0