CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWJetLegoProxyBuilder.cc
Go to the documentation of this file.
4 
6 {
7 public:
9  virtual ~FWJetLegoProxyBuilder() {}
10 
12 
13 protected:
15  virtual void build(const reco::Jet& iData, unsigned int iIndex, TEveElement& oItemHolder,
16  const FWViewContext*);
17 
18 private:
19  FWJetLegoProxyBuilder( const FWJetLegoProxyBuilder& ); // stop default
20  const FWJetLegoProxyBuilder& operator=( const FWJetLegoProxyBuilder& ); // 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_)
Base class for all types of Jets.
Definition: Jet.h:20
virtual double eta() const
momentum pseudorapidity
void addCircle(double eta, double phi, double radius, const unsigned int nLineSegments, TEveElement *comp, FWProxyBuilderBase *pb)
static const int kAllLegoBits
Definition: FWViewType.h:60
const FWJetLegoProxyBuilder & operator=(const FWJetLegoProxyBuilder &)
virtual double phi() const
momentum azimuthal angle