CMS 3D CMS Logo

FWMETGlimpseProxyBuilder.cc
Go to the documentation of this file.
1 /*
2  * FWMETGlimpseProxyBuilder.cc
3  * FWorks
4  *
5  * Created by Ianna Osborne on 9/3/10.
6  *
7  */
8 
11 
13 
15 public:
17  ~FWMETGlimpseProxyBuilder(void) override {}
18 
20 
21 private:
22  FWMETGlimpseProxyBuilder(const FWMETGlimpseProxyBuilder&) = delete; // stop default
23  const FWMETGlimpseProxyBuilder& operator=(const FWMETGlimpseProxyBuilder&) = delete; // stop default
24 
26  void build(const reco::MET& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext*) override;
27 };
28 
30  unsigned int iIndex,
31  TEveElement& oItemHolder,
32  const FWViewContext*) {
33  fireworks::addDashedArrow(iData.phi(), iData.et(), &oItemHolder, this);
34 }
35 
FWSimpleProxyBuilderTemplate.h
FWMETGlimpseProxyBuilder::FWMETGlimpseProxyBuilder
FWMETGlimpseProxyBuilder(void)
Definition: FWMETGlimpseProxyBuilder.cc:16
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:27
BuilderUtils.h
FWViewType::kGlimpseBit
Definition: FWViewType.h:58
reco::MET
Definition: MET.h:41
FWMETGlimpseProxyBuilder::~FWMETGlimpseProxyBuilder
~FWMETGlimpseProxyBuilder(void) override
Definition: FWMETGlimpseProxyBuilder.cc:17
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
FWViewContext
Definition: FWViewContext.h:32
reco::LeafCandidate::et
double et() const final
transverse energy
Definition: LeafCandidate.h:127
MET.h
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
FWSimpleProxyBuilderTemplate
Definition: FWSimpleProxyBuilderTemplate.h:30
FWMETGlimpseProxyBuilder
Definition: FWMETGlimpseProxyBuilder.cc:14
FWMETGlimpseProxyBuilder::operator=
const FWMETGlimpseProxyBuilder & operator=(const FWMETGlimpseProxyBuilder &)=delete
fireworks::addDashedArrow
void addDashedArrow(double phi, double size, TEveElement *comp, FWProxyBuilderBase *pb)
Definition: BuilderUtils.cc:180