class HMdcRaw: public TObject

_HADES_CLASS_DESCRIPTION

 HMdcRaw

 Unpacked raw data of the MDC

 In measurement mode the TDC accepts two hits per channel. The TDC can hereby
 trigger either on two leading edges (hit multiplicity nHits: -1 or -2) or
 on a leading and the trailing edge of a single pulse (nHits: +1 or +2).
 The TDC is able to generate internal calibration events. In this case a
 single channel sends 6 time informations (nHits: +6).

 The addresses of the cell can be accessed via the inline functions
     void setSector(const Int_t n)
     void setModule(const Int_t n)
     void setMbo(const Int_t n)
     void setTdc(const Int_t n)
     void setAddress(const Int_t sector,const Int_t module,const Int_t mbo,
                     const Int_t tdc)
     Int_t getSector(void) const
     Int_t getModule(void) const
     Int_t getMbo(void) const
     Int_t getTdc(void) const
     void getAddress(Int_t& sector,Int_t& module,Int_t& mbo,Int_t& tdc)
 and the number of hits with the inline function
     Int_t getNHits(void) const

 The inline function clear() sets the data data members to the following
 values:
          nHits=0;
          sector=module=mbo=tdc=-1;
          time1=time2=time3=time4=time5=time6=-999;


Function Members (Methods)

public:
HMdcRaw()
HMdcRaw(const HMdcRaw&)
virtual~HMdcRaw()
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
voidclear()
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
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
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
voidgetAddress(Int_t& s, Int_t& m, Int_t& mb, Int_t& t)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Int_tgetMbo() const
Int_tgetModule() const
virtual const char*TObject::GetName() const
Int_tgetNHits() const
Int_tgetNTrialsToFillHits() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tgetSector() const
Int_tgetTdc() const
Int_tgetTime(const Int_t n) const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::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 voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
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)
HMdcRaw&operator=(const HMdcRaw&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::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(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidsetAddress(const Int_t s, const Int_t m, const Int_t mb, const Int_t t)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidsetMbo(const Int_t n)
voidsetModule(const Int_t n)
static voidTObject::SetObjectStat(Bool_t stat)
voidsetSector(const Int_t n)
voidsetTdc(const Int_t n)
Bool_tsetTime(const Int_t, const Int_t mode = 0, const Bool_t noComment = kFALSE)
Bool_tsetTimeNew(const Int_t time, const Int_t nrtime)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& 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:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
public:
static const Int_tkDefaultValueMbo! default value of motherboard number
static const Int_tkDefaultValueModule! default value of module
static const Int_tkDefaultValueSector! default value of sector
static const Int_tkDefaultValueTdc! default value of tdc number
static const Int_tkDefaultValueTime! default value of time
protected:
Int_tmbomotherboard number [0-15]
Int_tmodulemodule number [0-3]
Int_tnHitsnumber of hits / Tdc mode
Int_tnTrialsToFillHitsnumber of trials to fill a time value to this cell / corresponding to nHist
Int_tsectorsector number [0-5]
Int_ttdctdc number * 8 + tdc channel number [0-95]
Int_ttime1time of 1st hit [binnumber]
Int_ttime2time of 2nd hit [binnumber]
Int_ttime3time of 3rd hit [binnumber]
Int_ttime4time of 4th hit [binnumber]
Int_ttime5time of 5th hit [binnumber]
Int_ttime6time of 6th hit [binnumber]

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Bool_t setTime(const Int_t , const Int_t mode = 0, const Bool_t noComment = kFALSE)
 Stores the given time in the next data element time* and sets the
 multiplicity.
 The TDC can be operated in 2 different modes:
 mode 0 (default) : trigger on leading and trailing edge
                    The multiplicity nHits is incremented by 1.
 mode 1           : trigger on 2 leading edges:
                    The multiplicity nHits is decremented by 1.

 at maximum one element can only hold 6 times
 If you try to fill a 7th time kFALSE is returned
 If gHades exists,
    then in addition it is checked in the case of REAL events
    whether the number of hits exceeds 2. Also in this case kFALSE is returned
    and the time information is not filled,
    but the number of hits are increased, so that nHits represents the trials to fill in a time
Int_t getTime(const Int_t n) const
 Returns the time of nth hit (1<=n<=6)
Bool_t setTimeNew(const Int_t time, const Int_t nrtime)
 sets new time value: setTimeNew(timevalue, timeindex)
 only possible if abs(nHits)>=nrtime
 return kTRUE if everything is fine, else kFALSE if the number of times is not ok
void Streamer(TBuffer& b)
 Stream an object of class HMdcRaw.
HMdcRaw(const HMdcRaw& )
{ clear(); }
~HMdcRaw(void)
{;}
void clear(void)
 reset data member to default values
void setSector(const Int_t n)
{ sector=n; }
void setModule(const Int_t n)
{ module=n; }
void setMbo(const Int_t n)
{ mbo=n; }
void setTdc(const Int_t n)
{ tdc=n; }
void setAddress(const Int_t s, const Int_t m, const Int_t mb, const Int_t t)
Int_t getSector(void)
{ return sector; }
Int_t getModule(void)
{ return module; }
Int_t getMbo(void)
{ return mbo; }
Int_t getTdc(void)
{ return tdc; }
void getAddress(Int_t& s, Int_t& m, Int_t& mb, Int_t& t)
Int_t getNHits(void)
{ return nHits; }
Int_t getNTrialsToFillHits(void)
{ return nTrialsToFillHits; }

Last change: Sat May 22 13:03:13 2010
Last generated: 2010-05-22 13:03

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.