ROOT logo
AliRoot » MUON » AliMUONDarcHeader

class AliMUONDarcHeader: public TObject

 \class AliMUONDarcHeader
 Darc structure for trigger raw data.
 Each DDL contains one Darc structure
 The structure includes the information of the Darc boards
 the Global board input and the global board output
 The structure containes the information of the 8 (at most)
 regional structures.

 \author Christian Finck

Function Members (Methods)

public:
AliMUONDarcHeader()
AliMUONDarcHeader(TRootIOCtor* dummy)
AliMUONDarcHeader(const AliMUONDarcHeader& event)
virtual~AliMUONDarcHeader()
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*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
Bool_tGetCTPTrig() const
Bool_tGetDAQFlag() const
UInt_tGetDarcClock() const
UInt_tGetDarcDefaultType() const
Int_tGetDarcHeaderLength() const
UInt_tGetDarcHold() const
UInt_tGetDarcL0R() const
UInt_tGetDarcL1P() const
UInt_tGetDarcL1S() const
UInt_tGetDarcL2A() const
UInt_tGetDarcL2R() const
Int_tGetDarcScalerLength() const
UInt_t*GetDarcScalers()
UChar_tGetDarcType() const
UInt_tGetDarcVadohrType() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
UInt_tGetEndOfDarc() const
UInt_tGetEndOfGlobal() const
Bool_tGetEventType() const
UInt_tGetGlobalClock() const
UShort_tGetGlobalConfig() const
Bool_tGetGlobalFlag() const
Int_tGetGlobalHeaderLength() const
UInt_tGetGlobalHold() const
UInt_t*GetGlobalInput()
UInt_tGetGlobalInput(Int_t n) const
UInt_tGetGlobalL0() const
UChar_tGetGlobalOutput() const
const UInt_t*GetGlobalScaler() const
Int_tGetGlobalScalerLength() const
UInt_t*GetGlobalScalers()
UInt_tGetGlobalSpare() const
UInt_t*GetHeader()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TClonesArray*GetRegHeaderArray() const
Int_tGetRegHeaderEntries() const
AliMUONRegHeader*GetRegHeaderEntry(Int_t i) const
UChar_tGetRegPattern() const
UChar_tGetSerialNb() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
UChar_tGetVersion() const
Bool_tGetVMETrig() const
UInt_tGetWord() 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()
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)
AliMUONDarcHeader&operator=(const AliMUONDarcHeader& event)
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)
voidSetGlobalInput(UInt_t in, Int_t n)
voidSetGlobalOutput(Int_t out)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetScalersNumbers()
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetWord(UInt_t w)
virtual voidShowMembers(TMemberInspector&)
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:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

private:
UInt_tfDarcClk/< DARC clock
UInt_tfDarcHold/< DARC hold (dead time)
UInt_tfDarcL0R/< DARC L0 received and used
UInt_tfDarcL1P/< DARC L1 physics
UInt_tfDarcL1S/< DARC L1 software
UInt_tfDarcL2A/< DARC L2 accept
UInt_tfDarcL2R/< DARC L2 reject
UInt_tfDarcSpare/< DARC Empty slot (for the moment)
UInt_tfGlobalClk/< global clock
UInt_tfGlobalHold/< global hold (dead time)
UInt_tfGlobalInput[4]/< global input
UInt_tfGlobalL0/< global L0
Int_tfGlobalOutput/< global ouput
UInt_tfGlobalScaler[6]/< global ouput
UInt_tfGlobalSpare/< global spare
TClonesArray*fRegHeaderArray/< container for regional header
UInt_tfWord/< first word
static const UInt_tfgkDarcDefaultType/< default type for DARC def.
static const Int_tfgkDarcHeaderLength/< darc header length
static const Int_tfgkDarcScalerLength/< length of DARC scaler in word
static const UInt_tfgkDarcVadorhType/< default type for DARC vadorh
static const UInt_tfgkEndOfDarc/< end of darc info word
static const UInt_tfgkEndOfGlobal/< end of global info word
static const Int_tfgkGlobalHeaderLength/< global header length
static const Int_tfgkGlobalScalerLength/< length of global scaler in word

Class Charts

Inheritance Chart:
TObject
AliMUONDarcHeader

Function documentation

AliMUONDarcHeader(TRootIOCtor* dummy)
 ctor
AliMUONDarcHeader()
 ctor
AliMUONDarcHeader(const AliMUONDarcHeader& event)
 copy ctor

AliMUONDarcHeader& operator=(const AliMUONDarcHeader& event)
 assignment operator

