Main Page
Namespaces
Classes
Package Documentation
Fireworks
Tracks
plugins
FWTrackResidualDetailView.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: TRacks
4
// Class : FWTrackDetailView
5
//
6
// Original Author: Chad Jarvis
7
// Created: Wed Mar 7 09:13:47 EST 2008
8
//
9
// Implementation:
10
// use following table pasted from HitPattern.h
11
//
12
// +-----+-----+-----+-----+-----+-----+-----+-----+----------------+-----+-----+
13
// |tk/mu| sub-structure | sub-sub-structure | stereo | hit type |
14
// +-----+-----+-----+-----+-----+-----+-----+-----+----------------+-----+-----+
15
// | 10 | 9 8 7 | 6 5 4 3 | 2 | 1 0 | bit
16
//
17
// |tk = 1 PXB = 1 layer = 1-3 hit type = 0-3
18
// |tk = 1 PXF = 2 disk = 1-2 hit type = 0-3
19
// |tk = 1 TIB = 3 layer = 1-4 0=rphi,1=stereo hit type = 0-3
20
// |tk = 1 TID = 4 wheel = 1-3 0=rphi,1=stereo hit type = 0-3
21
// |tk = 1 TOB = 5 layer = 1-6 0=rphi,1=stereo hit type = 0-3
22
// |tk = 1 TEC = 6 wheel = 1-9 0=rphi,1=stereo hit type = 0-3
23
// |mu = 0 DT = 1 layer hit type = 0-3
24
// |mu = 0 CSC = 2 layer hit type = 0-3
25
// |mu = 0 RPC = 3 layer hit type = 0-3
26
// |mu = 0 GEM = 3 layer hit type = 0-3
27
//
28
// hit type, see DataFormats/TrackingRecHit/interface/TrackingRecHit.h
29
// valid = valid hit = 0
30
// missing = detector is good, but no rec hit found = 1
31
// inactive = detector is off, so there was no hope = 2
32
// bad = there were many bad strips within the ellipse = 3
33
//
34
35
#include "Rtypes.h"
36
#include "
Fireworks/Core/interface/FWDetailViewCanvas.h
"
37
38
class
FWGeometry
;
39
class
FWModelId
;
40
class
TEveWindowSlot;
41
class
TEveWindow;
42
43
namespace
reco
{
44
class
Track;
45
}
46
47
class
FWTrackResidualDetailView
:
public
FWDetailViewCanvas
<reco::Track> {
48
public
:
49
FWTrackResidualDetailView
();
50
~
FWTrackResidualDetailView
()
override
;
51
52
private
:
53
FWTrackResidualDetailView
(
const
FWTrackResidualDetailView
&) =
delete
;
// stop default
54
const
FWTrackResidualDetailView
&operator=(
const
FWTrackResidualDetailView
&) =
delete
;
// stop default
55
56
using
FWDetailViewCanvas<reco::Track>::build
;
57
void
build
(
const
FWModelId
&
id
,
const
reco::Track
*)
override
;
58
using
FWDetailViewCanvas<reco::Track>::setTextInfo
;
59
void
setTextInfo(
const
FWModelId
&
id
,
const
reco::Track
*)
override
;
60
61
double
getSignedResidual(
const
FWGeometry
*
geom
,
unsigned
int
id
,
double
resX);
62
void
prepareData(
const
FWModelId
&
id
,
const
reco::Track
*);
63
void
printDebug
();
64
65
int
m_ndet
;
66
int
m_nhits
;
67
int
m_det[64];
68
float
res
[2][64];
69
int
hittype[64];
70
int
stereo[64];
71
int
substruct[64];
72
int
subsubstruct[64];
73
int
m_detector[64];
74
75
Int_t
m_resXFill
;
76
Color_t
m_resXCol
;
77
Int_t
m_resYFill
;
78
Color_t
m_resYCol
;
79
Int_t
m_stereoFill
;
80
Color_t
m_stereoCol
;
81
Int_t
m_invalidFill
;
82
Color_t
m_invalidCol
;
83
84
const
static
char
*m_det_tracker_str[];
85
};
FWTrackResidualDetailView::m_stereoCol
Color_t m_stereoCol
Definition:
FWTrackResidualDetailView.h:80
FWGeometry
Definition:
FWGeometry.h:27
FWModelId
Definition:
FWModelId.h:28
HLT_2018_cff.printDebug
printDebug
Definition:
HLT_2018_cff.py:34157
res
Definition:
Electron.h:6
FWTrackResidualDetailView
Definition:
FWTrackResidualDetailView.h:47
FWTrackResidualDetailView::m_invalidCol
Color_t m_invalidCol
Definition:
FWTrackResidualDetailView.h:82
FWTrackResidualDetailView::m_resYCol
Color_t m_resYCol
Definition:
FWTrackResidualDetailView.h:78
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
FWTrackResidualDetailView::m_resXFill
Int_t m_resXFill
Definition:
FWTrackResidualDetailView.h:75
FWTrackResidualDetailView::m_resXCol
Color_t m_resXCol
Definition:
FWTrackResidualDetailView.h:76
FWTrackResidualDetailView::m_ndet
int m_ndet
Definition:
FWTrackResidualDetailView.h:65
newFWLiteAna.build
build
Definition:
newFWLiteAna.py:126
reco::Track
Definition:
Track.h:27
FWDetailViewCanvas
Definition:
FWDetailViewCanvas.h:11
FWTrackResidualDetailView::m_nhits
int m_nhits
Definition:
FWTrackResidualDetailView.h:66
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
FWTrackResidualDetailView::m_stereoFill
Int_t m_stereoFill
Definition:
FWTrackResidualDetailView.h:79
FWTrackResidualDetailView::m_resYFill
Int_t m_resYFill
Definition:
FWTrackResidualDetailView.h:77
FWTrackResidualDetailView::m_invalidFill
Int_t m_invalidFill
Definition:
FWTrackResidualDetailView.h:81
FWDetailViewCanvas.h
Generated for CMSSW Reference Manual by
1.8.11