CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 {
16 public:
18  virtual ~FWMETGlimpseProxyBuilder( void ) {}
19 
21 
22 private:
23  FWMETGlimpseProxyBuilder( const FWMETGlimpseProxyBuilder& ); // stop default
24  const FWMETGlimpseProxyBuilder& operator=( const FWMETGlimpseProxyBuilder& ); // stop default
25 
26  virtual void build( const reco::MET& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* );
27 };
28 
29 void
30 FWMETGlimpseProxyBuilder::build( const reco::MET& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* )
31 {
32  fireworks::addDashedArrow( iData.phi(), iData.et(), &oItemHolder, this );
33 }
34 
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
virtual double et() const
transverse energy
Definition: MET.h:32
void addDashedArrow(double phi, double size, TEveElement *comp, FWProxyBuilderBase *pb)
virtual double phi() const
momentum azimuthal angle
const FWMETGlimpseProxyBuilder & operator=(const FWMETGlimpseProxyBuilder &)