Go to the documentation of this file.
12 #include "TEveCompound.h"
13 #include "TEveTrack.h"
14 #include "TEveScalableStraightLineSet.h"
47 TEveElement& oItemHolder,
66 m_common =
new TEveElementList(
"common electron scene");
81 if (
m_common->HasChildren() ==
false) {
83 for (
int i = 0; i < static_cast<int>(
item()->
size()); ++
i) {
86 TEveTrack*
track(
nullptr);
87 if (
electron.gsfTrack().isAvailable())
104 TEveElement& oItemHolder,
108 TEveElement::List_i trkIt =
tracks->BeginChildren();
109 std::advance(trkIt, iIndex);
144 TEveElement& oItemHolder,
150 TEveElement& oItemHolder,
152 TEveScalableStraightLineSet* marker =
new TEveScalableStraightLineSet(
"",
"");
153 marker->SetLineWidth(2);
bool haveSingleProduct() const override
~FWElectronGlimpseProxyBuilder() override
void addStraightLineSegment(TEveStraightLineSet *marker, reco::Candidate const *cand, double scale_factor=2)
FWProxyBuilderConfiguration * getConfig() const
void setupElement(TEveElement *el, bool color=true) const
TEveElementList * requestCommon()
static const int kAllRPZBits
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
#define REGISTER_PROXYBUILDER_METHODS()
const reco::GsfElectron & modelData(int index)
static const int kAll3DBits
FWGenericParameter< T > * assertParam(const std::string &name, T def)
FWElectronGlimpseProxyBuilder()
bool makeRhoZSuperCluster(FWProxyBuilderBase *, const reco::SuperClusterRef &iCluster, float iPhi, TEveElement &oItemHolder)
~FWElectronProxyBuilder() override
TEveTrack * prepareTrack(const reco::Track &track, TEveTrackPropagator *propagator, const std::vector< TEveVector > &extraRefPoints=std::vector< TEveVector >())
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const FWElectronProxyBuilder & operator=(const FWElectronProxyBuilder &)=delete
bool makeRhoPhiSuperCluster(FWProxyBuilderBase *, const reco::SuperClusterRef &iCluster, float iPhi, TEveElement &oItemHolder)
const FWEventItem * item() const
virtual void cleanLocal()
const FWElectronGlimpseProxyBuilder & operator=(const FWElectronGlimpseProxyBuilder &)=delete
T value(const std::string &name)
TEveTrack * prepareCandidate(const reco::Candidate &track, TEveTrackPropagator *propagator)
TEveTrackPropagator * getTrackPropagator() const
void setItem(const FWEventItem *iItem) override
const fireworks::Context & context() const
virtual bool haveSingleProduct() const
void buildViewType(const reco::GsfElectron &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType type, const FWViewContext *) override
virtual void setItem(const FWEventItem *iItem)
TEveElementList * m_common
void cleanLocal() override