CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Fireworks/Calo/plugins/FWL1EtMissParticleGlimpseProxyBuilder.cc

Go to the documentation of this file.
00001 /*
00002  *  FWL1EtMissParticleGlimpseProxyBuilder.cc
00003  *  FWorks
00004  *
00005  *  Created by Ianna Osborne on 9/3/10.
00006  *
00007  */
00008 
00009 #include "Fireworks/Core/interface/FWSimpleProxyBuilderTemplate.h"
00010 #include "Fireworks/Core/interface/BuilderUtils.h"
00011 
00012 #include "DataFormats/L1Trigger/interface/L1EtMissParticle.h"
00013 
00014 class FWL1EtMissParticleGlimpseProxyBuilder : public FWSimpleProxyBuilderTemplate<l1extra::L1EtMissParticle>
00015 {
00016 public:
00017    FWL1EtMissParticleGlimpseProxyBuilder( void ) {}
00018    virtual ~FWL1EtMissParticleGlimpseProxyBuilder( void ) {}
00019    
00020    REGISTER_PROXYBUILDER_METHODS();
00021    
00022 private:
00023    FWL1EtMissParticleGlimpseProxyBuilder( const FWL1EtMissParticleGlimpseProxyBuilder& );    // stop default
00024    const FWL1EtMissParticleGlimpseProxyBuilder& operator=( const FWL1EtMissParticleGlimpseProxyBuilder& );    // stop default
00025    
00026    virtual void build( const l1extra::L1EtMissParticle& iData, unsigned int iIndex, TEveElement& oItemHolder, const FWViewContext* );
00027 };
00028 
00029 void
00030 FWL1EtMissParticleGlimpseProxyBuilder::build( const l1extra::L1EtMissParticle& iData, unsigned int iIndex, TEveElement& oItemHolder , const FWViewContext* ) 
00031 {
00032    fireworks::addDashedArrow( iData.phi(), iData.et(), &oItemHolder, this );
00033 }
00034 
00035 REGISTER_FWPROXYBUILDER( FWL1EtMissParticleGlimpseProxyBuilder, l1extra::L1EtMissParticle, "L1EtMissParticle", FWViewType::kGlimpseBit );
00036