src
DataFormats
CTPPSReco
interface
TotemTimingRecHit.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_TotemTimingRecHit
11
#define DataFormats_CTPPSReco_TotemTimingRecHit
12
13
#include "
DataFormats/CTPPSReco/interface/CTPPSTimingRecHit.h
"
14
17
class
TotemTimingRecHit
:
public
CTPPSTimingRecHit
{
18
public
:
19
enum
TimingAlgorithm
{
NOT_SET
,
CFD
,
SMART
,
SIMPLE
};
20
enum
{
NO_T_AVAILABLE
= -100 };
21
22
TotemTimingRecHit
()
23
:
CTPPSTimingRecHit
(),
sampicThresholdTime_
(0),
tPrecision_
(0),
amplitude_
(0),
baselineRMS_
(0),
mode_
(
NOT_SET
) {}
24
25
TotemTimingRecHit
(
float
x
,
26
float
xWidth
,
27
float
y
,
28
float
yWidth
,
29
float
z
,
30
float
zWidth
,
31
float
t
,
32
float
sampicThresholdTime
,
33
float
tPrecision
,
34
float
amplitude
,
35
float
baselineRMS
,
36
TimingAlgorithm
mode
)
37
:
CTPPSTimingRecHit
(
x
,
xWidth
,
y
,
yWidth
,
z
,
zWidth
,
t
),
38
sampicThresholdTime_
(
sampicThresholdTime
),
39
tPrecision_
(
tPrecision
),
40
amplitude_
(
amplitude
),
41
baselineRMS_
(
baselineRMS
),
42
mode_
(
mode
) {}
43
44
inline
void
setSampicThresholdTime
(
float
stt) {
sampicThresholdTime_
= stt; }
45
inline
float
sampicThresholdTime
()
const
{
return
sampicThresholdTime_
; }
46
47
inline
void
setTPrecision
(
float
tPrecision
) {
tPrecision_
=
tPrecision
; }
48
inline
float
tPrecision
()
const
{
return
tPrecision_
; }
49
50
inline
void
setAmplitude
(
float
amplitude
) {
amplitude_
=
amplitude
; }
51
inline
float
amplitude
()
const
{
return
amplitude_
; }
52
53
inline
void
setBaselineRMS
(
float
brms) {
baselineRMS_
= brms; }
54
inline
float
baselineRMS
()
const
{
return
baselineRMS_
; }
55
56
inline
TimingAlgorithm
timingAlgorithm
()
const
{
return
mode_
; }
57
58
private
:
59
float
sampicThresholdTime_
,
tPrecision_
;
60
float
amplitude_
;
61
float
baselineRMS_
;
62
TimingAlgorithm
mode_
;
63
};
64
65
#endif
TotemTimingRecHit::mode_
TimingAlgorithm mode_
Definition:
TotemTimingRecHit.h:62
CTPPSTimingRecHit
Reconstructed hit in timing detectors.
Definition:
CTPPSTimingRecHit.h:14
TotemTimingRecHit::tPrecision_
float tPrecision_
Definition:
TotemTimingRecHit.h:59
TotemTimingRecHit::setSampicThresholdTime
void setSampicThresholdTime(float stt)
Definition:
TotemTimingRecHit.h:44
TotemTimingRecHit::baselineRMS
float baselineRMS() const
Definition:
TotemTimingRecHit.h:54
TotemTimingRecHit::sampicThresholdTime
float sampicThresholdTime() const
Definition:
TotemTimingRecHit.h:45
TotemTimingRecHit::NOT_SET
Definition:
TotemTimingRecHit.h:19
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:650
TotemTimingRecHit::setBaselineRMS
void setBaselineRMS(float brms)
Definition:
TotemTimingRecHit.h:53
TotemTimingRecHit
Definition:
TotemTimingRecHit.h:17
TotemTimingRecHit::TotemTimingRecHit
TotemTimingRecHit()
Definition:
TotemTimingRecHit.h:22
TotemTimingRecHit::timingAlgorithm
TimingAlgorithm timingAlgorithm() const
Definition:
TotemTimingRecHit.h:56
TotemTimingRecHit::CFD
Definition:
TotemTimingRecHit.h:19
TotemTimingRecHit::tPrecision
float tPrecision() const
Definition:
TotemTimingRecHit.h:48
TotemTimingRecHit::baselineRMS_
float baselineRMS_
Definition:
TotemTimingRecHit.h:61
TotemTimingRecHit::setTPrecision
void setTPrecision(float tPrecision)
Definition:
TotemTimingRecHit.h:47
TotemTimingRecHit::SIMPLE
Definition:
TotemTimingRecHit.h:19
CTPPSTimingRecHit.h
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
TotemTimingRecHit::NO_T_AVAILABLE
Definition:
TotemTimingRecHit.h:20
TotemTimingRecHit::amplitude
float amplitude() const
Definition:
TotemTimingRecHit.h:51
CTPPSTimingRecHit::x
float x() const
Definition:
CTPPSTimingRecHit.h:21
TotemTimingRecHit::SMART
Definition:
TotemTimingRecHit.h:19
CTPPSTimingRecHit::xWidth
float xWidth() const
Definition:
CTPPSTimingRecHit.h:30
CTPPSTimingRecHit::yWidth
float yWidth() const
Definition:
CTPPSTimingRecHit.h:33
TotemTimingRecHit::amplitude_
float amplitude_
Definition:
TotemTimingRecHit.h:60
CTPPSTimingRecHit::y
float y() const
Definition:
CTPPSTimingRecHit.h:24
TotemTimingRecHit::TimingAlgorithm
TimingAlgorithm
Definition:
TotemTimingRecHit.h:19
TotemTimingRecHit::setAmplitude
void setAmplitude(float amplitude)
Definition:
TotemTimingRecHit.h:50
CTPPSTimingRecHit::z
float z() const
Definition:
CTPPSTimingRecHit.h:27
TotemTimingRecHit::TotemTimingRecHit
TotemTimingRecHit(float x, float xWidth, float y, float yWidth, float z, float zWidth, float t, float sampicThresholdTime, float tPrecision, float amplitude, float baselineRMS, TimingAlgorithm mode)
Definition:
TotemTimingRecHit.h:25
CTPPSTimingRecHit::zWidth
float zWidth() const
Definition:
CTPPSTimingRecHit.h:36
TotemTimingRecHit::sampicThresholdTime_
float sampicThresholdTime_
Definition:
TotemTimingRecHit.h:59
Generated for CMSSW Reference Manual by
1.8.14