CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  FWMETGlimpseProxyBuilder(const FWMETGlimpseProxyBuilder&) = delete; // stop default
22  const FWMETGlimpseProxyBuilder& operator=(const FWMETGlimpseProxyBuilder&) = delete; // stop default
23 
24 private:
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 
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition: MET.h:41
void addDashedArrow(double phi, double size, TEveElement *comp, FWProxyBuilderBase *pb)
const FWMETGlimpseProxyBuilder & operator=(const FWMETGlimpseProxyBuilder &)=delete
double et() const final
transverse energy
double phi() const final
momentum azimuthal angle