class HRecEvent: public HEvent


 HRecEvent

 A HRecEvent is an event under reconstruction, and, in particular, a
 reconstructed event. These events can be in different reconstruction levels,
 the reconstruction level of a HRecEvent is controlled by setRecLevel() and
 getRecLevel(); the reconstruction levels are identified by global constants
 (rlRaw, rlHit ...)

 As for the data, a HRecEvent holds reconstructed tracks, an event header
 and a list of HPartialEvent objects.

 An HRecEvent can be streamed in "expanded" or normal mode. This behaviour is
 controlled with the setExpandedStreamer method.

 fBits assignment:
   Bit 0: Expanded Streamer


Function Members (Methods)

public:
HRecEvent()
HRecEvent(const HRecEvent&)
virtual~HRecEvent()
voidTObject::AbstractMethod(const char* method) const
virtual voidactivateBranch(TTree* tree, Int_t splitLevel)
virtual Bool_taddCategory(Cat_t aCat, HCategory* cat, Option_t* opt)
voidaddPartialEvent(HPartialEvent*)
HPartialEvent*addPartialEvent(Cat_t eventCat, const Text_t* name, const Text_t* title)
voidaddTrack(HTrack& aTrack)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidBrowse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* opt = "")
virtual voidclearAll(Int_t level)
voidclearTracks()
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
virtual HCategory*getCategory(Cat_t aCat)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual HEventHeader*getHeader() const
virtual const char*TObject::GetIconName() const
virtual const Text_t*HEvent::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
HPartialEvent*getPartialEvent(Cat_t idx)
Int_tgetRecLevel()
virtual const Text_t*HEvent::GetTitle() const
HTrack*getTrack(UInt_t aId)
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_thasExpandedStreamer()
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_tIsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
virtual voidmakeBranch(TBranch* parent)
voidTObject::MayNotUse(const char* method) const
voidmerge(HRecEvent* ev)
HTrack*newTrack()
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)
HRecEvent&operator=(const HRecEvent&)
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)
virtual Bool_tremoveCategory(Cat_t aCat)
Bool_tremovePartialEvent(Cat_t cat)
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)
voidsetExpandedStreamer(Bool_t t)
static voidTObject::SetObjectStat(Bool_t stat)
voidsetRecLevel(Int_t aRecLevel)
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:
HEventHeader*fHeader! Event header
Int_tfNTracksNumber of reconstructed tracks in this event (not used!)
TString*HEvent::fName! Event's name
TObjArray*fPartialEvs! List of partial events in this event
Int_tfRecLevelReconstruction level for this event
TString*HEvent::fTitle! Event's title
TClonesArray*fTracksReconstructed tracks for this event (not used!)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HRecEvent(const HRecEvent& )
 Default constructor
~HRecEvent(void)
 Destructor
void activateBranch(TTree* tree, Int_t splitLevel)
 See HEvent::activateBranch()
void makeBranch(TBranch* parent)
 See HEvent::makeBranch()
void Clear(Option_t* opt = "")
 Clears the data in the event (i.e. clears the internal buffers...)
void clearAll(Int_t level)
 Clears the data in the event and the event structure (list of subevents....)

   level == 0: delete list of partial events
   level == 1: delete only all categories in partial events
   level > 1:  clear only all categories in partial events

HTrack * newTrack(void)
 Returns a pointer to a new HTrack object.
void addTrack(HTrack& aTrack)
 Adds the track aTrack to the list of reconstructed tracks.
HTrack * getTrack(UInt_t aId)
 Returns the track identified by aId (the position in the track list)
void clearTracks(void)
 Clears the track list
Int_t getRecLevel(void)
 Returns the reconstruction level for this event.
void setRecLevel(Int_t aRecLevel)
 Sets the reconstruction level for the event.
HPartialEvent * getPartialEvent(Cat_t idx)
 Returns a pointer to the partial event with number idx.
HCategory * getCategory(Cat_t aCat)
 Returns the category identified by aCat in the correct Partial event.
Bool_t addCategory(Cat_t aCat, HCategory* cat, Option_t* opt)
 Adds a new category to the event. The partial event it belongs to is
 determined by aCat; if this partial event doesn't exist, one is created
 with the name given in opt.
Bool_t removeCategory(Cat_t aCat)
 Removes the category aCat from the event. If aCat is the last category in
 the corresponding partial event, then the partial event is also removed.
Bool_t removePartialEvent(Cat_t cat)
 Remove partial event aCat from event.
HPartialEvent * addPartialEvent(Cat_t eventCat, const Text_t* name, const Text_t* title)
 Create and Add a new HPartialEvent to the list of HPartialEvent objects
 in the HRecEvent.

 Input:
  eventCat  ---> Base category for the event (i.e. for Mdc it is catMdc)
  name      ---> Name of the new partial event (used to build Root trees)
  title     ---> Title of the new partial event
void addPartialEvent(HPartialEvent* )
 Add partial event by pointer.
void merge(HRecEvent* ev)
 Merge this event into target event, i.e. move all partial events
 with all their categories to target event.
 (needed by HRootSource in merge mode)
void Browse(TBrowser* b)
 Event browser.
void setExpandedStreamer(Bool_t t)
 If the event is in "expanded streamer" mode each partial event and category
 will go to a different directory.
void Streamer(TBuffer& b)
 Stream an object of class HRecEvent.
HRecEvent(const HRecEvent& )
HEventHeader * getHeader(void)
{return fHeader;}
Bool_t IsFolder(void)
{return kFALSE;}
Bool_t hasExpandedStreamer(void)
{return TestBit(32); }

Last change: Sat May 22 13:08:01 2010
Last generated: 2010-05-22 13:08

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.