Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Fireworks
Calo
plugins
FWL1EmParticleProxyBuilder.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Calo
4
// Class : FWL1EmParticleProxyBuilder
5
//
6
// Implementation:
7
// <Notes on implementation>
8
//
9
// Original Author:
10
// Created: Sun Jan 6 23:57:00 EST 2008
11
//
12
13
#include "
Fireworks/Core/interface/FWSimpleProxyBuilderTemplate.h
"
14
#include "
Fireworks/Core/interface/BuilderUtils.h
"
15
16
#include "
DataFormats/L1Trigger/interface/L1EmParticle.h
"
17
18
class
FWL1EmParticleProxyBuilder
:
public
FWSimpleProxyBuilderTemplate
<l1extra::L1EmParticle> {
19
public
:
20
FWL1EmParticleProxyBuilder
(
void
) {}
21
~FWL1EmParticleProxyBuilder
(
void
)
override
{}
22
23
REGISTER_PROXYBUILDER_METHODS
();
24
25
private
:
26
FWL1EmParticleProxyBuilder
(
const
FWL1EmParticleProxyBuilder
&) =
delete
;
// stop default
27
const
FWL1EmParticleProxyBuilder
&
operator=
(
const
FWL1EmParticleProxyBuilder
&) =
delete
;
// stop default
28
29
using
FWSimpleProxyBuilderTemplate<l1extra::L1EmParticle>::build
;
30
void
build
(
const
l1extra::L1EmParticle
& iData,
31
unsigned
int
iIndex,
32
TEveElement& oItemHolder,
33
const
FWViewContext
*)
override
;
34
};
35
36
void
FWL1EmParticleProxyBuilder::build
(
const
l1extra::L1EmParticle
& iData,
37
unsigned
int
iIndex,
38
TEveElement& oItemHolder,
39
const
FWViewContext
*) {
40
double
scale
= 10;
41
42
fireworks::addDashedLine
(iData.
phi
(), iData.
theta
(), iData.
pt
() *
scale
, &oItemHolder,
this
);
43
}
44
45
REGISTER_FWPROXYBUILDER
(
FWL1EmParticleProxyBuilder
,
l1extra::L1EmParticle
,
"L1EmParticle"
,
FWViewType::kAllRPZBits
);
FWL1EmParticleProxyBuilder::FWL1EmParticleProxyBuilder
FWL1EmParticleProxyBuilder(void)
Definition:
FWL1EmParticleProxyBuilder.cc:20
FWSimpleProxyBuilderTemplate.h
L1EGammaCrystalsEmulatorProducer_cfi.scale
scale
Definition:
L1EGammaCrystalsEmulatorProducer_cfi.py:10
FWViewType::kAllRPZBits
static const int kAllRPZBits
Definition:
FWViewType.h:67
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition:
FWProxyBuilderFactory.h:33
FWL1EmParticleProxyBuilder
Definition:
FWL1EmParticleProxyBuilder.cc:18
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition:
register_dataproxybuilder_macro.h:27
BuilderUtils.h
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition:
LeafCandidate.h:146
FWL1EmParticleProxyBuilder::~FWL1EmParticleProxyBuilder
~FWL1EmParticleProxyBuilder(void) override
Definition:
FWL1EmParticleProxyBuilder.cc:21
fireworks::addDashedLine
void addDashedLine(double phi, double theta, double size, TEveElement *comp, FWProxyBuilderBase *pb)
Definition:
BuilderUtils.cc:190
l1extra::L1EmParticle
Definition:
L1EmParticle.h:28
reco::LeafCandidate::theta
double theta() const final
momentum polar angle
Definition:
LeafCandidate.h:150
FWL1EmParticleProxyBuilder::operator=
const FWL1EmParticleProxyBuilder & operator=(const FWL1EmParticleProxyBuilder &)=delete
L1EmParticle.h
FWProxyBuilderBase::build
void build()
Definition:
FWProxyBuilderBase.cc:110
FWViewContext
Definition:
FWViewContext.h:32
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition:
LeafCandidate.h:148
FWSimpleProxyBuilderTemplate
Definition:
FWSimpleProxyBuilderTemplate.h:30
Generated for CMSSW Reference Manual by
1.8.16