CMS 3D CMS Logo

FWJetLegoProxyBuilder.cc
Go to the documentation of this file.
4 
6 {
7 public:
9  ~FWJetLegoProxyBuilder() override {}
10 
12 
13 protected:
15  void build(const reco::Jet& iData, unsigned int iIndex, TEveElement& oItemHolder,
16  const FWViewContext*) override;
17 
18 private:
19  FWJetLegoProxyBuilder( const FWJetLegoProxyBuilder& ) = delete; // stop default
20  const FWJetLegoProxyBuilder& operator=( const FWJetLegoProxyBuilder& ) = delete; // stop default
21 };
22 
23 void
24 FWJetLegoProxyBuilder::build(const reco::Jet& iData, unsigned int iIndex, TEveElement& oItemHolder,
25  const FWViewContext*)
26 {
27  fireworks::addCircle( iData.eta(), iData.phi(), 0.5, 20, &oItemHolder, this );
28 }
29 
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
double eta() const final
momentum pseudorapidity
const FWJetLegoProxyBuilder & operator=(const FWJetLegoProxyBuilder &)=delete
Base class for all types of Jets.
Definition: Jet.h:20
void addCircle(double eta, double phi, double radius, const unsigned int nLineSegments, TEveElement *comp, FWProxyBuilderBase *pb)
static const int kAllLegoBits
Definition: FWViewType.h:60
double phi() const final
momentum azimuthal angle