12 #include "TEveCompound.h"
13 #include "TEveTrack.h"
14 #include "TEveScalableStraightLineSet.h"
59 m_common =
new TEveElementList(
"common electron scene" );
73 for (
int i = 0; i < static_cast<int>(
item()->
size()); ++
i)
83 context().getTrackPropagator());
102 TEveElement::List_i trkIt = tracks->BeginChildren();
103 std::advance(trkIt, iIndex);
146 TEveScalableStraightLineSet*
marker =
new TEveScalableStraightLineSet(
"",
"");
147 marker->SetLineWidth(2);
const fireworks::Context & context() const
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
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
virtual void buildViewType(const reco::GsfElectron &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType type, const FWViewContext *) override
TEveElementList * m_common
TEveTrackPropagator * getTrackPropagator() const
const FWEventItem * item() const
static const int kAll3DBits
const FWElectronGlimpseProxyBuilder & operator=(const FWElectronGlimpseProxyBuilder &)
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
virtual SuperClusterRef superCluster() const
reference to a SuperCluster
const reco::GsfElectron & modelData(int index)
void addStraightLineSegment(TEveStraightLineSet *marker, reco::Candidate const *cand, double scale_factor=2)
bool makeRhoZSuperCluster(FWProxyBuilderBase *, const reco::SuperClusterRef &iCluster, float iPhi, TEveElement &oItemHolder)
REGISTER_PROXYBUILDER_METHODS()
virtual void cleanLocal() override
TEveElementList * requestCommon()
virtual ~FWElectronGlimpseProxyBuilder()
FWElectronGlimpseProxyBuilder()
bool makeRhoPhiSuperCluster(FWProxyBuilderBase *, const reco::SuperClusterRef &iCluster, float iPhi, TEveElement &oItemHolder)
const FWElectronProxyBuilder & operator=(const FWElectronProxyBuilder &)
TEveTrack * prepareCandidate(const reco::Candidate &track, TEveTrackPropagator *propagator)
virtual ~FWElectronProxyBuilder()
REGISTER_PROXYBUILDER_METHODS()
volatile std::atomic< bool > shutdown_flag false
virtual bool haveSingleProduct() const override
virtual GsfTrackRef gsfTrack() const
reference to a GsfTrack
void setupElement(TEveElement *el, bool color=true) const