ROOT logo
ROOT » GRAF3D » EVE » TEveJetCone

class TEveJetCone: public TEveElementList, public TAttBBox


 Draws a jet cone with leading particle is specified in (eta,phi) and
 cone radius is given.

 If Apex is not set, default is (0.,0.,0.)
 In case of cylinder was set, cone is cut at the cylinder edges
 example :

  Float_t coneEta    = r.Uniform(-0.9, 0.9);
  Float_t conePhi    = r.Uniform(0.0, TwoPi() );
  Float_t coneRadius = 0.4;

  TEveJetCone* jetCone = new TEveJetCone("JetCone");
  jetCone->SetCylinder( 250., 250. );
  if ( (jetCone->AddCone( coneEta, conePhi, coneRadius   ) ) != -1)
    gEve->AddElement( jetCone );

Function Members (Methods)

public:
TEveJetCone(const Text_t* n = "TEveJetCone", const Text_t* t = "")
virtual~TEveJetCone()
voidTObject::AbstractMethod(const char* method) const
virtual Bool_tTEveElementList::AcceptElement(TEveElement* el)
virtual Bool_tTEveElement::AcceptElement(TEveElement* el)
Int_tAddCone(Float_t eta, Float_t phi, Float_t coneRadius, Float_t height = -1)
virtual voidTEveElement::AddElement(TEveElement* el)
Int_tAddEllipticCone(Float_t eta, Float_t phi, Float_t reta, Float_t rphi, Float_t height = -1)
virtual TGListTreeItem*TEveElement::AddIntoListTree(TGListTree* ltree, TGListTreeItem* parent_lti)
virtual TGListTreeItem*TEveElement::AddIntoListTree(TGListTree* ltree, TEveElement* parent)
virtual TGListTreeItem*TEveElement::AddIntoListTrees(TEveElement* parent)
virtual voidTEveElement::AddParent(TEveElement* re)
virtual voidTEveElement::AddStamp(UChar_t bits)
virtual voidTObject::AppendPad(Option_t* option = "")
Bool_tTEveElement::ApplyVizTag(const TString& tag, const TString& fallback_tag = "")
Float_t*TAttBBox::AssertBBox()
TEveElement::List_iTEveElement::BeginChildren()
TEveElement::List_ciTEveElement::BeginChildren() const
TEveElement::List_iTEveElement::BeginParents()
TEveElement::List_ciTEveElement::BeginParents() const
virtual voidTObject::Browse(TBrowser* b)
virtual Bool_tTEveElement::CanEditElement() const
virtual Bool_tTEveElementList::CanEditMainColor() const
virtual Bool_tTEveElement::CanEditMainColor() const
virtual Bool_tTEveElement::CanEditMainTrans() const
virtual Bool_tCanEditMainTransparency() const
virtual Bool_tTEveElement::CanEditMainTransparency() const
virtual voidTEveElement::CheckReferenceCount(const TEveException& eh = "TEveElement::CheckReferenceCount ")
static TClass*Class()
static TClass*TAttBBox::Class()
static TClass*TEveElementList::Class()
static TClass*TNamed::Class()
static TClass*TObject::Class()
static TClass*TEveElement::Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual voidTObject::Clear(Option_t* = "")
virtual voidTEveElement::ClearStamps()
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual TObject*TObject::Clone(const char* newname = "") const
virtual voidTEveElement::CloneChildrenRecurse(TEveElement* dest, Int_t level = 0) const
virtual TEveElementList*TEveElementList::CloneElement() const
virtual TEveElement*TEveElement::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 Int_tTObject::Compare(const TObject* obj) const
virtual voidComputeBBox()
virtual voidTAttBBox::ComputeBBox()
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTEveElement::CopyVizParams(const TEveElement* el)
virtual voidTEveElement::CopyVizParamsFromDB()
voidTEveElement::DecDenyDestroy()
voidTEveElement::DecImpliedHighlighted()
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
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
Float_t*TAttBBox::GetBBox()
Bool_tTAttBBox::GetBBoxOK() const
UChar_tTEveElement::GetChangeBits() const
TClass*TEveElementList::GetChildClass() const
TEveCompound*TEveElement::GetCompound()
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 = "TEveElement::GetEditorObject ") const
virtual const char*TEveElementList::GetElementName() const
virtual const char*TEveElement::GetElementName() const
virtual const char*TEveElementList::GetElementTitle() const
virtual const char*TEveElement::GetElementTitle() const
virtual const char*TObject::GetIconName() const
virtual const TGPicture*TEveElement::GetListTreeCheckBoxIcon()
virtual const TGPicture*TEveElement::GetListTreeIcon(Bool_t open = kFALSE)
virtual Color_tTEveElement::GetMainColor() const
Color_t*TEveElement::GetMainColorPtr() const
virtual UChar_tTEveElement::GetMainTransparency() const
TEveElement*TEveElement::GetMaster()
virtual const char*TNamed::GetName() const
virtual const char*TObject::GetName() const
virtual Int_tTEveElement::GetNItems() const
virtual TObject*TEveElement::GetObject(const TEveException& eh = "TEveElement::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 = "TEveElement::GetRenderObject ") 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 const char*TObject::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
voidTEveElement::HighlightElement(Bool_t state)
voidTEveElement::IncDenyDestroy()
voidTEveElement::IncImpliedHighlighted()
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 TClass*TAttBBox::IsA() const
virtual TClass*TEveElementList::IsA() const
virtual TClass*TNamed::IsA() const
virtual TClass*TObject::IsA() const
virtual TClass*TEveElement::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
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
TEveElement*TEveElement::LastChild() const
virtual voidTNamed::ls(Option_t* option = "") const
virtual voidTObject::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
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)
TAttBBox&TAttBBox::operator=(const TAttBBox& tab)
TNamed&TNamed::operator=(const TNamed& rhs)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTEveElement::PadPaint(Option_t* option)
virtual voidPaint(Option_t* option = "")
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
voidTEveElement::PrintSourceObject() constMENU
virtual voidTEveElement::PropagateMainColorToProjecteds(Color_t color, Color_t old_color)
virtual voidTEveElement::PropagateRnrStateToProjecteds()
virtual voidTEveElement::PropagateVizParamsToElements(TEveElement* el = 0)
virtual voidTEveElement::PropagateVizParamsToProjecteds()
virtual TEveTrans*TEveElement::PtrMainTrans()
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
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)
voidTAttBBox::ResetBBox()
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 = "")
voidTEveElement::SaveVizParams(ostream& out, const TString& tag, const TString& var)
voidTEveElement::SelectElement(Bool_t state)
voidSetApex(const TEveVector& a)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidTEveElementList::SetChildClass(TClass* c)
voidTEveElement::SetCompound(TEveCompound* c)
voidSetCylinder(const Float_t& r, const Float_t& z)
voidTEveElement::SetDestroyOnZeroRefCnt(Bool_t d)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTEveElementList::SetElementName(const char* name)
virtual voidTEveElement::SetElementName(const char* name)
virtual voidTEveElementList::SetElementNameTitle(const char* name, const char* title)
virtual voidTEveElementList::SetElementTitle(const char* title)
virtual voidTEveElement::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(UChar_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)
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& insp, char* parent)
virtual voidTAttBBox::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTEveElementList::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTNamed::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTEveElement::ShowMembers(TMemberInspector& insp, char* parent)
virtual Bool_tTEveElement::SingleRnrState() const
virtual Int_tTNamed::Sizeof() const
voidTEveElement::SpawnEditor()MENU
voidTEveElement::StampColorSelection()
voidTEveElement::StampObjProps()
voidTEveElement::StampTransBBox()
voidTEveElement::StampVisibility()
virtual voidStreamer(TBuffer& b)
virtual voidTEveElementList::Streamer(TBuffer& b)
virtual voidTNamed::Streamer(TBuffer& b)
virtual voidTObject::Streamer(TBuffer& b)
virtual voidTEveElement::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTAttBBox::StreamerNVirtual(TBuffer& b)
voidTEveElementList::StreamerNVirtual(TBuffer& b)
voidTNamed::StreamerNVirtual(TBuffer& b)
voidTObject::StreamerNVirtual(TBuffer& b)
voidTEveElement::StreamerNVirtual(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()
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:
voidTAttBBox::AssertBBoxExtents(Float_t epsilon = 0.005)
voidTAttBBox::BBoxCheckPoint(const Float_t* p)
voidTAttBBox::BBoxCheckPoint(Float_t x, Float_t y, Float_t z)
voidTAttBBox::BBoxClear()
voidTAttBBox::BBoxInit(Float_t infinity = 1e6)
voidTAttBBox::BBoxZero(Float_t epsilon = 0, Float_t x = 0, Float_t y = 0, Float_t z = 0)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
virtual voidTEveElement::PreDeleteElement()
virtual voidTEveElement::RemoveElementsInternal()

Data Members

protected:
TEveVectorfApexApex of the cone, initialized to ( 0., 0., 0. )
Float_t*TAttBBox::fBBox! Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max)
vector<TEveVector>fBasePointsList of contour points
Bool_tTEveElement::fCanEditMainTransAllow editing of main transformation.
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.
TEveVectorfCylinderBorderBorder of Barrel/Cylinder to cut the cone
Int_tTEveElement::fDenyDestroy! Deny-destroy count.
Bool_tTEveElement::fDestroyOnZeroRefCntAuto-destruct when ref-count reaches zero.
Bool_tTEveElement::fDestructing
Bool_tTEveElementList::fDoColorShould serve fColor as the main color of the object.
Bool_tTEveElement::fHighlighted!
Short_tTEveElement::fImpliedHighlighted!
Short_tTEveElement::fImpliedSelected!
set<TEveElement::TEveListTreeInfo,less<TEveElement::TEveListTreeInfo>,allocator<TEveElement::TEveListTreeInfo> >TEveElement::fItems! Set of list-tree-items.
Color_t*TEveElement::fMainColorPtrPointer to main-color variable.
TEveTrans*TEveElement::fMainTransPointer to main transformation matrix.
UChar_tTEveElement::fMainTransparencyMain-transparency variable.
TStringTNamed::fNameobject identifier
Int_tTEveElement::fParentIgnoreCnt! Counter for parents that are ignored in ref-counting.
list<TEveElement*>TEveElement::fParentsList of parents.
Bool_tTEveElement::fPickable
Bool_tTEveElement::fRnrChildrenRender children of this element.
Bool_tTEveElement::fRnrSelfRender this element.
Bool_tTEveElement::fSelected!
TRefTEveElement::fSourceExternal object that is represented by this element.
Float_tfThetaCAngle between axis and the edge of top-side of cylinder
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 Inherited Members Includes Libraries
Class Charts

