CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWMETLegoProxyBuilder.cc
Go to the documentation of this file.
1 /*
2  * FWMETLegoProxyBuilder.cc
3  * FWorks
4  *
5  * Created by Ianna Osborne on 9/3/10.
6  *
7  */
8 
11 
13 
15 {
16 public:
18  virtual ~FWMETLegoProxyBuilder( void ) {}
19 
21 
22 private:
23  FWMETLegoProxyBuilder( const FWMETLegoProxyBuilder& ); // stop default
24  const FWMETLegoProxyBuilder& operator=( const FWMETLegoProxyBuilder& ); // stop default
25 
27  virtual void build( const reco::MET& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* );
28 };
29 
30 void
31 FWMETLegoProxyBuilder::build( const reco::MET& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* )
32 {
33  fireworks::addDoubleLines( iData.phi(), &oItemHolder, this );
34 }
35 
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
void addDoubleLines(double phi, TEveElement *comp, FWProxyBuilderBase *pb)
virtual float phi() const
momentum azimuthal angle
virtual ~FWMETLegoProxyBuilder(void)
Definition: MET.h:42
static const int kAllLegoBits
Definition: FWViewType.h:60
const FWMETLegoProxyBuilder & operator=(const FWMETLegoProxyBuilder &)