CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWL1MuonParticleLegoProxyBuilder.cc
Go to the documentation of this file.
1 /*
2  * FWL1MuonParticleLegoProxyBuilder.cc
3  * FWorks
4  *
5  * Created by Ianna Osborne on 9/3/10.
6  *
7  */
8 
11 
13 
14 class FWL1MuonParticleLegoProxyBuilder : public FWSimpleProxyBuilderTemplate<l1extra::L1MuonParticle>
15 {
16 public:
19 
21 
22 private:
25 
26  virtual void build( const l1extra::L1MuonParticle& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* );
27 };
28 
29 void
30 FWL1MuonParticleLegoProxyBuilder::build( const l1extra::L1MuonParticle& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* )
31 {
32  fireworks::addCircle( iData.eta(), iData.phi(), 0.5, 10, &oItemHolder, this );
33 }
34 
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
virtual double eta() const
momentum pseudorapidity
const FWL1MuonParticleLegoProxyBuilder & operator=(const FWL1MuonParticleLegoProxyBuilder &)
void addCircle(double eta, double phi, double radius, const unsigned int nLineSegments, TEveElement *comp, FWProxyBuilderBase *pb)
static const int kAllLegoBits
Definition: FWViewType.h:58
virtual double phi() const
momentum azimuthal angle