25 #include "TEveArrow.h" 26 #include "TEveScalableStraightLineSet.h" 45 Float_t xo, Float_t yo, Float_t zo=0) :
46 TEveArrow(x, y, z, xo, yo, zo),
47 m_et(0), m_energy(0), m_vc(
nullptr) {}
51 static float maxW = 3;
109 if ( vc == (*i)->m_vc)
111 (*i)->setScale(caloScale);
133 arrow->SetConeL(0.15);
134 arrow->SetConeR(0.06);
static float caloTransEta()
const fireworks::Context & context() const
float getScaleFactor3D() const
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
double eta() const final
momentum pseudorapidity
~FWMET3DProxyBuilder() override
double theta() const final
momentum polar angle
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
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
static const int kAll3DBits
void setScale(FWViewEnergyScale *caloScale)
std::vector< Arrow * > m_arrows
bool havePerViewProduct(FWViewType::EType) const override
double et() const final
transverse energy
Cos< T >::type cos(const T &t)
double energy() const final
energy
static float caloR1(bool offset=true)
const FWMET3DProxyBuilder & operator=(const FWMET3DProxyBuilder &)=delete
Arrow(Float_t x, Float_t y, Float_t z, Float_t xo, Float_t yo, Float_t zo=0)
void cleanLocal() override
static float caloZ1(bool offset=true)
const FWViewContext * m_vc
double phi() const final
momentum azimuthal angle