14 #include "TEveGeoNode.h"
15 #include "TEveScalableStraightLineSet.h"
60 std::vector<fireworks::scaleMarker>
m_lines;
66 typedef std::vector<fireworks::scaleMarker> Lines_t;
72 if ( vc == (*i).m_vc )
79 TEveProjectable *pable =
static_cast<TEveProjectable*
>((*i).m_ls);
80 for (TEveProjectable::ProjList_i
j = pable->BeginProjecteds();
j != pable->EndProjecteds(); ++
j)
82 (*j)->UpdateProjection();
91 using namespace TMath;
98 TEveScalableStraightLineSet*
marker =
new TEveScalableStraightLineSet(
"MET marker" );
121 double r2 = r1 - 0.1;
122 double dy = 0.05*
size;
144 double r2 = r1 - 0.1;
145 double dy = 0.05*
size;
154 double min_phi =
phi-
M_PI/36/2;
155 double max_phi =
phi+
M_PI/36/2;
156 TEveGeoManagerHolder gmgr(TEveGeoShape::GetGeoMangeur());
158 element->SetPickable( kTRUE );
162 marker->SetScale(caloScale->getScaleFactor3D()*(caloScale->getPlotEt() ? met.
et() : met.
energy()));
static float caloTransEta()
const fireworks::Context & context() const
float getScaleFactor3D() const
std::vector< fireworks::scaleMarker > m_lines
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
tuple met
____________________________________________________________________________||
static const int kAllRPZBits
virtual double et() const
transverse energy
virtual float phi() const
momentum azimuthal angle
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 bool havePerViewProduct(FWViewType::EType) const
virtual double energy() const
energy
virtual float eta() const
momentum pseudorapidity
Cos< T >::type cos(const T &t)
static float caloR1(bool offset=true)
virtual double theta() const
momentum polar angle
void addRhoZEnergyProjection(FWProxyBuilderBase *, TEveElement *, double r_ecal, double z_ecal, double theta_min, double theta_max, double phi)
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.