ROOT logo
AliRoot » EVE » EVEDET » AliEveListAnalyser

class AliEveListAnalyser: public TEveElementList


AliEveListAnalyser

An AliEveListAnalyser is, in principal, a TEveElementList with some
sophisticated features. You can add macros to this list, which then
can be applied to the list of analysis objects (these objects can be
added to the list in the same way as for the TEveElementList, but
also "by clicking" (cf. AliEveListAnaLyserEditor)).
In general, please use AddMacro(...) for this purpose.
Macros that are no longer needed can be removed from the list via
RemoveSelectedMacros(...). This function takes an iterator of the
list of macros that are to be removed.
An entry looks like:
The data for each macro consists of path, name, type and the command
that will be used to apply the macro. This stuff is stored in a map
which takes the macro name for the key and the above mentioned data
in a TGeneralMacroData-object for the value.
You can get the macro type via GetMacroType(...).
To find the type of objects the macro will deal with (corresponds to
"YourObjectType" in the examples below) please use
GetMacroObjectType(...).
With ApplySOSelectionMacros(...) or ApplyProcessMacros(...)
respectively you can apply the macros to the track list via
 iterators (same style like for RemoveSelectedMacros(...)(cf. above)).
Selection macros (de-)select macros according to a selection rule
by setting the rnr-state of the tracks.
If multiple selection macros are applied, a track is selected, if
all selection macros select the track.
Process macros create data or histograms, which will be stored in
a temporary file. The editor of this class will access this file
and draw all the stuff within it's DrawHistos() function. The file
will be deleted by the destructor.

Currently, the following macro types are supported:
Selection macros:
Bool_t YourMacro(const YourObjectType*);
Bool_t YourMacro(const YourObjectType*, const YourObjectType2*);

Process macros:
void YourMacro(const YourObjectType*, Double_t*&, Int_t&);
void YourMacro(const YourObjectType*, const YourObjectType2*,
Double_t*&, Int_t&);
TH1* YourMacro(const YourObjectType*);
TH1* YourMacro(const YourObjectType*, const YourObjectType2*);

The macros which take 2 tracks are applied to all track pairs
(whereby BOTH tracks of the pair have to be selected by the single
track selection macros and have to be unequal, otherwise they will
be skipped) that have been selected by ALL correlated tracks
selection macros. The selection macros with 2 tracks do NOT affect
process macros that process only a single track!

Function Members (Methods)

