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;
27 static const float offz = offr /
tan(
context.caloTransAngle());
33 jet->AddEllipticCone(iData.
eta(), iData.
phi(), eta_size, phi_size);
34 jet->SetPickable(kTRUE);
float etaetaMoment() const
eta-eta second moment, ET weighted
Base class for all types of Jets.
std::vector< Constituent > Constituents
const Point & vertex() const override
vertex position (overwritten by PF...)
float phiphiMoment() const
phi-phi second moment, ET weighted
virtual Constituents getJetConstituents() const
list of constituents
Tan< T >::type tan(const T &t)
double phi() const final
momentum azimuthal angle
TEveJetCone * makeEveJetCone(const reco::Jet &iData, const fireworks::Context &context)
double eta() const final
momentum pseudorapidity