12 #include "TEveCompound.h" 14 #include "TEveScalableStraightLineSet.h" 51 TEveElement& oItemHolder,
61 m_common =
new TEveElementList(
"common conversion scene");
68 if (
m_common->HasChildren() ==
false) {
69 for (
int i = 0; i < static_cast<int>(
item()->
size()); ++
i) {
71 TEveLine*
line =
new TEveLine(0);
74 line->SetNextPoint(0., 0.,
conversion.zOfPrimaryVertexFromTracks());
76 line->SetNextPoint(0., 0., 0.);
90 line->SetNextPoint(0., 0., 0.);
91 line->SetNextPoint(0., 0., 0.);
106 TEveElement& oItemHolder,
110 TEveElement::List_i linIt =
lines->BeginChildren();
111 std::advance(linIt, iIndex);
112 TEveLine*
line = (TEveLine*)((*linIt)->CloneElement());
113 TEveVector bvec =
line->GetLineStart();
114 TEveVector evec =
line->GetLineEnd();
115 if (bvec.Mag() != evec.Mag())
static float caloTransEta()
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
TEveElementList * requestCommon()
Sin< T >::type sin(const T &t)
static const int kAll3DBits
TEveElementList * m_common
bool haveSingleProduct() const override
const reco::Conversion & modelData(int index)
Cos< T >::type cos(const T &t)
static float caloR1(bool offset=true)
Tan< T >::type tan(const T &t)
FWConversionProxyBuilder()
void setupElement(TEveElement *el, bool color=true) const
void conversion(EventAux const &from, EventAuxiliary &to)
void cleanLocal() override
const FWConversionProxyBuilder & operator=(const FWConversionProxyBuilder &)=delete
static float caloZ1(bool offset=true)
~FWConversionProxyBuilder() override
void buildViewType(const reco::Conversion &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType type, const FWViewContext *) override
const FWEventItem * item() const