CMS 3D CMS Logo

FWJetLegoProxyBuilder.cc
Go to the documentation of this file.
4 
6 public:
8  ~FWJetLegoProxyBuilder() override {}
9 
11 
12 protected:
14  void build(const reco::Jet& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext*) override;
15 
16 private:
17  FWJetLegoProxyBuilder(const FWJetLegoProxyBuilder&) = delete; // stop default
18  const FWJetLegoProxyBuilder& operator=(const FWJetLegoProxyBuilder&) = delete; // stop default
19 };
20 
22  unsigned int iIndex,
23  TEveElement& oItemHolder,
24  const FWViewContext*) {
25  fireworks::addCircle(iData.eta(), iData.phi(), 0.5, 20, &oItemHolder, this);
26 }
27 
FWJetLegoProxyBuilder::~FWJetLegoProxyBuilder
~FWJetLegoProxyBuilder() override
Definition: FWJetLegoProxyBuilder.cc:8
reco::Jet
Base class for all types of Jets.
Definition: Jet.h:20
FWSimpleProxyBuilderTemplate.h
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition: FWProxyBuilderFactory.h:33
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition: register_dataproxybuilder_macro.h:28
Jet.h
BuilderUtils.h
FWJetLegoProxyBuilder::FWJetLegoProxyBuilder
FWJetLegoProxyBuilder()
Definition: FWJetLegoProxyBuilder.cc:7
FWJetLegoProxyBuilder::operator=
const FWJetLegoProxyBuilder & operator=(const FWJetLegoProxyBuilder &)=delete
FWViewType::kLegoHFBit
Definition: FWViewType.h:56
FWViewType::kAllLegoBits
static const int kAllLegoBits
Definition: FWViewType.h:69
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
fireworks::addCircle
void addCircle(double eta, double phi, double radius, const unsigned int nLineSegments, TEveElement *comp, FWProxyBuilderBase *pb)
Definition: BuilderUtils.cc:161
FWJetLegoProxyBuilder
Definition: FWJetLegoProxyBuilder.cc:5
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
FWViewContext
Definition: FWViewContext.h:32
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
FWSimpleProxyBuilderTemplate
Definition: FWSimpleProxyBuilderTemplate.h:30