public:
AliEveListAnalyser(const Text_t* n = "AliEveListAnalyser", const Text_t* t = "", Bool_t doColor = kFALSE)
virtual~AliEveListAnalyser()
voidTObject::AbstractMethod(const char* method) const
virtual Bool_tTEveElementList::AcceptElement(TEveElement* el)
virtual voidTEveElement::AddElement(TEveElement* el)
virtual TGListTreeItem*TEveElement::AddIntoListTree(TGListTree* ltree, TGListTreeItem* parent_lti)
virtual TGListTreeItem*TEveElement::AddIntoListTree(TGListTree* ltree, TEveElement* parent)
virtual TGListTreeItem*TEveElement::AddIntoListTrees(TEveElement* parent)
Int_tAddMacro(const Char_t* path, const Char_t* name, Bool_t forceReload = kFALSE)
Bool_tAddMacroFast(const Char_t* path, const Char_t* name, AliEveListAnalyser::AliEveListAnalyserMacroType type, TClass* objectType, TClass* objectType2)
virtual voidTEveElement::AddParent(TEveElement* re)
Int_tAddPrimSelectedObject(TEveElement* el)
virtual voidTEveProjectable::AddProjected(TEveProjected* p)
virtual voidTEveProjectable::AddProjectedsToSet(set<TEveElement*>& set)
voidAddSecSelectedSingleObjectToList(Int_t pointId)
virtual voidTEveElement::AddStamp(UChar_t bits)
virtual voidAddStandardContent()
virtual voidTEveElement::Annihilate()
virtual voidTEveElement::AnnihilateElements()
virtual voidTEveProjectable::AnnihilateProjecteds()
virtual voidTObject::AppendPad(Option_t* option = "")
Bool_tApplyProcessMacros(const TList* selIterator, const TList* procIterator)
voidApplySOSelectionMacros(const TList* iterator)
Bool_tTEveElement::ApplyVizTag(const TString& tag, const TString& fallback_tag = "")
TEveElement::List_iTEveElement::BeginChildren()
TEveElement::List_ciTEveElement::BeginChildren() const
TEveElement::List_iTEveElement::BeginParents()
TEveElement::List_ciTEveElement::BeginParents() const
TEveProjectable::ProjList_iTEveProjectable::BeginProjecteds()
virtual voidTObject::Browse(TBrowser* b)
virtual Bool_tTEveElement::CanEditElement() const
virtual Bool_tTEveElement::CanEditMainColor() const
virtual Bool_tTEveElement::CanEditMainTrans() const
virtual Bool_tTEveElement::CanEditMainTransparency() const
virtual voidTEveElement::CheckReferenceCount(const TEveException& eh = "TEveElement::CheckReferenceCount ")
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual voidTEveProjectable::ClearProjectedList()
virtual voidTEveElement::ClearStamps()
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual voidTEveElement::CloneChildrenRecurse(TEveElement* dest, Int_t level = 0) const
virtual TEveElementList*TEveElementList::CloneElement() const
virtual TEveElement*TEveElement::CloneElementRecurse(Int_t level = 0) const
virtual voidTEveElement::CollectSceneParents(TEveElement::List_t& scenes)
virtual voidTEveElement::CollectSceneParentsFromChildren(TEveElement::List_t& scenes, TEveElement* parent)
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTEveElement::CopyVizParams(const TEveElement* el)
virtual voidTEveElement::CopyVizParamsFromDB()
voidTEveElement::CSCApplyMainColorToAllChildren()
voidTEveElement::CSCApplyMainColorToMatchingChildren()
voidTEveElement::CSCApplyMainTransparencyToAllChildren()
voidTEveElement::CSCApplyMainTransparencyToMatchingChildren()
voidTEveElement::CSCImplySelectAllChildren()
voidTEveElement::CSCTakeAnyParentAsMaster()
voidTEveElement::DecDenyDestroy()
virtual voidTEveElement::DecImpliedHighlighted()
virtual voidTEveElement::DecImpliedSelected()
voidTEveElement::DecParentIgnoreCnt()
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual voidTEveElement::Destroy()MENU
virtual voidTEveElement::DestroyElements()MENU
virtual voidTEveElement::DestroyListSubTree(TGListTree* ltree, TGListTreeItem* parent)
virtual voidTEveElement::DestroyMainTrans()
virtual voidTEveElement::DestroyOrWarn()
voidTEveElement::DisableListElements(Bool_t rnr_self = kFALSE, Bool_t rnr_children = kFALSE)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
voidTEveElement::DumpSourceObject() constMENU
virtual voidTEveElement::ElementChanged(Bool_t update_scenes = kTRUE, Bool_t redraw = kFALSE)
voidTEveElement::EnableListElements(Bool_t rnr_self = kTRUE, Bool_t rnr_children = kTRUE)MENU
TEveElement::List_iTEveElement::EndChildren()
TEveElement::List_ciTEveElement::EndChildren() const
TEveElement::List_iTEveElement::EndParents()
TEveElement::List_ciTEveElement::EndParents() const
TEveProjectable::ProjList_iTEveProjectable::EndProjecteds()
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 voidTEveElement::ExpandIntoListTree(TGListTree* ltree, TGListTreeItem* parent)
voidTEveElement::ExportSourceObjectToCINT(char* var_name) constMENU
virtual voidTEveElement::ExportToCINT(char* var_name)MENU
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual voidTEveElement::FillImpliedSelectedSet(TEveElement::Set_t& impSelSet)
TEveElement*TEveElement::FindChild(const TString& name, const TClass* cls = 0)
TEveElement*TEveElement::FindChild(TPRegexp& regexp, const TClass* cls = 0)
Int_tTEveElement::FindChildren(TEveElement::List_t& matches, const TString& name, const TClass* cls = 0)
Int_tTEveElement::FindChildren(TEveElement::List_t& matches, TPRegexp& regexp, const TClass* cls = 0)
virtual TEveElement::sLTI_iTEveElement::FindItem(TGListTree* ltree)
virtual TEveElement::sLTI_iTEveElement::FindItem(TGListTree* ltree, TGListTreeItem* parent_lti)
virtual TGListTreeItem*TEveElement::FindListTreeItem(TGListTree* ltree)
virtual TGListTreeItem*TEveElement::FindListTreeItem(TGListTree* ltree, TGListTreeItem* parent_lti)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Bool_tTEveElement::FindVizModel()
TEveElement*TEveElement::FirstChild() const
virtual TEveElement*TEveElement::ForwardEdit()
virtual TEveElement*TEveElement::ForwardSelection()
UChar_tTEveElement::GetChangeBits() const
TClass*TEveElementList::GetChildClass() const
TEveCompound*TEveElement::GetCompound()
Bool_tGetConnected()
Int_tTEveElement::GetDenyDestroy() const
Bool_tTEveElement::GetDestroyOnZeroRefCnt() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual TObject*TEveElement::GetEditorObject(const TEveException& eh) const
virtual const char*TEveElementList::GetElementName() const
virtual const char*TEveElementList::GetElementTitle() const
virtual TStringTEveElement::GetHighlightTooltip()
virtual const char*TObject::GetIconName() const
virtual const TGPicture*TEveElement::GetListTreeCheckBoxIcon()
virtual const TGPicture*TEveElement::GetListTreeIcon(Bool_t open = kFALSE)
TClass*GetMacroObjectType(const Char_t* name, Int_t argNum = 1) const
AliEveListAnalyser::AliEveListAnalyserMacroTypeGetMacroType(const Char_t* name, const Char_t* objectType = "TObject", const Char_t* objectType2 = "TObject", Bool_t UseList = kTRUE) const
virtual Color_tTEveElement::GetMainColor() const
Color_t*TEveElement::GetMainColorPtr() const
virtual Char_tTEveElement::GetMainTransparency() const
TEveElement*TEveElement::GetMaster()
virtual const char*TNamed::GetName() const
virtual Int_tTEveElement::GetNItems() const
virtual TObject*TEveElementList::GetObject(const TEveException& = "TEveElementList::GetObject ") const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tTEveElement::GetParentIgnoreCnt() const
virtual TObject*TEveElement::GetRenderObject(const TEveException& eh) const
virtual Bool_tTEveElement::GetRnrAnything() const
virtual Bool_tTEveElement::GetRnrChildren() const
virtual Bool_tTEveElement::GetRnrSelf() const
virtual Bool_tTEveElement::GetRnrState() const
virtual UChar_tTEveElement::GetSelectedLevel() const
TRef&TEveElement::GetSource()
TObject*TEveElement::GetSourceObject() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
void*TEveElement::GetUserData() const
TEveElement*TEveElement::GetVizModel() const
const TString&TEveElement::GetVizTag() const
virtual Bool_tTEveElement::HandleElementPaste(TEveElement* el)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_tTEveElement::HasChild(TEveElement* el)
Bool_tTEveElement::HasChildren() const
virtual ULong_tTNamed::Hash() const
virtual Bool_tTEveElement::HasMainColor() const
virtual Bool_tTEveElement::HasMainTrans() const
Bool_tTEveElement::HasParents() const
virtual Bool_tTEveProjectable::HasProjecteds() const
virtual voidTEveElement::HighlightElement(Bool_t state)
voidTEveElement::IncDenyDestroy()
virtual voidTEveElement::IncImpliedHighlighted()
virtual voidTEveElement::IncImpliedSelected()
voidTEveElement::IncParentIgnoreCnt()
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 voidTEveElement::InitMainTrans(Bool_t can_edit = kTRUE)
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
Bool_tTEveElement::IsPickable() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
TEveElement*TEveElement::LastChild() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidTEveElement::NameTitleChanged()
virtual Bool_tTObject::Notify()
Int_tTEveElement::NumChildren() const
Int_tTEveElement::NumParents() const
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)
virtual voidTEveElement::PadPaint(Option_t* option)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTEveElement::PaintStandard(TObject* id)
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
voidTEveElement::PrintSourceObject() constMENU
virtual voidTEveElement::ProjectAllChildren(Bool_t same_depth = kTRUE)
virtual voidTEveElement::ProjectChild(TEveElement* el, Bool_t same_depth = kTRUE)
virtual TClass*TEveElementList::ProjectedClass(const TEveProjection* p) const
virtual voidTEveProjectable::PropagateMainColor(Color_t color, Color_t old_color)
virtual voidTEveElement::PropagateMainColorToProjecteds(Color_t color, Color_t old_color)
virtual voidTEveProjectable::PropagateMainTransparency(Char_t t, Char_t old_t)
virtual voidTEveElement::PropagateMainTransparencyToProjecteds(Char_t t, Char_t old_t)
virtual voidTEveProjectable::PropagateRenderState(Bool_t rnr_self, Bool_t rnr_children)
virtual voidTEveElement::PropagateRnrStateToProjecteds()
virtual voidTEveProjectable::PropagateVizParams(TEveElement* el = 0)
virtual voidTEveElement::PropagateVizParamsToElements(TEveElement* el = 0)
virtual voidTEveElement::PropagateVizParamsToProjecteds()
virtual TEveTrans*TEveElement::PtrMainTrans(Bool_t create = kTRUE)
virtual Int_tTObject::Read(const char* name)
voidTEveElement::RecheckImpliedSelections()
virtual voidTObject::RecursiveRemove(TObject* obj)
const TEveElement::List_t&TEveElement::RefChildren() const
virtual TEveTrans&TEveElement::RefMainTrans()
virtual voidTEveElement::RemoveElement(TEveElement* el)
virtual voidTEveElement::RemoveElementLocal(TEveElement* el)
virtual voidTEveElement::RemoveElements()
virtual voidTEveElement::RemoveElementsLocal()
virtual Bool_tTEveElement::RemoveFromListTree(TGListTree* ltree, TGListTreeItem* parent_lti)
virtual Int_tTEveElement::RemoveFromListTrees(TEveElement* parent)
virtual voidTEveElement::RemoveParent(TEveElement* re)
virtual voidTEveProjectable::RemoveProjected(TEveProjected* p)
voidRemoveSelectedMacros(const TList* iterator)
voidTEveElement::ResetAllCSCBits()
voidTObject::ResetBit(UInt_t f)
voidTEveElement::ResetCSCBits(UChar_t f)
voidResetObjectList()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTEveElement::SaveVizParams(ostream& out, const TString& tag, const TString& var)
virtual voidTEveElement::SelectElement(Bool_t state)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidTEveElementList::SetChildClass(TClass* c)
voidTEveElement::SetCompound(TEveCompound* c)
voidTEveElement::SetCSCBits(UChar_t f)
voidTEveElement::SetDestroyOnZeroRefCnt(Bool_t d)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidTEveElement::SetEditMainColor(Bool_t x)
voidTEveElement::SetEditMainTransparency(Bool_t x)
virtual voidTEveElementList::SetElementName(const char* name)
virtual voidTEveElementList::SetElementNameTitle(const char* name, const char* title)
virtual voidTEveElementList::SetElementTitle(const char* title)
voidTEveElement::SetMainAlpha(Float_t alpha)
virtual voidTEveElement::SetMainColor(Color_t color)
voidTEveElement::SetMainColorPixel(Pixel_t pixel)
voidTEveElement::SetMainColorPtr(Color_t* color)
voidTEveElement::SetMainColorRGB(UChar_t r, UChar_t g, UChar_t b)
voidTEveElement::SetMainColorRGB(Float_t r, Float_t g, Float_t b)
virtual voidTEveElement::SetMainTransparency(Char_t t)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidTEveElement::SetPickable(Bool_t p)
voidTEveElement::SetPickableRecursively(Bool_t p)
virtual Bool_tTEveElement::SetRnrChildren(Bool_t rnr)
virtual Bool_tTEveElement::SetRnrSelf(Bool_t rnr)
virtual Bool_tTEveElement::SetRnrSelfChildren(Bool_t rnr_self, Bool_t rnr_children)
virtual Bool_tTEveElement::SetRnrState(Bool_t rnr)
voidTEveElement::SetSourceObject(TObject* o)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTEveElement::SetTransMatrix(Double_t* carr)
virtual voidTEveElement::SetTransMatrix(const TGeoMatrix& mat)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidTEveElement::SetUserData(void* ud)
voidTEveElement::SetVizModel(TEveElement* model)
voidTEveElement::SetVizTag(const TString& tag)
virtual voidShowMembers(TMemberInspector&)
virtual Bool_tTEveElement::SingleRnrState() const
virtual Int_tTNamed::Sizeof() const
voidTEveElement::SpawnEditor()MENU
voidTEveElement::StampColorSelection()
voidTEveElement::StampObjProps()
voidTEveElement::StampTransBBox()
voidTEveElement::StampVisibility()
Bool_tStartAddingObjects()
Bool_tStopAddingObjects()
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
Bool_tTEveElement::TestCSCBits(UChar_t f) const
virtual voidTEveElement::UnHighlighted()
virtual voidTEveElement::UnSelected()
virtual voidTObject::UseCurrentStyle()
voidTEveElement::VizDB_Apply(const char* tag)MENU
voidTEveElement::VizDB_Insert(const char* tag, Bool_t replace = kTRUE, Bool_t update = kTRUE)MENU
voidTEveElement::VizDB_Reapply()MENU
voidTEveElement::VizDB_UpdateModel(Bool_t update = kTRUE)MENU
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
virtual voidTEveElement::WriteVizParams(ostream& out, const TString& var)
protected:
virtual voidTEveElement::AnnihilateRecursively()
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
Char_tGetSelectedTab() const
Bool_tHistoDataIsSelected(Int_t index) const
Bool_tMacroListIsSelected(Int_t index) const
voidTObject::MakeZombie()
virtual voidTEveElement::PreDeleteElement()
virtual voidTEveElement::RemoveElementsInternal()
voidSetHistoDataSelection(Int_t index, Bool_t set)
voidSetMacroListSelection(Int_t index, Bool_t set)
voidSetSelectedTab(Int_t index)
static const char*TEveElement::ToString(Bool_t b)

