class HMUData: public TObject

_HADES_CLASS_DESCRIPTION


HMUData

 Datacontainer holding data from MatchingUnit subevent.

 The access to the variables is done via the following public functions:
 To get the content of a variable:
  UInt_t getMULength()
		Get the length of the MU subevent.
  Bool_t isTriggerCodeFirstFormat(void)
		Get the format of the MU subevent. 0 means old format, 1 means new format.
  Bool_t getTriggerCodeFirstFormat()
		Get the format of the MU subevent. 0 means old format, 1 means new format.
  UInt_t getVersion()
		Get the version.
  UInt_t getTriggerCode()
		Get the trigger code.
  UInt_t getNHitsRich()
		Get the number of hits in RICH.
  UInt_t getNHitsShower()
		Get the number of hits in SHOWER.
  UInt_t getNHitsTof()
		Get the number of hits in TOF.
  UInt_t getSecHitPatternRich()
		Get the pattern of RICH sectors that had hits.
  UInt_t getSecHitPatternShower()
		Get the pattern of SHOWER sectors that had hits.
  UInt_t getSecHitPatternTof()
		Get the pattern of TOF sectors that had hits.
  UInt_t getNLeptons()
		Get the number of found leptons.
  UInt_t getNDiLeptons()
		get the number of found Dileptons.

 To set a variable:
  void setMULength(Int_t mul)
		Set the length of the MU subevent
  void setTriggerCodeFirstFormat(Bool_t tcff)
		Set the format of the MU subevent. FALSE means old format, TRUE means new format.
  void setVersion(Int_t v)
		Set the version.
  void setTriggerCode(Int_t tc)
		Set the trigger code.
  void setNHitsRich(Int_t hr)
		Set the number of hits found in RICH.
  void setNHitsShower(Int_t hs)
		Set the number of hits found in SHOWER.
  void setNHitsTof(Int_t ht)
		Set the number of hits found in TOF.
  void setSecHitPatternRich(Int_t pr)
		Set the bit pattern of RICH sectors that had hits.
  void setSecHitPatternShower(Int_t pr)
		Set the bit pattern of SHOWER sectors that had hits.
  void setSecHitPatternTof(Int_t pr)
		Set the bit pattern of TOF sectors that had hits.
  void setNLeptons(Int_t nl)
		Set the number of found leptons.
  void setNDiLeptons(Int_t nl)
		Set the number of found dileptons.
 If you use these functions, make sure your input parameter is in the rigth
 coordinate system and units! No checking or transformations are done.


Function Members (Methods)

public:
HMUData()
HMUData(const HMUData&)
virtual~HMUData()
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
Int_tdecode(UInt_t* ptr, Int_t maxLength)
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
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
UInt_tgetMULength()
virtual const char*TObject::GetName() const
UInt_tgetNDiLeptons()
UInt_tgetNHitsRich()
UInt_tgetNHitsShower()
UInt_tgetNHitsTof()
UInt_tgetNLeptons()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
UInt_tgetSecHitPatternRich()
UInt_tgetSecHitPatternShower()
UInt_tgetSecHitPatternTof()
virtual const char*TObject::GetTitle() const
UInt_tgetTriggerCode()
Bool_tgetTriggerCodeFirstFormat()
virtual UInt_tTObject::GetUniqueID() const
UInt_tgetVersion()
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_tisTriggerCodeFirstFormat()
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)
HMUData&operator=(const HMUData&)
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 = "")
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)
voidsetMULength(Int_t mul)
voidsetNDiLeptons(Int_t nl)
voidsetNHitsRich(Int_t hr)
voidsetNHitsShower(Int_t hs)
voidsetNHitsTof(Int_t ht)
voidsetNLeptons(Int_t nl)
static voidTObject::SetObjectStat(Bool_t stat)
voidsetSecHitPatternRich(Int_t pr)
voidsetSecHitPatternShower(Int_t pr)
voidsetSecHitPatternTof(Int_t pr)
voidsetTriggerCode(Int_t tc)
voidsetTriggerCodeFirstFormat(Bool_t tcff)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidsetVersion(Int_t v)
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
};
private:
HEventHeader*eventhead! pointer to header
Bool_tfTriggerCodeFirstFormatflag for format of MU data (old or new)
UInt_tmuLengthLength of subevent
UInt_tnDiLeptonsNumber of Dileptons found
UInt_tnHitsRichNumber of Hits in RICH
UInt_tnHitsShowernumber of hits in SHOWER
UInt_tnHitsTofnumber of hits in TOF
UInt_tnLeptonsNumber of leptons found
UInt_tscalers[20]Values read from scalers
UInt_tsecHitPatternRichBit pattern for RICH sectors that had a hit
UInt_tsecHitPatternShowerBit pattern for SHOWER sectors that had a hit
UInt_tsecHitPatternTofBit pattern for TOF sectors that had a hit
UInt_ttriggerCodeTriggercode from MU subevent
UInt_tversionVersion of matching unit DSP code

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HMUData(const HMUData& )
 Default constructor. Sets all variables to zero except fTriggerCodeFirstFormat,
 which is set to 1, to define new format of MU data.

 Input parameters:
	none

 Output parameters:
	none

 Return code:
	none
