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:
14  virtual void build(const reco::Jet& iData, unsigned int iIndex, TEveElement& oItemHolder,
15  const FWViewContext*);
16 
17 private:
18  FWJetLegoProxyBuilder( const FWJetLegoProxyBuilder& ); // stop default
19  const FWJetLegoProxyBuilder& operator=( const FWJetLegoProxyBuilder& ); // stop default
20 };
21 
22 void
23 FWJetLegoProxyBuilder::build(const reco::Jet& iData, unsigned int iIndex, TEveElement& oItemHolder,
24  const FWViewContext*)
25 {
26  fireworks::addCircle( iData.eta(), iData.phi(), 0.5, 20, &oItemHolder, this );
27 }
28 
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Base class for all types of Jets.
Definition: Jet.h:21
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:58
const FWJetLegoProxyBuilder & operator=(const FWJetLegoProxyBuilder &)
virtual double phi() const
momentum azimuthal angle