CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWL1MuonParticleProxyBuilder.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Calo
4 // Class : FWL1MuonParticleProxyBuilder
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author:
10 // Created: Sun Jan 6 23:57:00 EST 2008
11 // $Id: FWL1MuonParticleProxyBuilder.cc,v 1.10 2010/09/16 15:42:20 yana Exp $
12 //
13 
16 
18 
19 class FWL1MuonParticleProxyBuilder : public FWSimpleProxyBuilderTemplate<l1extra::L1MuonParticle>
20 {
21 public:
23  virtual ~FWL1MuonParticleProxyBuilder( void ) {}
24 
26 
27 private:
30 
31  virtual void build( const l1extra::L1MuonParticle& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* );
32 };
33 
34 void
35 FWL1MuonParticleProxyBuilder::build( const l1extra::L1MuonParticle& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* )
36 {
37  double scale = 10;
38 
39  fireworks::addDashedLine( iData.phi(), iData.theta(), iData.pt() * scale, &oItemHolder, this );
40 }
41 
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
Definition: FWViewType.h:59
const FWL1MuonParticleProxyBuilder & operator=(const FWL1MuonParticleProxyBuilder &)
virtual double theta() const GCC11_FINAL
momentum polar angle
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
void addDashedLine(double phi, double theta, double size, TEveElement *comp, FWProxyBuilderBase *pb)
virtual float pt() const GCC11_FINAL
transverse momentum