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
public
:
16
FWL1EtMissParticleGlimpseProxyBuilder
(
void
) {}
17
~FWL1EtMissParticleGlimpseProxyBuilder
(
void
)
override
{}
18
19
REGISTER_PROXYBUILDER_METHODS
();
20
21
private
:
22
FWL1EtMissParticleGlimpseProxyBuilder
(
const
FWL1EtMissParticleGlimpseProxyBuilder
&) =
delete
;
// stop default
23
const
FWL1EtMissParticleGlimpseProxyBuilder
&
operator=
(
const
FWL1EtMissParticleGlimpseProxyBuilder
&) =
24
delete
;
// stop default
25
26
using
FWSimpleProxyBuilderTemplate<l1extra::L1EtMissParticle>::build
;
27
void
build
(
const
l1extra::L1EtMissParticle
& iData,
28
unsigned
int
iIndex,
29
TEveElement& oItemHolder,
30
const
FWViewContext
*)
override
;
31
};
32
33
void
FWL1EtMissParticleGlimpseProxyBuilder::build
(
const
l1extra::L1EtMissParticle
& iData,
34
unsigned
int
iIndex,
35
TEveElement& oItemHolder,
36
const
FWViewContext
*) {
37
fireworks::addDashedArrow
(iData.
phi
(), iData.
et
(), &oItemHolder,
this
);
38
}
39
40
REGISTER_FWPROXYBUILDER
(
FWL1EtMissParticleGlimpseProxyBuilder
,
41
l1extra::L1EtMissParticle
,
42
"L1EtMissParticle"
,
43
FWViewType::kGlimpseBit
);
FWSimpleProxyBuilderTemplate.h
FWL1EtMissParticleGlimpseProxyBuilder::~FWL1EtMissParticleGlimpseProxyBuilder
~FWL1EtMissParticleGlimpseProxyBuilder(void) override
Definition:
FWL1EtMissParticleGlimpseProxyBuilder.cc:17
FWL1EtMissParticleGlimpseProxyBuilder::operator=
const FWL1EtMissParticleGlimpseProxyBuilder & operator=(const FWL1EtMissParticleGlimpseProxyBuilder &)=delete
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition:
FWProxyBuilderFactory.h:33
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition:
register_dataproxybuilder_macro.h:28
BuilderUtils.h
FWL1EtMissParticleGlimpseProxyBuilder::FWL1EtMissParticleGlimpseProxyBuilder
FWL1EtMissParticleGlimpseProxyBuilder(void)
Definition:
FWL1EtMissParticleGlimpseProxyBuilder.cc:16
l1extra::L1EtMissParticle
Definition:
L1EtMissParticle.h:27
FWViewType::kGlimpseBit
Definition:
FWViewType.h:58
FWProxyBuilderBase::build
void build()
Definition:
FWProxyBuilderBase.cc:110
FWViewContext
Definition:
FWViewContext.h:32
reco::LeafCandidate::et
double et() const final
transverse energy
Definition:
LeafCandidate.h:127
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition:
LeafCandidate.h:148
FWSimpleProxyBuilderTemplate
Definition:
FWSimpleProxyBuilderTemplate.h:30
FWL1EtMissParticleGlimpseProxyBuilder
Definition:
FWL1EtMissParticleGlimpseProxyBuilder.cc:14
L1EtMissParticle.h
fireworks::addDashedArrow
void addDashedArrow(double phi, double size, TEveElement *comp, FWProxyBuilderBase *pb)
Definition:
BuilderUtils.cc:180
Generated for CMSSW Reference Manual by
1.8.16