Main Page
Namespaces
Classes
Package Documentation
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
{
19
public
:
20
enum
TimingAlgorithm
{
NOT_SET
,
CFD
,
SMART
,
SIMPLE
};
21
enum
{
NO_T_AVAILABLE
= -100 };
22
23
TotemTimingRecHit
() :
24
CTPPSTimingRecHit
(),
25
sampicThresholdTime_
( 0 ),
tPrecision_
( 0 ),
amplitude_
( 0 ),
baselineRMS_
( 0 ),
26
mode_
(
NOT_SET
) {}
27
28
TotemTimingRecHit
(
float
x
,
float
xWidth,
float
y
,
float
yWidth,
float
z
,
float
zWidth,
29
float
t
,
float
sampicThresholdTime,
float
tPrecision,
30
float
amplitude
,
float
baselineRMS,
31
TimingAlgorithm
mode
) :
32
CTPPSTimingRecHit
( x, xWidth, y, yWidth, z, zWidth, t ),
33
sampicThresholdTime_
( sampicThresholdTime ),
tPrecision_
( tPrecision ),
34
amplitude_
( amplitude ),
baselineRMS_
( baselineRMS ),
mode_
( mode ) {}
35
36
inline
void
setSampicThresholdTime
(
float
stt ) {
sampicThresholdTime_
= stt; }
37
inline
float
getSampicThresholdTime
()
const
{
return
sampicThresholdTime_
; }
38
39
inline
void
setTPrecision
(
float
tPrecision ) {
tPrecision_
= tPrecision; }
40
inline
float
getTPrecision
()
const
{
return
tPrecision_
; }
41
42
inline
void
setAmplitude
(
float
amplitude
) {
amplitude_
=
amplitude
; }
43
inline
float
getAmplitude
()
const
{
return
amplitude_
; }
44
45
inline
void
setBaselineRMS
(
float
brms ) {
baselineRMS_
= brms; }
46
inline
float
getBaselineRMS
()
const
{
return
baselineRMS_
; }
47
48
inline
TimingAlgorithm
getTimingAlgorithm
()
const
{
return
mode_
; }
49
50
private
:
51
float
sampicThresholdTime_
,
tPrecision_
;
52
float
amplitude_
;
53
float
baselineRMS_
;
54
TimingAlgorithm
mode_
;
55
};
56
57
#endif
TotemTimingRecHit::mode_
TimingAlgorithm mode_
Definition:
TotemTimingRecHit.h:54
CTPPSTimingRecHit
Reconstructed hit in timing detectors.
Definition:
CTPPSTimingRecHit.h:14
TotemTimingRecHit::getTPrecision
float getTPrecision() const
Definition:
TotemTimingRecHit.h:40
TotemTimingRecHit::tPrecision_
float tPrecision_
Definition:
TotemTimingRecHit.h:51
TotemTimingRecHit::setSampicThresholdTime
void setSampicThresholdTime(float stt)
Definition:
TotemTimingRecHit.h:36
TotemTimingRecHit::NOT_SET
Definition:
TotemTimingRecHit.h:20
TotemTimingRecHit::setBaselineRMS
void setBaselineRMS(float brms)
Definition:
TotemTimingRecHit.h:45
TotemTimingRecHit
Definition:
TotemTimingRecHit.h:17
TotemTimingRecHit::TotemTimingRecHit
TotemTimingRecHit()
Definition:
TotemTimingRecHit.h:23
TotemTimingRecHit::CFD
Definition:
TotemTimingRecHit.h:20
TotemTimingRecHit::baselineRMS_
float baselineRMS_
Definition:
TotemTimingRecHit.h:53
TotemTimingRecHit::setTPrecision
void setTPrecision(float tPrecision)
Definition:
TotemTimingRecHit.h:39
TotemTimingRecHit::SIMPLE
Definition:
TotemTimingRecHit.h:20
CustomPhysics_cfi.amplitude
amplitude
Definition:
CustomPhysics_cfi.py:12
TotemTimingRecHit::getBaselineRMS
float getBaselineRMS() const
Definition:
TotemTimingRecHit.h:46
CTPPSTimingRecHit.h
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
protons_cff.t
t
Definition:
protons_cff.py:34
TotemTimingRecHit::SMART
Definition:
TotemTimingRecHit.h:20
TotemTimingRecHit::NO_T_AVAILABLE
Definition:
TotemTimingRecHit.h:21
TotemTimingRecHit::getAmplitude
float getAmplitude() const
Definition:
TotemTimingRecHit.h:43
TotemTimingRecHit::amplitude_
float amplitude_
Definition:
TotemTimingRecHit.h:52
TotemTimingRecHit::getTimingAlgorithm
TimingAlgorithm getTimingAlgorithm() const
Definition:
TotemTimingRecHit.h:48
DDAxes::y
TotemTimingRecHit::TimingAlgorithm
TimingAlgorithm
Definition:
TotemTimingRecHit.h:20
DDAxes::z
TotemTimingRecHit::setAmplitude
void setAmplitude(float amplitude)
Definition:
TotemTimingRecHit.h:42
DDAxes::x
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:28
TotemTimingRecHit::getSampicThresholdTime
float getSampicThresholdTime() const
Definition:
TotemTimingRecHit.h:37
TotemTimingRecHit::sampicThresholdTime_
float sampicThresholdTime_
Definition:
TotemTimingRecHit.h:51
Generated for CMSSW Reference Manual by
1.8.11