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
ParticleFlow
interface
FWPFRhoPhiRecHit.h
Go to the documentation of this file.
1
#ifndef _FWPFRHOPHIRECHIT_H_
2
#define _FWPFRHOPHIRECHIT_H_
3
4
// -*- C++ -*-
5
//
6
// Package: ParticleFlow
7
// Class : FWPFRhoPhiRecHit
8
//
9
// Implementation:
10
// <Notes on implementation>
11
//
12
// Original Author: Simon Harris
13
//
14
15
// System include files
16
#include <cmath>
17
#include "TEveScalableStraightLineSet.h"
18
#include "TEveCompound.h"
19
20
// User include files
21
#include "
Fireworks/Core/interface/FWProxyBuilderBase.h
"
22
#include "
Fireworks/Core/interface/FWViewContext.h
"
23
#include "
Fireworks/Core/interface/FWViewEnergyScale.h
"
24
25
//-----------------------------------------------------------------------------
26
// FWPFRhoPhiRecHit
27
//-----------------------------------------------------------------------------
28
class
FWPFRhoPhiRecHit
{
29
public
:
30
// ---------------- Constructor(s)/Destructor ----------------------
31
FWPFRhoPhiRecHit
(
FWProxyBuilderBase
*pb,
32
TEveElement *iH,
33
const
FWViewContext
*vc,
34
float
E,
35
float
et
,
36
double
lPhi,
37
double
rPhi,
38
std::vector<TEveVector> &bCorners);
39
virtual
~FWPFRhoPhiRecHit
();
40
41
// --------------------- Member Functions --------------------------
42
void
updateScale
(TEveScalableStraightLineSet *
ls
, Double_t
scale
,
unsigned
int
i
);
43
void
updateScale
(
const
FWViewContext
*vc);
44
void
addChild
(
FWProxyBuilderBase
*pb, TEveElement *itemHolder,
const
FWViewContext
*vc,
float
E,
float
et
);
45
void
buildRecHit
(
FWProxyBuilderBase
*pb,
46
TEveElement *itemHolder,
47
const
FWViewContext
*vc,
48
std::vector<TEveVector> &bCorners);
49
void
clean
();
50
51
// ----------------------Accessor Methods --------------------------
52
Double_t
getlPhi
() {
return
m_lPhi
; }
53
TEveScalableStraightLineSet *
getLineSet
() {
return
m_ls
; }
54
void
setHasChild
(
bool
b
) {
m_hasChild
=
b
; }
55
void
setCorners
(
int
i
, TEveVector vec) {
m_corners
[
i
] = vec; }
56
57
private
:
58
FWPFRhoPhiRecHit
(
const
FWPFRhoPhiRecHit
&);
// Stop default copy constructor
59
FWPFRhoPhiRecHit
&
operator=
(
const
FWPFRhoPhiRecHit
&);
// Stop default assignment operator
60
61
// ----------------------- Data Members ----------------------------
62
bool
m_hasChild
;
63
float
m_energy
;
64
float
m_et
;
65
Double_t
m_lPhi
;
66
Double_t
m_rPhi
;
67
TEveScalableStraightLineSet *
m_ls
;
68
FWPFRhoPhiRecHit
*
m_child
;
69
std::vector<TEveVector>
m_corners
;
70
};
71
#endif
72
//=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
FWPFRhoPhiRecHit::FWPFRhoPhiRecHit
FWPFRhoPhiRecHit(FWProxyBuilderBase *pb, TEveElement *iH, const FWViewContext *vc, float E, float et, double lPhi, double rPhi, std::vector< TEveVector > &bCorners)
Definition:
FWPFRhoPhiRecHit.cc:4
eostools.ls
def ls(path, rec=False)
Definition:
eostools.py:349
mps_fire.i
i
Definition:
mps_fire.py:428
L1EGammaCrystalsEmulatorProducer_cfi.scale
scale
Definition:
L1EGammaCrystalsEmulatorProducer_cfi.py:10
FWPFRhoPhiRecHit::buildRecHit
void buildRecHit(FWProxyBuilderBase *pb, TEveElement *itemHolder, const FWViewContext *vc, std::vector< TEveVector > &bCorners)
Definition:
FWPFRhoPhiRecHit.cc:119
FWProxyBuilderBase.h
FWPFRhoPhiRecHit::m_et
float m_et
Definition:
FWPFRhoPhiRecHit.h:64
FWPFRhoPhiRecHit::~FWPFRhoPhiRecHit
virtual ~FWPFRhoPhiRecHit()
Definition:
FWPFRhoPhiRecHit.cc:17
FWPFRhoPhiRecHit::addChild
void addChild(FWProxyBuilderBase *pb, TEveElement *itemHolder, const FWViewContext *vc, float E, float et)
Definition:
FWPFRhoPhiRecHit.cc:105
FWPFRhoPhiRecHit::updateScale
void updateScale(TEveScalableStraightLineSet *ls, Double_t scale, unsigned int i)
FWPFRhoPhiRecHit::m_lPhi
Double_t m_lPhi
Definition:
FWPFRhoPhiRecHit.h:65
FWPFRhoPhiRecHit::m_hasChild
bool m_hasChild
Definition:
FWPFRhoPhiRecHit.h:62
FWViewContext.h
FWPFRhoPhiRecHit::m_child
FWPFRhoPhiRecHit * m_child
Definition:
FWPFRhoPhiRecHit.h:68
b
double b
Definition:
hdecay.h:118
FWPFRhoPhiRecHit::setCorners
void setCorners(int i, TEveVector vec)
Definition:
FWPFRhoPhiRecHit.h:55
FWPFRhoPhiRecHit::operator=
FWPFRhoPhiRecHit & operator=(const FWPFRhoPhiRecHit &)
FWPFRhoPhiRecHit::m_energy
float m_energy
Definition:
FWPFRhoPhiRecHit.h:63
FWPFRhoPhiRecHit::setHasChild
void setHasChild(bool b)
Definition:
FWPFRhoPhiRecHit.h:54
FWPFRhoPhiRecHit::getLineSet
TEveScalableStraightLineSet * getLineSet()
Definition:
FWPFRhoPhiRecHit.h:53
FWPFRhoPhiRecHit::m_ls
TEveScalableStraightLineSet * m_ls
Definition:
FWPFRhoPhiRecHit.h:67
EgHLTOffHistBins_cfi.et
et
Definition:
EgHLTOffHistBins_cfi.py:8
FWPFRhoPhiRecHit::m_corners
std::vector< TEveVector > m_corners
Definition:
FWPFRhoPhiRecHit.h:69
FWViewContext
Definition:
FWViewContext.h:32
FWProxyBuilderBase
Definition:
FWProxyBuilderBase.h:46
FWPFRhoPhiRecHit
Definition:
FWPFRhoPhiRecHit.h:28
FWPFRhoPhiRecHit::getlPhi
Double_t getlPhi()
Definition:
FWPFRhoPhiRecHit.h:52
FWViewEnergyScale.h
FWPFRhoPhiRecHit::clean
void clean()
Definition:
FWPFRhoPhiRecHit.cc:96
FWPFRhoPhiRecHit::m_rPhi
Double_t m_rPhi
Definition:
FWPFRhoPhiRecHit.h:66
Generated for CMSSW Reference Manual by
1.8.16