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 {
16 public:
18  ~FWMETGlimpseProxyBuilder( void ) override {}
19 
21 
22 private:
23  FWMETGlimpseProxyBuilder( const FWMETGlimpseProxyBuilder& ) = delete; // stop default
24  const FWMETGlimpseProxyBuilder& operator=( const FWMETGlimpseProxyBuilder& ) = delete; // stop default
25 
27  void build( const reco::MET& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* ) override;
28 };
29 
30 void
31 FWMETGlimpseProxyBuilder::build( const reco::MET& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* )
32 {
33  fireworks::addDashedArrow( iData.phi(), iData.et(), &oItemHolder, this );
34 }
35 
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
double et() const final
transverse energy
Definition: MET.h:42
void addDashedArrow(double phi, double size, TEveElement *comp, FWProxyBuilderBase *pb)
const FWMETGlimpseProxyBuilder & operator=(const FWMETGlimpseProxyBuilder &)=delete
double phi() const final
momentum azimuthal angle