Data Members

public:
enum { fkMaxMacroNameLength
fkMaxMacroPathLength
fkMaxMacroPathNameLength
fkMaxApplyCommandLength
};
enum AliEveListAnalyserMacroType { kUnknown
kSingleObjectSelect
kSingleObjectAnalyse
kSingleObjectHisto
kCorrelObjectSelect
kCorrelObjectAnalyse
kCorrelObjectHisto
};
enum TEveElement::ECompoundSelectionColorBits { kCSCBImplySelectAllChildren
kCSCBTakeAnyParentAsMaster
kCSCBApplyMainColorToAllChildren
kCSCBApplyMainColorToMatchingChildren
kCSCBApplyMainTransparencyToAllChildren
kCSCBApplyMainTransparencyToMatchingChildren
};
enum TEveElement::EDestruct { kNone
kStandard
kAnnihilate
};
enum TEveElement::EChangeBits { kCBColorSelection
kCBTransBBox
kCBObjProps
kCBVisibility
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
public:
static const TGPicture*TEveElement::fgListTreeIcons[9]
static const TGPicture*TEveElement::fgRnrIcons[4]
protected:
UChar_tTEveElement::fCSCBits
Bool_tTEveElement::fCanEditMainColorAllow editing of main color.
Bool_tTEveElement::fCanEditMainTransAllow editing of main transformation.
Bool_tTEveElement::fCanEditMainTransparencyAllow editing of main transparency.
UChar_tTEveElement::fChangeBits!
TClass*TEveElementList::fChildClassClass of acceptable children, others are rejected.
list<TEveElement*>TEveElement::fChildrenList of children.
Color_tTEveElementList::fColorColor of the object.
TEveCompound*TEveElement::fCompoundCompound this object belongs to.
Bool_tfConnectedConnection to the TEvePointSet signal
TList*fDataFromMacroListList of macros that currently have data for histograms
TTreeSRedirector*fDataTreeTree containing data for histograms
Int_tTEveElement::fDenyDestroy! Deny-destroy count.
Bool_tTEveElement::fDestroyOnZeroRefCntAuto-destruct when ref-count reaches zero.
Char_tTEveElement::fDestructing!
AliEveListAnalyserEditor*fEditorPointer to the editor of this list
Bool_tTEveElement::fHighlighted!
Int_tfHistoDataSelectedStores the selection for the data of the histograms
Short_tTEveElement::fImpliedHighlighted!
Short_tTEveElement::fImpliedSelected!
set<TEveElement::TEveListTreeInfo,less<TEveElement::TEveListTreeInfo>,allocator<TEveElement::TEveListTreeInfo> >TEveElement::fItems! Set of list-tree-items.
TMap*fMacroListStores the names, paths, types and commands of all macros added to this list
Int_tfMacroListSelectedStores the selection of the macro list
Color_t*TEveElement::fMainColorPtrPointer to main-color variable.
TEveTrans*TEveElement::fMainTransPointer to main transformation matrix.
Char_tTEveElement::fMainTransparencyMain-transparency variable.
TStringTNamed::fNameobject identifier
Int_tTEveElement::fNumChildren!
Int_tTEveElement::fParentIgnoreCnt! Counter for parents that are ignored in ref-counting.
list<TEveElement*>TEveElement::fParentsList of parents.
Bool_tTEveElement::fPickable
list<TEveProjected*>TEveProjectable::fProjectedListreferences to projected instances.
Bool_tTEveElement::fRnrChildrenRender children of this element.
Bool_tTEveElement::fRnrSelfRender this element.
Bool_tTEveElement::fSelected!
Char_tfSelectedTabHolds the index of the selected tab
TRefTEveElement::fSourceExternal object that is represented by this element.
TStringTNamed::fTitleobject title
Int_tTEveElement::fTopItemCnt! Counter for top-level list-tree items that prevent automatic destruction.
void*TEveElement::fUserData! Externally assigned and controlled user data.
TEveElement*TEveElement::fVizModel! Element used as model from VizDB.
TStringTEveElement::fVizTagTag used to query VizDB for model element.

Class Charts

Inheritance Chart:
TEveElementList
AliEveListAnalyser

Function documentation

AliEveListAnalyser(const Text_t* n = "AliEveListAnalyser", const Text_t* t = "", Bool_t doColor = kFALSE)
 Creates the AliEveListAnalyser.
~AliEveListAnalyser()
 Frees allocated memory (lists etc.).
Int_t AddMacro(const Char_t* path, const Char_t* name, Bool_t forceReload = kFALSE)
 Checks, if the file exists and if the signature is correct.
 If these criteria are fullfilled, the library for this macro is built
 and the macro is added to the corresponding list.
 Supported macro types:
 Selection macros:
 Bool_t YourMacro(const YourObjectType*)
 Bool_t YourMacro(const YourObjectType*, const YourObjectType2*)