void clear(void)
 Clears dataobject, by setting all variables to zero, except fTriggerCodeFirstFormat,
 which is left untouched.

 Input parameters:
	none

 Output parameters:
	none

 return code:
 none
Int_t decode(UInt_t* ptr, Int_t maxLength)
 Decodes dataword from MU subevent.

Input parameters:
	UInt_t* ptr
		Pointer to MU data.

	Int_t maxLength
	Maximum number of datawords to be decoded.

 Output parameters:
	none

 Return code:
	Number of decoded datawords.
void Streamer(TBuffer& b)
 Stream an object of class HMUData.
 Individual streamer needed, because variable eventhead was excluded from streaming for
 Classversions > 1.

 Input parameters:
	TBuffer& R__b
		Buffer object to read data from.

 Output parameters:
	none

 Return code:
	none
HMUData(const HMUData& )
~HMUData(void)
{}
void setMULength(Int_t mul)
{muLength=mul;}
UInt_t getMULength()
{return muLength;}
Bool_t isTriggerCodeFirstFormat(void)
{ return fTriggerCodeFirstFormat; }
Bool_t getTriggerCodeFirstFormat()
{ return fTriggerCodeFirstFormat; }
UInt_t getVersion()
{return version;}
UInt_t getTriggerCode()
{return triggerCode;}
UInt_t getNHitsRich()
{ return nHitsRich; }
UInt_t getNHitsShower()
{ return nHitsShower; }
UInt_t getNHitsTof()
{ return nHitsTof; }
UInt_t getSecHitPatternRich()
{return secHitPatternRich;}
UInt_t getSecHitPatternShower()
{return secHitPatternShower;}
UInt_t getSecHitPatternTof()
{return secHitPatternTof;}
UInt_t getNLeptons()
{return nLeptons;}
UInt_t getNDiLeptons()
{return nDiLeptons;}
void setTriggerCodeFirstFormat(Bool_t tcff)
{ fTriggerCodeFirstFormat = tcff; }
void setVersion(Int_t v)
{version=v;}
void setTriggerCode(Int_t tc)
{triggerCode=tc;}
void setNHitsRich(Int_t hr)
{ nHitsRich=hr; }
void setNHitsShower(Int_t hs)
{ nHitsShower=hs; }
void setNHitsTof(Int_t ht)
{ nHitsTof=ht; }
void setSecHitPatternRich(Int_t pr)
{secHitPatternRich=pr;}
void setSecHitPatternShower(Int_t pr)
{secHitPatternShower=pr;}
void setSecHitPatternTof(Int_t pr)
{secHitPatternTof=pr;}
void setNLeptons(Int_t nl)
{ nLeptons = nl ;}
void setNDiLeptons(Int_t nl)
{ nDiLeptons = nl;}

Author: Alberica Toia
Last change: Sat May 22 12:59:07 2010
Last generated: 2010-05-22 12:59

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.