Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Fireworks
Calo
plugins
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
9
#include "
Fireworks/Core/interface/FWSimpleProxyBuilderTemplate.h
"
10
#include "
Fireworks/Core/interface/BuilderUtils.h
"
11
12
#include "
DataFormats/L1Trigger/interface/L1EtMissParticle.h
"
13
14
class
FWL1EtMissParticleGlimpseProxyBuilder
:
public
FWSimpleProxyBuilderTemplate
<l1extra::L1EtMissParticle>
15
{
16
public
:
17
FWL1EtMissParticleGlimpseProxyBuilder
(
void
) {}
18
virtual
~FWL1EtMissParticleGlimpseProxyBuilder
(
void
) {}
19
20
REGISTER_PROXYBUILDER_METHODS
();
21
22
private
:
23
FWL1EtMissParticleGlimpseProxyBuilder
(
const
FWL1EtMissParticleGlimpseProxyBuilder
& );
// stop default
24
const
FWL1EtMissParticleGlimpseProxyBuilder
&
operator=
(
const
FWL1EtMissParticleGlimpseProxyBuilder
& );
// stop default
25
26
using
FWSimpleProxyBuilderTemplate<l1extra::L1EtMissParticle>::build
;
27
virtual
void
build
(
const
l1extra::L1EtMissParticle
& iData,
unsigned
int
iIndex, TEveElement& oItemHolder,
const
FWViewContext
* );
28
};
29
30
void
31
FWL1EtMissParticleGlimpseProxyBuilder::build
(
const
l1extra::L1EtMissParticle
& iData,
unsigned
int
iIndex, TEveElement& oItemHolder ,
const
FWViewContext
* )
32
{
33
fireworks::addDashedArrow
( iData.
phi
(), iData.
et
(), &oItemHolder, this );
34
}
35
36
REGISTER_FWPROXYBUILDER
(
FWL1EtMissParticleGlimpseProxyBuilder
,
l1extra::L1EtMissParticle
,
"L1EtMissParticle"
,
FWViewType::kGlimpseBit
);
37
FWL1EtMissParticleGlimpseProxyBuilder::operator=
const FWL1EtMissParticleGlimpseProxyBuilder & operator=(const FWL1EtMissParticleGlimpseProxyBuilder &)
FWSimpleProxyBuilderTemplate.h
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition:
register_dataproxybuilder_macro.h:28
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition:
FWProxyBuilderFactory.h:33
reco::LeafCandidate::et
virtual double et() const
transverse energy
Definition:
LeafCandidate.h:112
l1extra::L1EtMissParticle
Definition:
L1EtMissParticle.h:27
FWL1EtMissParticleGlimpseProxyBuilder
Definition:
FWL1EtMissParticleGlimpseProxyBuilder.cc:14
FWViewContext
Definition:
FWViewContext.h:32
L1EtMissParticle.h
FWViewType::kGlimpseBit
Definition:
FWViewType.h:49
fireworks::addDashedArrow
void addDashedArrow(double phi, double size, TEveElement *comp, FWProxyBuilderBase *pb)
Definition:
BuilderUtils.cc:174
FWProxyBuilderBase::build
void build()
Definition:
FWProxyBuilderBase.cc:131
BuilderUtils.h
FWL1EtMissParticleGlimpseProxyBuilder::FWL1EtMissParticleGlimpseProxyBuilder
FWL1EtMissParticleGlimpseProxyBuilder(void)
Definition:
FWL1EtMissParticleGlimpseProxyBuilder.cc:17
FWL1EtMissParticleGlimpseProxyBuilder::~FWL1EtMissParticleGlimpseProxyBuilder
virtual ~FWL1EtMissParticleGlimpseProxyBuilder(void)
Definition:
FWL1EtMissParticleGlimpseProxyBuilder.cc:18
reco::LeafCandidate::phi
virtual double phi() const
momentum azimuthal angle
Definition:
LeafCandidate.h:133
FWSimpleProxyBuilderTemplate
Definition:
FWSimpleProxyBuilderTemplate.h:29
Generated for CMSSW Reference Manual by
1.8.5