CMS 3D CMS Logo

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 public:
18 
20 
21 private:
23  const FWL1MuonParticleLegoProxyBuilder& operator=(const FWL1MuonParticleLegoProxyBuilder&) = delete; // stop default
24 
26  void build(const l1extra::L1MuonParticle& iData,
27  unsigned int iIndex,
28  TEveElement& oItemHolder,
29  const FWViewContext*) override;
30 };
31 
33  unsigned int iIndex,
34  TEveElement& oItemHolder,
35  const FWViewContext*) {
36  fireworks::addCircle(iData.eta(), iData.phi(), 0.5, 10, &oItemHolder, this);
37 }
38 
41  "L1MuonParticle",
FWSimpleProxyBuilderTemplate.h
FWL1MuonParticleLegoProxyBuilder
Definition: FWL1MuonParticleLegoProxyBuilder.cc:14
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition: FWProxyBuilderFactory.h:33
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition: register_dataproxybuilder_macro.h:28
BuilderUtils.h
FWL1MuonParticleLegoProxyBuilder::operator=
const FWL1MuonParticleLegoProxyBuilder & operator=(const FWL1MuonParticleLegoProxyBuilder &)=delete
FWViewType::kAllLegoBits
static const int kAllLegoBits
Definition: FWViewType.h:69
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
fireworks::addCircle
void addCircle(double eta, double phi, double radius, const unsigned int nLineSegments, TEveElement *comp, FWProxyBuilderBase *pb)
Definition: BuilderUtils.cc:161
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
FWViewContext
Definition: FWViewContext.h:32
FWL1MuonParticleLegoProxyBuilder::FWL1MuonParticleLegoProxyBuilder
FWL1MuonParticleLegoProxyBuilder(void)
Definition: FWL1MuonParticleLegoProxyBuilder.cc:16
L1MuonParticle.h
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
l1extra::L1MuonParticle
Definition: L1MuonParticle.h:27
FWSimpleProxyBuilderTemplate
Definition: FWSimpleProxyBuilderTemplate.h:30
FWL1MuonParticleLegoProxyBuilder::~FWL1MuonParticleLegoProxyBuilder
~FWL1MuonParticleLegoProxyBuilder(void) override
Definition: FWL1MuonParticleLegoProxyBuilder.cc:17