class HHodoRaw: public HLocatedDataObject

_HADES_CLASS_DESCRIPTION


  HHodoRaw

  Unpacked raw data of the Pion Hodoscopes

  The class accepts up to 4 hits per channel.
  The addresses of the fibers can be accessed via the inline functions
     void setModule(const Int_t)
     void setFiber(const Int_t)
     void setAddress(const Int_t module,const Int_t fiber)
     Int_t getModule(void) const
     Int_t getFiber(void) const
     void getAddress(Int_t& module,Int_t& fiber)
  and the number of hits with the inline function
     Int_t getNHits(void) const
  The inline function clear() sets the data members to the following values:
      nHits=0;
      module=fiber=time1=width1=time2=width2=time3=width3=time4=width4=-1;

  Containing up to 4 Hits with Time and Width. If the number
  of hits exceeds 4, the hit counter will increase but no data
  is stored for these hits.

  Always check against the function getMaxMult()!
  Maybe someone wants more hits stored in the future


Function Members (Methods)

public:
HHodoRaw()
HHodoRaw(const HHodoRaw&)
virtual~HHodoRaw()
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
Bool_tfill(const Int_t, const Int_t)
Bool_tfill_lead(const Int_t time)
Bool_tfill_trail(const Int_t time)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Int_tgetADC(const Int_t n)
voidgetAddress(Int_t& m, Int_t& f)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tgetFiber() const
virtual const char*TObject::GetIconName() const
virtual HLocation*HLocatedDataObject::getLocation()
virtual Int_tHLocatedDataObject::getLocationIndex(Int_t n)
Int_tgetMaxMult()
Int_tgetModule() const
virtual const char*TObject::GetName() const
Int_tgetNHits() const
virtual Int_tHLocatedDataObject::getNLocationIndex()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tgetTime(const Int_t n) const
voidgetTimeAndADC(const Int_t n, Int_t& t, Int_t& a)
voidgetTimeAndWidth(const Int_t, Int_t&, Int_t&)
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Int_tgetWidth(const Int_t n) 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)
HHodoRaw&operator=(const HHodoRaw&)
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 m, const Int_t f)
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)
voidsetFiber(Int_t f)
voidsetModule(Int_t m)
voidsetMult(Int_t mu)
static voidTObject::SetObjectStat(Bool_t stat)
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
};
protected:
Int_tfiberfiber number
Int_tmodulemodule number
Int_tnHitsnumber of hits
Int_ttime1tdc time of 1st hit
Int_ttime2tdc time of 2nd hit
Int_ttime3tdc time of 3rd hit
Int_ttime4tdc time of 4th hit
Int_twidth1width of 1st hit
Int_twidth2width of 2nd hit
Int_twidth3width of 3rd hit
Int_twidth4width of 4th hit

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Int_t getTime(const Int_t n) const
 Returns the time of the nth hit (1<=n<=4)
Int_t getWidth(const Int_t n) const
 Returns the width of the nth hit (1<=n<=4)
void getTimeAndWidth(const Int_t , Int_t& , Int_t& )
 Returns the time and width of the nth hit (1<=n<=4)
Bool_t fill(const Int_t , const Int_t )
 Stores the given time and width in the next data element time* and width*
 and sets the multiplicity.
 Return kFALSE if 4 hits are already stored.
Bool_t fill_lead(const Int_t time)
 Stores the given time in the next data element time*
 and sets the multiplicity.
 Return kFALSE if 4 hits are already stored.
Bool_t fill_trail(const Int_t time)
 Calculates the time between trailing and LAST(!) leading hit.
 No other check if its really the right one,
 i am depending on the TDC to deliver the right order
 Return kFALSE if no leading yet or more than 4 Hits
HHodoRaw(const HHodoRaw& )
{clear();}
~HHodoRaw(void)
{}
void clear(void)
Int_t getNHits(void)
{ return nHits; }
Int_t getModule(void)
{return module;}
Int_t getFiber(void)
{return fiber;}
void getAddress(Int_t& m, Int_t& f)
Int_t getADC(const Int_t n)
{return(getWidth(n));}
void getTimeAndADC(const Int_t n, Int_t& t, Int_t& a)
{getTimeAndWidth(n,t,a);}
void setModule(Int_t m)
{module=m;}
void setFiber(Int_t f)
{fiber=f;}
void setMult(Int_t mu)
{nHits=mu;}
Int_t getMaxMult(void)
{ return(4);}
void setAddress(const Int_t m, const Int_t f)

Last change: Sat May 22 12:57:35 2010
Last generated: 2010-05-22 12:57

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.