Main Page
Namespaces
Classes
Package Documentation
CalibMuon
DTDigiSync
src
DTTTrigSyncTOFCorr.h
Go to the documentation of this file.
1
#ifndef RecoLocalMuon_DTTTrigSyncTOFCorr_H
2
#define RecoLocalMuon_DTTTrigSyncTOFCorr_H
3
39
#include "
CalibMuon/DTDigiSync/interface/DTTTrigBaseSync.h
"
40
41
class
DTLayer
;
42
class
DTWireId
;
43
44
namespace
edm
{
45
class
ParameterSet
;
46
}
47
48
class
DTTTrigSyncTOFCorr
:
public
DTTTrigBaseSync
{
49
public
:
51
DTTTrigSyncTOFCorr
(
const
edm::ParameterSet
&
config
);
52
54
~
DTTTrigSyncTOFCorr
()
override
;
55
56
// Operations
57
59
void
setES
(
const
edm::EventSetup
&
setup
)
override
{}
60
69
double
offset
(
const
DTLayer
* layer,
70
const
DTWireId
& wireId,
71
const
GlobalPoint
& globPos,
72
double
& tTrig,
73
double
& wirePropCorr,
74
double
& tofCorr)
const override
;
75
76
double
offset
(
const
DTWireId
& wireId)
const override
;
77
83
double
emulatorOffset(
const
DTWireId
& wireId,
double
& tTrig,
double
& t0cell)
const override
;
84
85
private
:
86
// The fixed t_trig to be subtracted to digi time (ns)
87
const
double
theTTrig
;
88
// Velocity of signal propagation along the wire (cm/ns)
89
// For the value
90
// cfr. CMS-IN 2000-021: (2.56+-0.17)x1e8 m/s
91
// CMS NOTE 2003-17: (0.244) m/ns = 24.4 cm/ns
92
const
double
theVPropWire
;
93
94
// Select the mode for TOF correction:
95
// 0: tofCorr = TOF from IP to 3D Hit position (globPos)
96
// 1: tofCorr = TOF correction for distance difference
97
// between 3D center of the chamber and hit position
98
// 2: tofCorr = TOF correction for distance difference
99
// between 3D center of the wire and hit position
100
const
int
theTOFCorrType
;
101
102
// Set the verbosity level
103
const
bool
debug
;
104
// spacing of BX in ns
105
double
theBXspace
;
106
};
107
#endif
ParameterSet
Definition:
Functions.h:16
DTTTrigSyncTOFCorr::debug
const bool debug
Definition:
DTTTrigSyncTOFCorr.h:103
DTTTrigSyncTOFCorr::theVPropWire
const double theVPropWire
Definition:
DTTTrigSyncTOFCorr.h:92
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:2
config
Definition:
config.py:1
DTTTrigSyncTOFCorr::theTTrig
const double theTTrig
Definition:
DTTTrigSyncTOFCorr.h:87
edm::EventSetup
Definition:
EventSetup.h:57
PFRecoTauDiscriminationByIsolation_cfi.offset
offset
Definition:
PFRecoTauDiscriminationByIsolation_cfi.py:62
Point3DBase< float, GlobalTag >
edm
HLT enums.
Definition:
AlignableModifier.h:17
DTLayer
Definition:
DTLayer.h:26
DTWireId
Definition:
DTWireId.h:13
edm::ParameterSet
Definition:
ParameterSet.h:36
DTTTrigSyncTOFCorr::setES
void setES(const edm::EventSetup &setup) override
Pass the Event Setup to the algo at each event.
Definition:
DTTTrigSyncTOFCorr.h:59
DTTTrigSyncTOFCorr::theBXspace
double theBXspace
Definition:
DTTTrigSyncTOFCorr.h:105
DTTTrigBaseSync.h
DTTTrigSyncTOFCorr::theTOFCorrType
const int theTOFCorrType
Definition:
DTTTrigSyncTOFCorr.h:100
DTTTrigBaseSync
Definition:
DTTTrigBaseSync.h:19
DTTTrigSyncTOFCorr
Definition:
DTTTrigSyncTOFCorr.h:48
Generated for CMSSW Reference Manual by
1.8.11