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
DataFormats
CTPPSReco
interface
CTPPSDiamondRecHit.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* This is a part of CTPPS offline software.
4
* Authors:
5
* Laurent Forthomme (laurent.forthomme@cern.ch)
6
* Nicola Minafra (nicola.minafra@cern.ch)
7
*
8
****************************************************************************/
9
10
#ifndef DataFormats_CTPPSReco_CTPPSDiamondRecHit
11
#define DataFormats_CTPPSReco_CTPPSDiamondRecHit
12
13
#include "
DataFormats/CTPPSDigi/interface/HPTDCErrorFlags.h
"
14
#include "
DataFormats/CTPPSReco/interface/CTPPSTimingRecHit.h
"
15
17
class
CTPPSDiamondRecHit
:
public
CTPPSTimingRecHit
{
18
public
:
19
CTPPSDiamondRecHit
() :
CTPPSTimingRecHit
(),
tot_
(0),
tPrecision_
(0),
tsIndex_
(0),
hptdcErr_
(0),
mh_
(
false
) {}
20
CTPPSDiamondRecHit
(
float
x
,
21
float
xWidth
,
22
float
y
,
23
float
yWidth
,
24
float
z
,
25
float
zWidth
,
26
float
t
,
27
float
tot,
28
float
tPrecision
,
29
int
ootIdx,
30
const
HPTDCErrorFlags
&hptdcErr,
31
const
bool
mh)
32
:
CTPPSTimingRecHit
(
x
,
xWidth
,
y
,
yWidth
,
z
,
zWidth
,
t
),
33
tot_
(tot),
34
tPrecision_
(
tPrecision
),
35
tsIndex_
(ootIdx),
36
hptdcErr_
(hptdcErr),
37
mh_
(mh) {}
38
39
static
constexpr
int
TIMESLICE_WITHOUT_LEADING
= -10;
40
41
inline
void
setToT
(
float
tot) {
tot_
= tot; }
42
inline
float
toT
()
const
{
return
tot_
; }
43
44
inline
void
setTPrecision
(
float
tPrecision
) {
tPrecision_
=
tPrecision
; }
45
inline
float
tPrecision
()
const
{
return
tPrecision_
; }
46
47
inline
void
setOOTIndex
(
int
i
) {
tsIndex_
=
i
; }
48
inline
int
ootIndex
()
const
{
return
tsIndex_
; }
49
50
inline
void
setMultipleHits
(
bool
mh) {
mh_
= mh; }
51
inline
bool
multipleHits
()
const
{
return
mh_
; }
52
53
inline
void
setHPTDCErrorFlags
(
const
HPTDCErrorFlags
&
err
) {
hptdcErr_
=
err
; }
54
inline
HPTDCErrorFlags
hptdcErrorFlags
()
const
{
return
hptdcErr_
; }
55
56
private
:
58
float
tot_
;
60
float
tPrecision_
;
62
int
tsIndex_
;
64
HPTDCErrorFlags
hptdcErr_
;
66
bool
mh_
;
67
};
68
69
#endif
CTPPSDiamondRecHit::mh_
bool mh_
Multiple hits detected.
Definition:
CTPPSDiamondRecHit.h:71
mps_fire.i
i
Definition:
mps_fire.py:428
CTPPSTimingRecHit::z
float z() const
Definition:
CTPPSTimingRecHit.h:32
funct::false
false
Definition:
Factorize.h:29
CTPPSTimingRecHit::zWidth
float zWidth() const
Definition:
CTPPSTimingRecHit.h:41
CTPPSDiamondRecHit::setHPTDCErrorFlags
void setHPTDCErrorFlags(const HPTDCErrorFlags &err)
Definition:
CTPPSDiamondRecHit.h:58
CTPPSDiamondRecHit::setTPrecision
void setTPrecision(float tPrecision)
Definition:
CTPPSDiamondRecHit.h:49
CTPPSDiamondRecHit
Reconstructed hit in diamond detectors.
Definition:
CTPPSDiamondRecHit.h:16
CTPPSDiamondRecHit::hptdcErrorFlags
HPTDCErrorFlags hptdcErrorFlags() const
Definition:
CTPPSDiamondRecHit.h:59
CTPPSDiamondRecHit::tsIndex_
int tsIndex_
Time slice index.
Definition:
CTPPSDiamondRecHit.h:67
HPTDCErrorFlags.h
CTPPSDiamondRecHit::tot_
float tot_
Time over threshold.
Definition:
CTPPSDiamondRecHit.h:63
HPTDCErrorFlags
Definition:
HPTDCErrorFlags.h:15
CTPPSDiamondRecHit::tPrecision
float tPrecision() const
Definition:
CTPPSDiamondRecHit.h:50
CTPPSDiamondRecHit::ootIndex
int ootIndex() const
Definition:
CTPPSDiamondRecHit.h:53
CTPPSTimingRecHit::yWidth
float yWidth() const
Definition:
CTPPSTimingRecHit.h:38
CTPPSTimingRecHit.h
CTPPSTimingRecHit::xWidth
float xWidth() const
Definition:
CTPPSTimingRecHit.h:35
CTPPSDiamondRecHit::setToT
void setToT(float tot)
Definition:
CTPPSDiamondRecHit.h:46
CTPPSTimingRecHit::x
float x() const
Definition:
CTPPSTimingRecHit.h:26
CTPPSDiamondRecHit::TIMESLICE_WITHOUT_LEADING
static constexpr int TIMESLICE_WITHOUT_LEADING
Definition:
CTPPSDiamondRecHit.h:44
submitPVResolutionJobs.err
err
Definition:
submitPVResolutionJobs.py:85
CTPPSDiamondRecHit::hptdcErr_
HPTDCErrorFlags hptdcErr_
List of error flags encountered by the HPTDC.
Definition:
CTPPSDiamondRecHit.h:69
CTPPSDiamondRecHit::toT
float toT() const
Definition:
CTPPSDiamondRecHit.h:47
CTPPSDiamondRecHit::setMultipleHits
void setMultipleHits(bool mh)
Definition:
CTPPSDiamondRecHit.h:55
CTPPSDiamondRecHit::CTPPSDiamondRecHit
CTPPSDiamondRecHit()
Definition:
CTPPSDiamondRecHit.h:24
CTPPSDiamondRecHit::multipleHits
bool multipleHits() const
Definition:
CTPPSDiamondRecHit.h:56
CTPPSDiamondRecHit::setOOTIndex
void setOOTIndex(int i)
Definition:
CTPPSDiamondRecHit.h:52
CTPPSTimingRecHit::y
float y() const
Definition:
CTPPSTimingRecHit.h:29
CTPPSTimingRecHit
Reconstructed hit in timing detectors.
Definition:
CTPPSTimingRecHit.h:13
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:644
CTPPSDiamondRecHit::tPrecision_
float tPrecision_
Expected timing precision.
Definition:
CTPPSDiamondRecHit.h:65
Generated for CMSSW Reference Manual by
1.8.16