 Process macros:
 void YourMacro(const YourObjectType*, Double_t*&, Int_t&)
 void YourMacro(const YourObjectType*, const YourObjectType2*, Double_t*&, Int_t&)
 TH1* YourMacro(const YourObjectType*)
 TH1* YourMacro(const YourObjectType*, const YourObjectType2*)
Bool_t AddMacroFast(const Char_t* path, const Char_t* name, AliEveListAnalyser::AliEveListAnalyserMacroType type, TClass* objectType, TClass* objectType2)
 Adds a macro (path/name) to the corresponding list. No checks are performed (file exists,
 macro already in list/map, signature correct),  no libraries are created!
 You can use this function only, if the macro has been added successfully before
 (and then maybe was removed). The function is very fast. On success kTRUE is returned, otherwise: kFALSE;
 Note: If your macro takes only 1 pointer as a parameter, just use "0x0" for objectType2!
Int_t AddPrimSelectedObject(TEveElement* el)
 Adds the TEveElement el to the list. If it is already in the list, it is removed.
 If the list is the only parent of the clicked object, the object is moved outside the list in the browser (not deleted!).
 If you want to delete the object, just select it there and choose "Destroy" in the menu.
 This function is designed to be used together with a signal:
 It adds the (primarily) selected objects in the viewer to the list (objects that are already in the list are removed!).
 Returns "ERROR" (cf. defines) on error, "WARNING" if the element does not contain any user data and else "SUCCESS" (i.e.
 the element has been added successfully or the element is the list itself and therefore ignored, or the element is ignored
 because it has been added via secondary selection).
void AddSecSelectedSingleObjectToList(Int_t pointId)
 This function adds the selected object (secondary selection in the viewer) to the list
 of analysis objects. If the object is already in the list, it will be removed from it.
 This function is used to add single objects of a TEvePointset, e.g. single clusters.
void AddStandardContent()
 Adds standard macros to the macro list.
Bool_t ApplyProcessMacros(const TList* selIterator, const TList* procIterator)
 Uses the procIterator (for the selected process macros) to apply the selected macros to the data.
 Returns kTRUE on success, otherwise kFALSE. If there no process macros selected, kTRUE is returned
 (this is no error!).
 The single object process macros are applied to all selected objects.
 The selIterator (for the selected selection macros) will be used to apply the correlated objects selection
 macros to all object pairs (whereby BOTH objects have to be selected, otherwise they will be skipped).
 All object pairs that have been selected by ALL correlated objects selection macros will be processed by
 the correlated objects process macros.
void ApplySOSelectionMacros(const TList* iterator)
 Uses the iterator (for the selected selection macros) to apply the selected macros to the data.
 The rnr-states of the objects are set according to the result of the macro calls (kTRUE, if all
 macros return kTRUE for this object, otherwise: kFALSE).
 "SO" stands for "single object". This means that only single object selection macros are applied.
 Correlated objects selection macros will be used inside the call of ApplyProcessMacros(...)!
TClass* GetMacroObjectType(const Char_t* name, Int_t argNum = 1) const
 Returns the type of object (of argument argNum) the macro with name "name" is dealing with;
 e.g. if you have the signature:
 void MyMacro(const AliTRDtrackV1* track, Double_t* &results, Int_t& nResults)
 the call 'GetMacroObjectType("MyMacro")' yields the AliTRDtrackV1-class.
 If the macro is not found (or there is an error), 0x0 is returned.
void RemoveSelectedMacros(const TList* iterator)
 Uses the iterator (for the selected macros) to remove the selected macros from
 the corresponding list.
void ResetObjectList()
 Removes all objects from the list.
Bool_t StartAddingObjects()
 Starts adding objects for the analysis. Returns kTRUE on success.
Bool_t StopAddingObjects()
 Stops adding objects for the analysis. Returns kTRUE on success.
AliEveListAnalyser(const Text_t* n = "AliEveListAnalyser", const Text_t* t = "", Bool_t doColor = kFALSE)
Bool_t GetConnected()
{ return fConnected; }
AliEveListAnalyserMacroType GetMacroType(const Char_t* name, const Char_t* objectType = "TObject", const Char_t* objectType2 = "TObject", Bool_t UseList = kTRUE) const
 Returns the type of the macro of the corresponding entry (i.e. "macro.C (Path: path)").
 If you have only the name and the path, you can simply use MakeMacroEntry.
 If "UseList" is kTRUE, the type will be looked up in the internal list (very fast). But if this list
 does not exist, you have to use kFALSE for this parameter. Then the type will be determined by the
 prototype! NOTE: It is assumed that the macro has been compiled! If not, the return value is not
 predictable, but normally will be kUnknown.
 "objectType" gives the class/"type of object" of the pointer(s), the macro accepts as a parametre.
 Note: AddMacro(Fast) will update the internal list and RemoveProcess(/Selection)Macros respectively.
Char_t GetSelectedTab() const
{ return fSelectedTab; }
Bool_t HistoDataIsSelected(Int_t index) const
{ return TESTBIT(fHistoDataSelected, index); }
Bool_t MacroListIsSelected(Int_t index) const
{ return TESTBIT(fMacroListSelected, index); }
void SetHistoDataSelection(Int_t index, Bool_t set)
{ if (set) SETBIT(fHistoDataSelected, index); else UNSETBIT(fHistoDataSelected, index); }
void SetMacroListSelection(Int_t index, Bool_t set)
{ if (set) SETBIT(fMacroListSelected, index); else UNSETBIT(fMacroListSelected, index); }
void SetSelectedTab(Int_t index)
{ fSelectedTab = (Char_t)index; }
AliEveListAnalyser& operator=(const AliEveListAnalyser& )