~AliMUONDarcHeader()
 dtor

void SetScalersNumbers()
 set numbers for scaler events for Darc header
 since this is provided by the experiment
 put dummy numbers to check the monitoring
Bool_t GetEventType() const
 return 1 for physics trigger
 return 0 for software trigger
 01 = trigger physics
 10 = trigger software "start of run"
 11 = trigger software "end of run"
 00 = other trigger software
void Clear(Option_t* opt)
 Clear TClones arrays
 instead of deleting

UInt_t GetWord() const
 Return first word
{return fWord;}
UInt_t GetGlobalInput(Int_t n) const
 Return global input
{return fGlobalInput[n];}
UChar_t GetGlobalOutput() const
 Return global output
{return (fGlobalOutput & 0xFF);}
UShort_t GetGlobalConfig() const
 Return global config
{return ((fGlobalOutput >> 16) & 0xFFFF);}
UChar_t GetDarcType() const
 Return Darc type
{return (UChar_t)(fWord >> 24) & 0x7;}
UChar_t GetSerialNb() const
 Return serial number
{return (UChar_t)(fWord >> 20) & 0xF;}
UChar_t GetVersion() const
 Return version
{return (UChar_t)(fWord >> 12) & 0xFF;}
Bool_t GetVMETrig() const
 Return VME trig
{return (fWord & 0x800);}
Bool_t GetGlobalFlag() const
 Return global flag
{return (fWord & 0x400);}
Bool_t GetCTPTrig() const
 Return CPT trigger
{return (fWord & 0x200);}
Bool_t GetDAQFlag() const
 Return DAQ flag
{return (fWord & 0x100);}
UChar_t GetRegPattern() const
 Return reg pattern
{return (UChar_t)(fWord & 0xFF);}
void SetWord(UInt_t w)
 Set first word
{fWord = w;}
void SetGlobalInput(UInt_t in, Int_t n)
 Set global input
{fGlobalInput[n] = in;}
void SetGlobalOutput(Int_t out)
 Set global output
{fGlobalOutput = out;}
Int_t GetDarcHeaderLength() const
 Return darc header length
Int_t GetGlobalHeaderLength() const
 Return global header length
UInt_t* GetHeader()
 Return header
{return &fWord;}
UInt_t* GetGlobalInput()
 Return global input
{return &fGlobalInput[0];}
UInt_t GetDarcL0R() const
 DARC get methods
 Return DARC L0 received and used
{return fDarcL0R;}
UInt_t GetDarcL1P() const
 Return DARC L1 physics
{return fDarcL1P;}
UInt_t GetDarcL1S() const
 Return DARC L1 software
{return fDarcL1S;}
UInt_t GetDarcL2A() const
 Return DARC L2 accept
{return fDarcL2A;}
UInt_t GetDarcL2R() const
 Return DARC L2 reject
{return fDarcL2R;}
UInt_t GetDarcClock() const
 Return DARC clock
{return fDarcClk;}
UInt_t GetDarcHold() const
 Return DARC hold (dead time)
{return fDarcHold;}
UInt_t* GetGlobalScalers()
 don't use setting methods but memcpy
 Return global L0
{return &fGlobalL0;}
UInt_t* GetDarcScalers()
 Return DARC L0 received and used
{return &fDarcL0R;}
UInt_t GetGlobalL0() const
 global get methods
 Return global L0
{return fGlobalL0;}
UInt_t GetGlobalClock() const
 Return global clock
{return fGlobalClk;}
const UInt_t* GetGlobalScaler() const
 Return global scaler
{return fGlobalScaler;}
UInt_t GetGlobalHold() const
 Return global hold (dead time)
{return fGlobalHold;}
UInt_t GetGlobalSpare() const
 Return global spare
{return fGlobalSpare;}
Int_t GetGlobalScalerLength() const
 Return length of global scaler in word
Int_t GetDarcScalerLength() const
 Return length of DARC scaler in word
UInt_t GetEndOfDarc() const
 Return end of darc info word
{return fgkEndOfDarc;}
UInt_t GetEndOfGlobal() const
 Return end of global info word
{return fgkEndOfGlobal;}
UInt_t GetDarcDefaultType() const
 Return default type for DARC def.
UInt_t GetDarcVadohrType() const
 Return default type for DARC def.
TClonesArray* GetRegHeaderArray() const
 get TClonesArray
{return fRegHeaderArray;}
Int_t GetRegHeaderEntries() const
 get entries
{return fRegHeaderArray->GetEntriesFast();}
AliMUONRegHeader* GetRegHeaderEntry(Int_t i) const
 get entry