class HMUEmulation: public HReconstructor

Function Members (Methods)

public:
HMUEmulation()
HMUEmulation(const Text_t* name, const Text_t* title)
virtual~HMUEmulation()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidHReconstructor::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual Bool_tHReconstructor::connectTask(HTask* task, Int_t n = 0)
virtual voidTNamed::Copy(TObject& named) 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 Int_texecute()
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 voidTNamed::FillBuffer(char*& buffer)
virtual Bool_tfinalize()
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual HTask*HReconstructor::getComposite()
virtual voidHReconstructor::getConnections()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual HTask*HTask::getOwner()
TObjArrayHReconstructor::getTable()
virtual HTask*HReconstructor::getTask(const Char_t* name)
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 Bool_tinit()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tHReconstructor::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual voidHReconstructor::isTimed(Bool_t flag = kTRUE)
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual HTask*HReconstructor::next(Int_t& errCode)
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)
HTask&HTask::operator=(const HTask&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual voidHReconstructor::printTimer()
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual Bool_treinit()
voidTObject::ResetBit(UInt_t f)
virtual voidHReconstructor::resetTimer()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidHReconstructor::setActive(Bool_t state)MENU
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual Bool_tHTask::setConnections()
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidHTask::setManual()
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidHTask::setOwner(HTask* atask)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
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()
virtual Int_tmatching()
voidreset()
virtual voidupdateEmuLeptons()
private:
Bool_tinitParContainer(HSpectrometer* spec, HRuntimeDb* rtdb)
virtual voidprepareInput()
Int_troundAngle(Float_t fAngle, Int_t iRange, Float_t round = 0.5)

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:
Bool_tHReconstructor::fActiveActive flag
TList*HReconstructor::fHistogramsList of histograms generated by this reconstructor.
Bool_tHTask::fIsTimedtimer flag
TStringTNamed::fNameobject identifier
TObjArrayHReconstructor::fOutputs
TStopwatchHReconstructor::fTimerTask timer
TStringTNamed::fTitleobject title
HTriggerParMuLep*fTrigPar! Pointer to MU lepton parameter container
HTriggerParMomMap*fTrigParMom! Pointer to MU momentum map parameter container
HTriggerSetup*fTriggerSetup! Pointer to trigger setup parameters
TArrayI*flagTof[6]Pid of TOF hit from MU
Bool_tHTask::isConnected
Bool_tHTask::isInitialised
HIterator*iterRich! Iterator over RICH hit category
HIterator*iterShower! Iterator over SHOWER hit category
HIterator*iterTof! Iterator over TOF hit category
HLocationloc! Address used to store leptons in output category
Bool_tHTask::manual
Int_tmuDileptons! Minimum number of dileptons for positiv LVL2 trigger
Int_tmuLeptons! Minimum number of leptons for positiv LVL2 trigger
Int_tmuMaxLeptons! Number of leptons resulting in positiv LVL2 trigger
Int_tmuMetaHits! Minimum number of META hits for positiv LVL2 trigger
Int_tmuRichHits! Minimum number of RICH hits for positiv LVL2 trigger
Int_tmuRichTotalHits! Number of rings in RICH giving a positiv LVL2 trigger
Int_tnEmuLeptons! Number of found leptons per event
UInt_tnMetaHits! Total number of hits in META
Int_tnRichHits[6]Number of RICH hits per sector
UInt_tnRichTotal! Total n umber of hits in RICH
Int_tnShowerHits[6]Number of SHOWER hits per sector
Int_tnTofHits[6]Number of TOF hits per sector
HTask*HTask::owner
TObjArray*pEmuLeptons! Pointer to array for storing lepons
HEventHeader*pEventHeader! Pointer to event header
HCategory*pLeptons! Pointer to MU lepton category
HCategory*pRich! Pointer to RICH hit category
HCategory*pShower! Pionter to SHOWER hit category
HCategory*pTof! Pointer to Tof hit category
TArrayF*phiRich[6]Phi of RICH hit from MU
TArrayF*phiShower[6]Phi of SHOWER hit from MU
TArrayF*phiTof[6]PHI of TOF hit from MU
TArrayF*thetaRich[6]Theta of RICH hit from the MU
TArrayF*thetaShower[6]Theta of SHOWER hit from MU
TArrayF*thetaTof[6]Theta of TOF hit from MU
UInt_ttriggerDecision! Trigger decision, result of matching

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Bool_t initParContainer(HSpectrometer* spec, HRuntimeDb* rtdb)
 Adds to the runtime database "rtdb" the containers needed by the MU Emulation

 Input parameters:
   HSpectrometer *spec
       To get information of the spectrometer setup.
   HRuntimeDb *rtdb
      Poineter to runtime database

 Output parameters:
   none

 Return code:
   kTRUE if all parameter containers exist in runtime database,
   kFALSE otherwise.
HMUEmulation(void)
 Default constructor

 Input parameters:
   none

 Output parameters:
   none

 Return code:
   none
HMUEmulation(const Text_t* name, const Text_t* title)
 Default constructor

 Input parameters:
   Text_t *name
      name of the object
   Text_t *title
      title of the object

 Output parameters:
   none

 Return code:
   none
~HMUEmulation(void)
 Destructor, deletes all internaly created objects.

 Input parameters:
   none

 Output parameters:
   none

 Return code:
    none
void reset(void)
 Reset all datamembers that are used on a per event basis.

 Input parameters:
   none

 Output parameters:
   none

 Return code
   none
Bool_t init(void)
 Initialize the task. Create all parameter containers and categories.

 Input parameters:
   none

 Output parameters:
   none

 Return code:
   none
Bool_t reinit(void)
   muDileptons = fTriggerSetup->getMuDileptons();
   muLeptons = fTriggerSetup->getMuLeptons();
   muMaxLeptons = fTriggerSetup->getMuMaxLeptons();
   muRichHits = fTriggerSetup->getMuRichHits();
   muRichTotalHits = fTriggerSetup->getRichTotalHits();
   muMetaHits = fTriggerSetup->getMuMetaHits();
Int_t roundAngle(Float_t fAngle, Int_t iRange, Float_t round = 0.5)
 The Matching Unit uses an internal mapping made of integers in the range (0,255),
 so the calculated angle has to be rounded to this mapping.

 Input parameters:
   Float_t fAngle
     Value of angle to be rounded
   Int_t iRange
     Range to which the value will be rounded.
   Float_t round
     Rounding factor, default 0.5

 Output parameters:
   none

 Return code:
   Rounded value.
Int_t execute(void)
 Execute the task.
 Read the RICH, TOF and SHOWER hit information. If more than 5 rings in RICH
 found, the trigger decission is made positiv, and no leptons are searched!
 If there are more than 1 hit in META, the search for leptons is done.
 After lepton search, a check is done with a cut on the lepton  number to
 be more than 7. If so, then the trigger decision is set to 2.

 Input parameters:
   none

 Output parameters:
   none

 Return code:
  Allways 0!
Int_t matching(void)
 Match the infomation from RICH TOF and SHOWER, to emulate the matching unit.

 Input Parameters:
   none

 Output parameters:
   none

 Return code:
   Returns number of found leptons.
void updateEmuLeptons(void)
 Store the found leptons in the category.

 Input parameters:
   none

 Output parameters:
   none

 Return code:
   none
void prepareInput(void)
 Retrieve information from categories, and store them in internal variables.

 Input parameters:
   none

 Output parameters:
   none

 Return code:
   none
Bool_t finalize(void)
 Finalize the job of the taskset, nothing to be done here!

 Input parameters:
   none

 Output parameters:
   none

 Return code:
   Allways kTRUE!

Last change: Sat May 22 12:59:17 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.