14 #include "TEveGeoNode.h"
15 #include "TEveScalableStraightLineSet.h"
59 std::vector<fireworks::scaleMarker>
m_lines;
65 typedef std::vector<fireworks::scaleMarker> Lines_t;
71 if ( vc == (*i).m_vc )
78 TEveProjectable *pable =
static_cast<TEveProjectable*
>((*i).m_ls);
79 for (TEveProjectable::ProjList_i
j = pable->BeginProjecteds();
j != pable->EndProjecteds(); ++
j)
81 (*j)->UpdateProjection();
90 using namespace TMath;
97 TEveScalableStraightLineSet*
marker =
new TEveScalableStraightLineSet(
"MET marker" );
120 double r2 = r1 - 0.1;
121 double dy = 0.05*
size;
143 double r2 = r1 - 0.1;
144 double dy = 0.05*
size;
153 double min_phi =
phi-
M_PI/36/2;
154 double max_phi =
phi+
M_PI/36/2;
155 TEveGeoManagerHolder gmgr(TEveGeoShape::GetGeoMangeur());
157 element->SetPickable( kTRUE );
161 marker->SetScale(caloScale->getScaleFactor3D()*(caloScale->getPlotEt() ? met.
et() : met.
energy()));
static float caloTransEta()
virtual double energy() const GCC11_FINAL
energy
const fireworks::Context & context() const
float getScaleFactor3D() const
std::vector< fireworks::scaleMarker > m_lines
virtual double et() const GCC11_FINAL
transverse energy
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
tuple met
____________________________________________________________________________||
static const int kAllRPZBits
void voteMaxEtAndEnergy(float Et, float energy) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Sin< T >::type sin(const T &t)
FWViewEnergyScale * getEnergyScale() const
Geom::Theta< T > theta() const
virtual double theta() const GCC11_FINAL
momentum polar angle
virtual bool havePerViewProduct(FWViewType::EType) const
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
Cos< T >::type cos(const T &t)
static float caloR1(bool offset=true)
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
void addRhoZEnergyProjection(FWProxyBuilderBase *, TEveElement *, double r_ecal, double z_ecal, double theta_min, double theta_max, double phi)
REGISTER_PROXYBUILDER_METHODS()
const FWMETProxyBuilder & operator=(const FWMETProxyBuilder &)
virtual void cleanLocal()
virtual void buildViewType(const reco::MET &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType type, const FWViewContext *)
static float caloZ1(bool offset=true)
virtual void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc)
virtual ~FWMETProxyBuilder()
virtual bool haveSingleProduct() const
TEveGeoShape * getShape(const char *name, TGeoBBox *shape, Color_t color)
tuple size
Write out results.