ROOT logo
Podd » (UNKNOWN) » Decoder::GenScaler

class Decoder::GenScaler: public Decoder::VmeModule


   GenScaler
   A generic scaler


Function Members (Methods)

public:
virtual~GenScaler()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* opt)
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual Int_tDecoder::VmeModule::Data(Int_t rdata) const
voidDebugPrint(ofstream* file = 0) const
virtual Int_tDecode(const UInt_t* evbuffer)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidDoPrint() const
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
static Decoder::Module::TypeSet_t&Decoder::Module::fgModuleTypes()
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
voidGenInit()
Decoder::GenScalerGenScaler()
Decoder::GenScalerGenScaler(Int_t crate, Int_t slot)
virtual Int_tDecoder::Module::GetCrate() const
virtual Int_tGetData(Int_t chan) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual Int_tDecoder::Module::GetMode() const
virtual const char*TNamed::GetName() const
virtual Int_tDecoder::Module::GetNumChan() const
virtual Int_tDecoder::Module::GetNumEvents() const
virtual Int_tDecoder::Module::GetNumSamples(Int_t i) const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Double_tGetRate(Int_t chan) const
virtual Int_tDecoder::Module::GetSlot() const
Double_tGetTimeSincePrev() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidDecoder::Module::Init()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tIsDecoded() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsSlot(UInt_t rdata)
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
voidLoadNormScaler(Decoder::GenScaler* scal)
virtual Int_tLoadSlot(Decoder::THaSlotData* sldat, const UInt_t* evbuffer, const UInt_t* pstop)
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
Decoder::Module&Decoder::Module::operator=(const Decoder::Module& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidDecoder::Module::SetBank(Int_t bank)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
Int_tSetClock(Double_t deltaT, Int_t clockchan = 0, Double_t clockrate = 0)
virtual voidDecoder::Module::SetDebugFile(ofstream* file)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidDecoder::Module::SetHeader(UInt_t header, UInt_t mask)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidDecoder::Module::SetSlot(Int_t crate, Int_t slot, Int_t header = 0, Int_t mask = 0, Int_t modelnum = 0)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
virtual Int_tDecoder::VmeModule::Slot(Int_t rdata) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
Bool_tcheckchan(Int_t chan) const
voidDecoder::Module::Create(const Decoder::Module& rhs)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
static Decoder::Module::TypeIter_tDecoder::Module::DoRegister(const Decoder::Module::ModuleType& registration_info)
voidLoadRates()
voidTObject::MakeZombie()

Data Members

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

GenScaler(Int_t crate, Int_t slot)
void GenInit()
~GenScaler()
Int_t SetClock(Double_t deltaT, Int_t clockchan = 0, Double_t clockrate = 0)
 Sets the clock for the time base
 retcode:
     0   nothing wrong, but has no deltaT nor clock data. (a bit odd)
    -1   something wrong, see error print
     1   clock rate set for this scaler.  This scaler has a clock.
     2   using deltaT, instead, for an approx time diff between readings
void LoadNormScaler(Decoder::GenScaler* scal)
Int_t Decode(const UInt_t* evbuffer)
Double_t GetTimeSincePrev() const
 Time since previous reading.
 If a normalization scaler was defined, use its time base.
 Otherwise, if this scaler has a clock, use it to get the time precisely.
 Finally, if there is no clock, use fDeltaT as an approximate time.
void LoadRates()
Int_t GetData(Int_t chan) const
Double_t GetRate(Int_t chan) const
void DoPrint() const
void DebugPrint(ofstream* file = 0) const
Bool_t IsSlot(UInt_t rdata)
Int_t LoadSlot(Decoder::THaSlotData* sldat, const UInt_t* evbuffer, const UInt_t* pstop)
 This is a simple, default method for loading a slot
GenScaler()
{}
void Clear(Option_t* opt)
Bool_t IsDecoded() const
{ return fIsDecoded; }
Bool_t checkchan(Int_t chan) const
{ return (chan >=0 && chan < fWordsExpect); }