1 #include "TEveJetCone.h"
7 TEveJetCone*
jet =
new TEveJetCone();
12 for (reco::Jet::Constituents::const_iterator itr = c.begin(); itr != c.end(); ++itr) {
13 if (!itr->isAvailable()) {
19 double eta_size = 0.2;
20 double phi_size = 0.2;
26 static const float offr = 5;
29 jet->SetCylinder(context.
caloR1(
false) - offr, context.
caloZ1(
false) - offz);
31 jet->SetCylinder(context.
caloR2(
false) - offr, context.
caloZ2(
false) - offz);
33 jet->AddEllipticCone(iData.
eta(), iData.
phi(), eta_size, phi_size);
34 jet->SetPickable(kTRUE);
const edm::EventSetup & c
static float caloTransAngle()
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
const Point & vertex() const override
vertex position (overwritten by PF...)
virtual Constituents getJetConstituents() const
list of constituents
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)
double phi() const final
momentum azimuthal angle
TEveJetCone * makeEveJetCone(const reco::Jet &iData, const fireworks::Context &context)
double eta() const final
momentum pseudorapidity