1 #include "TEveJetCone.h" 9 TEveJetCone*
jet =
new TEveJetCone();
14 for ( reco::Jet::Constituents::const_iterator itr = c.begin(); itr != c.end(); ++itr )
16 if ( !itr->isAvailable() ) {
22 double eta_size = 0.2;
23 double phi_size = 0.2;
29 static const float offr = 5;
32 jet->SetCylinder(context.
caloR1(
false) -offr, context.
caloZ1(
false)-offz);
34 jet->SetCylinder(context.
caloR2(
false) -offr, context.
caloZ2(
false)-offz);
37 jet-> AddEllipticCone(iData.
eta(), iData.
phi(), eta_size, phi_size);
38 jet->SetPickable(kTRUE);
static float caloTransAngle()
virtual double eta() const final
momentum pseudorapidity
virtual const Point & vertex() const
vertex position (overwritten by PF...)
Base class for all types of Jets.
static float caloZ2(bool offset=true)
std::vector< Constituent > Constituents
float etaetaMoment() const
eta-eta second moment, ET weighted
virtual Constituents getJetConstituents() const
list of constituents
virtual double phi() const final
momentum azimuthal angle
static float caloR2(bool offset=true)
static float caloR1(bool offset=true)
Tan< T >::type tan(const T &t)
float phiphiMoment() const
phi-phi second moment, ET weighted
static double caloMaxEta()
static float caloZ1(bool offset=true)
TEveJetCone * makeEveJetCone(const reco::Jet &iData, const fireworks::Context &context)