CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWL1JetParticleProxyBuilder.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Calo
4 // Class : FWL1JetParticleProxyBuilder
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author:
10 // Created: Sun Jan 6 23:57:00 EST 2008
11 //
12 
15 
17 
18 class FWL1JetParticleProxyBuilder : public FWSimpleProxyBuilderTemplate<l1extra::L1JetParticle>
19 {
20 public:
22  virtual ~FWL1JetParticleProxyBuilder( void ) {}
23 
25 
26 private:
28  const FWL1JetParticleProxyBuilder& operator=( const FWL1JetParticleProxyBuilder& ); // stop default
29 
30  virtual void build( const l1extra::L1JetParticle& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* );
31 };
32 
33 void
34 FWL1JetParticleProxyBuilder::build( const l1extra::L1JetParticle& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* )
35 {
36  double scale = 10;
37 
38  fireworks::addDashedLine( iData.phi(), iData.theta(), iData.pt() * scale, &oItemHolder, this );
39 }
40 
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
Definition: FWViewType.h:58
const FWL1JetParticleProxyBuilder & operator=(const FWL1JetParticleProxyBuilder &)
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