CMS 3D CMS Logo

FWL1JetParticleLegoProxyBuilder.cc
Go to the documentation of this file.
1 /*
2  * FWL1JetParticleLegoProxyBuilder.cc
3  * FWorks
4  *
5  * Created by Ianna Osborne on 9/3/10.
6  *
7  */
8 
11 
13 
14 class FWL1JetParticleLegoProxyBuilder : public FWSimpleProxyBuilderTemplate<l1extra::L1JetParticle>
15 {
16 public:
19 
21 
22 private:
24  const FWL1JetParticleLegoProxyBuilder& operator=(const FWL1JetParticleLegoProxyBuilder&) = delete; // stop default
25 
27  void build( const l1extra::L1JetParticle& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext*) override;
28 };
29 
30 void
31 FWL1JetParticleLegoProxyBuilder::build( const l1extra::L1JetParticle& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext*)
32 {
33  fireworks::addCircle( iData.eta(), iData.phi(), 0.5, 6, &oItemHolder, this );
34 }
35 
const FWL1JetParticleLegoProxyBuilder & operator=(const FWL1JetParticleLegoProxyBuilder &)=delete
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
double eta() const final
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
double phi() const final
momentum azimuthal angle