CMS 3D CMS Logo

FWL1EtMissParticleGlimpseProxyBuilder.cc
Go to the documentation of this file.
1 /*
2  * FWL1EtMissParticleGlimpseProxyBuilder.cc
3  * FWorks
4  *
5  * Created by Ianna Osborne on 9/3/10.
6  *
7  */
8 
11 
13 
14 class FWL1EtMissParticleGlimpseProxyBuilder : public FWSimpleProxyBuilderTemplate<l1extra::L1EtMissParticle> {
15 public:
18 
20 
23  delete; // stop default
24 
25 private:
27  void build(const l1extra::L1EtMissParticle& iData,
28  unsigned int iIndex,
29  TEveElement& oItemHolder,
30  const FWViewContext*) override;
31 };
32 
34  unsigned int iIndex,
35  TEveElement& oItemHolder,
36  const FWViewContext*) {
37  fireworks::addDashedArrow(iData.phi(), iData.et(), &oItemHolder, this);
38 }
39 
42  "L1EtMissParticle",
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static constexpr unsigned int kGlimpseBit
Definition: FWViewType.h:52
void addDashedArrow(double phi, double size, TEveElement *comp, FWProxyBuilderBase *pb)
double et() const final
transverse energy
double phi() const final
momentum azimuthal angle
const FWL1EtMissParticleGlimpseProxyBuilder & operator=(const FWL1EtMissParticleGlimpseProxyBuilder &)=delete