Go to the documentation of this file.
14 #include "TEveGeoNode.h"
15 #include "TEveScalableStraightLineSet.h"
58 TEveElement& oItemHolder,
62 std::vector<fireworks::scaleMarker>
m_lines;
66 typedef std::vector<fireworks::scaleMarker> Lines_t;
71 if (vc == (*i).m_vc) {
77 TEveProjectable* pable = static_cast<TEveProjectable*>((*i).m_ls);
78 for (TEveProjectable::ProjList_i
j = pable->BeginProjecteds();
j != pable->EndProjecteds(); ++
j) {
79 (*j)->UpdateProjection();
87 TEveElement& oItemHolder,
90 using namespace TMath;
97 TEveScalableStraightLineSet* marker =
new TEveScalableStraightLineSet(
"MET marker");
98 marker->SetLineWidth(2);
113 double r2 =
r1 - 0.1;
136 marker->SetScaleCenter(r0 *
cos(
phi), r0 *
sin(
phi), 0);
140 double r2 =
r1 - 0.1;
148 double min_phi =
phi -
M_PI / 36 / 2;
149 double max_phi =
phi +
M_PI / 36 / 2;
150 TEveGeoManagerHolder gmgr(TEveGeoShape::GetGeoMangeur());
151 TEveGeoShape* element =
153 element->SetPickable(kTRUE);
bool haveSingleProduct() const override
std::vector< fireworks::scaleMarker > m_lines
static const int kAllRPZBits
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
#define REGISTER_PROXYBUILDER_METHODS()
void buildViewType(const reco::MET &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType type, const FWViewContext *) override
TEveGeoShape * getShape(const char *name, TGeoBBox *shape, Color_t color)
Sin< T >::type sin(const T &t)
const FWMETProxyBuilder & operator=(const FWMETProxyBuilder &)=delete
Cos< T >::type cos(const T &t)
void voteMaxEtAndEnergy(float Et, float energy) const
static float caloTransEta()
Geom::Theta< T > theta() const
void addRhoZEnergyProjection(FWProxyBuilderBase *, TEveElement *, double r_ecal, double z_ecal, double theta_min, double theta_max, double phi)
~FWMETProxyBuilder() override
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
float getScaleFactor3D() const
void cleanLocal() override
static float caloZ1(bool offset=true)
const fireworks::Context & context() const
FWViewEnergyScale * getEnergyScale() const
static float caloR1(bool offset=true)
bool havePerViewProduct(FWViewType::EType) const override