Function documentation

TEveJetCone(const Text_t* n = "TEveJetCone", const Text_t* t = "")
 Constructor.
void ComputeBBox()
 Compute bounding-box of the data.
void Paint(Option_t* option = "")
 Paint object.
 This is for direct rendering (using TEveJetConeGL class).
Int_t AddCone(Float_t eta, Float_t phi, Float_t coneRadius, Float_t height = -1)
 Add jet cone
 parameters are :
 * (eta,phi)    : of the center/leading particle
 * coneRadius   : in eta-phi space
 * height       : height of the cone
                  * if cylinder is set and length is adapted to cylinder.
                    - if height is given, it will be used as scalar factor
                  * if cylinder is not set, height is used as height of the cone
 Return 0 on sucess
Int_t AddEllipticCone(Float_t eta, Float_t phi, Float_t reta, Float_t rphi, Float_t height = -1)
 Add jet cone
 parameters are :
 * (eta,phi)    : of the center/leading particle
 * (reta, rphi) : radius of cone in eta-phi space
 * height       : height of the cone
                  * if cylinder is set and length is adapted to cylinder.
                    - if height is given, it will be used as scalar factor
                  * if cylinder is not set, height is used as height of the cone
 Return 0 on sucess
void FillTEveVectorFromEtaPhi(TEveVector& vec, const Float_t& eta, const Float_t& phi)
 Fill TEveVector with eta and phi, with magnitude 1.
Float_t GetArcCosConeOpeningAngle(const TEveVector& axis, const TEveVector& contour)
 Return the arccos of the opening angle between two eve vectors
TEveJetCone(const TEveJetCone& )
TEveJetCone& operator=(const TEveJetCone& )
virtual ~TEveJetCone()
{}
void SetApex(const TEveVector& a)
{ fApex = a; }
void SetCylinder(const Float_t& r, const Float_t& z)
Bool_t CanEditMainTransparency() const
{ return kTRUE; }