Main Page
Namespaces
Classes
Package Documentation
Fireworks
ParticleFlow
plugins
FWPFCandidateDetailView.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Tracks
4
// Class : FWPFDetailView
5
6
#include "Rtypes.h"
7
8
#include "
Fireworks/Core/interface/FWDetailViewGL.h
"
9
#include "
Fireworks/Core/interface/CSGActionSupervisor.h
"
10
11
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidate.h
"
12
class
TGLEmbeddedViewer;
13
class
FWIntValueListener
;
14
class
TEveCaloLego;
15
16
namespace
reco
{
17
// class PFCandidate;
18
class
PFRecHit;
19
class
PFCluster;
20
class
PFRecTrack;
21
}
22
23
class
FWPFCandidateDetailView
:
public
FWDetailViewGL
<reco::PFCandidate>,
24
public
CSGActionSupervisor
25
{
26
public
:
27
FWPFCandidateDetailView
();
28
virtual
~
FWPFCandidateDetailView
();
29
30
31
protected
:
32
33
private
:
34
FWPFCandidateDetailView
(
const
FWPFCandidateDetailView
&);
// stop default
35
const
FWPFCandidateDetailView
& operator=(
const
FWPFCandidateDetailView
&);
// stop default
36
37
using
FWDetailView<reco::PFCandidate>::build
;
38
void
build (
const
FWModelId
&
id
,
const
reco::PFCandidate
*);
39
void
setTextInfo (
const
FWModelId
&
id
,
const
reco::PFCandidate
*);
40
void
makeLegend(
void
);
41
42
bool
isPntInRng(
float
x
,
float
y);
43
44
void
rangeChanged(
int
x);
45
void
plotEtChanged();
46
void
rnrHcalChanged();
47
48
void
buildGLEventScene();
49
50
void
voteMaxEtEVal(
const
std::vector<reco::PFRecHit> *
hits
);
51
52
void
addHits(
const
std::vector<reco::PFRecHit> *);
53
void
addClusters(
const
std::vector<reco::PFCluster> *);
54
void
addTracks(
const
std::vector<reco::PFRecTrack> *);
55
56
57
float
eta
();
58
float
phi();
59
60
float
etaMin
() {
return
eta
() - m_range; }
61
float
etaMax
() {
return
eta
() + m_range; }
62
float
phiMin
() {
return
phi() - m_range; }
63
float
phiMax
() {
return
phi() + m_range; }
64
65
66
float
m_range
;
67
const
reco::PFCandidate
*
m_candidate
;
68
69
TLegend *
m_legend
;
70
71
TGSlider*
m_slider
;
72
FWIntValueListener
*
m_sliderListener
;
73
74
TEveElementList*
m_eventList
;
75
76
77
bool
m_plotEt
;
78
79
80
bool
m_rnrHcal
;
81
};
FWPFCandidateDetailView::m_sliderListener
FWIntValueListener * m_sliderListener
Definition:
FWPFCandidateDetailView.h:72
FWIntValueListener
Definition:
FWIntValueListener.h:7
stringResolutionProvider_cfi.eta
eta
Definition:
stringResolutionProvider_cfi.py:14
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
FWPFCandidateDetailView
Definition:
FWPFCandidateDetailView.h:23
FWPFCandidateDetailView::phiMax
float phiMax()
Definition:
FWPFCandidateDetailView.h:63
FWPFCandidateDetailView::m_eventList
TEveElementList * m_eventList
Definition:
FWPFCandidateDetailView.h:74
FWPFCandidateDetailView::m_slider
TGSlider * m_slider
Definition:
FWPFCandidateDetailView.h:71
FWModelId
Definition:
FWModelId.h:28
FWPFCandidateDetailView::m_range
float m_range
Definition:
FWPFCandidateDetailView.h:66
x
T x() const
Cartesian x coordinate.
Definition:
Basic3DVectorLD.h:127
CSGActionSupervisor
Definition:
CSGActionSupervisor.h:27
PFCandidate.h
FWPFCandidateDetailView::phiMin
float phiMin()
Definition:
FWPFCandidateDetailView.h:62
FWDetailView
Definition:
FWDetailView.h:14
FWPFCandidateDetailView::etaMax
float etaMax()
Definition:
FWPFCandidateDetailView.h:61
FWPFCandidateDetailView::m_candidate
const reco::PFCandidate * m_candidate
Definition:
FWPFCandidateDetailView.h:67
CSGActionSupervisor.h
reco::PFCandidate
Particle reconstructed by the particle flow algorithm.
Definition:
PFCandidate.h:39
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
FWPFCandidateDetailView::m_legend
TLegend * m_legend
Definition:
FWPFCandidateDetailView.h:69
FWPFCandidateDetailView::m_rnrHcal
bool m_rnrHcal
Definition:
FWPFCandidateDetailView.h:80
FWPFCandidateDetailView::etaMin
float etaMin()
Definition:
FWPFCandidateDetailView.h:60
FWDetailViewGL.h
FWPFCandidateDetailView::m_plotEt
bool m_plotEt
Definition:
FWPFCandidateDetailView.h:77
FWDetailViewGL
Definition:
FWDetailViewGL.h:14
Generated for CMSSW Reference Manual by
1.8.11