2 // Author: Matevz Tadel 2007
4 /*************************************************************************
5 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
12 #ifndef ROOT_TEveJetCone
13 #define ROOT_TEveJetCone
15 #include "TEveElement.h"
16 #include "TEveVSDStructs.h"
19 class TEveJetCone : public TEveElementList,
22 friend class TEveJetConeGL;
25 TEveJetCone(const TEveJetCone&); // Not implemented
26 TEveJetCone& operator=(const TEveJetCone&); // Not implemented
29 typedef std::vector<TEveVector> vTEveVector_t;
30 typedef vTEveVector_t::iterator vTEveVector_i;
31 typedef vTEveVector_t::const_iterator vTEveVector_ci;
34 vTEveVector_t fBasePoints;
37 TEveJetCone(const Text_t* n="TEveJetCone", const Text_t* t="");
38 virtual ~TEveJetCone() {}
40 void SetApex(const TEveVector& a) { fApex = a; }
41 void AddBasePoint(const TEveVector& p) { fBasePoints.push_back(p); }
43 // void SetBaseFromEtaPhi(radius, eta, phi, deta, dphi);
45 virtual Bool_t CanEditMainTransparency() const { return kTRUE; }
48 virtual void ComputeBBox();
49 // If painting is needed:
50 virtual void Paint(Option_t* option="");
52 ClassDef(TEveJetCone, 0); // Short description.