RecoMuon
MuonIdentification
interface
CSCTimingExtractor.h
Go to the documentation of this file.
1
#ifndef MuonIdentification_CSCTimingExtractor_H
2
#define MuonIdentification_CSCTimingExtractor_H
3
9
//
10
// Original Author: Traczyk Piotr
11
// Created: Thu Oct 11 15:01:28 CEST 2007
12
//
13
//
14
15
// system include files
16
#include <memory>
17
18
// user include files
19
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
20
21
#include "
FWCore/Framework/interface/Event.h
"
22
23
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
24
25
#include "
RecoMuon/TrackingTools/interface/MuonServiceProxy.h
"
26
27
#include "
DataFormats/Common/interface/Ref.h
"
28
29
#include "
Geometry/Records/interface/GlobalTrackingGeometryRecord.h
"
30
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
31
32
#include "
DataFormats/MuonReco/interface/Muon.h
"
33
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
34
#include "
RecoMuon/TrackingTools/interface/MuonSegmentMatcher.h
"
35
#include "
RecoMuon/MuonIdentification/interface/TimeMeasurementSequence.h
"
36
37
#include "
DataFormats/TrackReco/interface/Track.h
"
38
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
39
#include "
DataFormats/TrackReco/interface/TrackExtra.h
"
40
#include "
DataFormats/TrackReco/interface/TrackExtraFwd.h
"
41
42
#include <vector>
43
44
namespace
edm
{
45
class
ParameterSet
;
46
class
EventSetup
;
47
class
InputTag
;
48
}
// namespace edm
49
50
class
MuonServiceProxy
;
51
class
Propagator
;
52
class
TrackingComponentsRecord
;
53
54
class
CSCTimingExtractor
{
55
public
:
57
CSCTimingExtractor
(
const
edm::ParameterSet
&,
MuonSegmentMatcher
*segMatcher,
edm::ConsumesCollector
&);
58
60
~CSCTimingExtractor
();
61
62
class
TimeMeasurement
{
63
public
:
64
float
distIP
;
65
float
timeCorr
;
66
int
station
;
67
float
weightTimeVtx
;
68
float
weightInvbeta
;
69
};
70
71
void
fillTiming
(
TimeMeasurementSequence
&tmSequence,
72
const
std::vector<const CSCSegment *> &segments,
73
reco::TrackRef
muonTrack,
74
const
edm::Event
&
iEvent
,
75
const
edm::EventSetup
&iSetup);
76
void
fillTiming
(
TimeMeasurementSequence
&tmSequence,
77
reco::TrackRef
muonTrack,
78
const
edm::Event
&
iEvent
,
79
const
edm::EventSetup
&iSetup);
80
81
private
:
82
edm::InputTag
CSCSegmentTags_
;
83
unsigned
int
theHitsMin_
;
84
double
thePruneCut_
;
85
double
theStripTimeOffset_
;
86
double
theWireTimeOffset_
;
87
double
theStripError_
;
88
double
theWireError_
;
89
bool
UseWireTime
;
90
bool
UseStripTime
;
91
bool
debug
;
92
93
std::unique_ptr<MuonServiceProxy>
theService
;
94
MuonSegmentMatcher
*
theMatcher
;
95
edm::ESGetToken<Propagator, TrackingComponentsRecord>
thePropagatorToken
;
96
};
97
98
#endif
CSCTimingExtractor::TimeMeasurement::weightInvbeta
float weightInvbeta
Definition:
CSCTimingExtractor.h:68
CSCTimingExtractor::TimeMeasurement::timeCorr
float timeCorr
Definition:
CSCTimingExtractor.h:65
CSCTimingExtractor::theStripTimeOffset_
double theStripTimeOffset_
Definition:
CSCTimingExtractor.h:85
CSCTimingExtractor::TimeMeasurement
Definition:
CSCTimingExtractor.h:62
GlobalTrackingGeometryRecord.h
ParameterSet
Definition:
Functions.h:16
edm::Ref< TrackCollection >
MuonServiceProxy.h
Event.h
TrackingComponentsRecord
Definition:
TrackingComponentsRecord.h:12
CSCTimingExtractor::theStripError_
double theStripError_
Definition:
CSCTimingExtractor.h:87
CSCTimingExtractor::CSCSegmentTags_
edm::InputTag CSCSegmentTags_
Definition:
CSCTimingExtractor.h:82
HLT_2022v15_cff.InputTag
InputTag
Definition:
HLT_2022v15_cff.py:60425
TrackFwd.h
MuonSegmentMatcher.h
CSCTimingExtractor::debug
bool debug
Definition:
CSCTimingExtractor.h:91
Frameworkfwd.h
MuonFwd.h
ParameterSet.h
CSCTimingExtractor::theService
std::unique_ptr< MuonServiceProxy > theService
Definition:
CSCTimingExtractor.h:93
edm::ESGetToken< Propagator, TrackingComponentsRecord >
EventSetup
iEvent
int iEvent
Definition:
GenABIO.cc:224
CSCTimingExtractor::theMatcher
MuonSegmentMatcher * theMatcher
Definition:
CSCTimingExtractor.h:94
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
CSCTimingExtractor::theWireTimeOffset_
double theWireTimeOffset_
Definition:
CSCTimingExtractor.h:86
CSCTimingExtractor::thePruneCut_
double thePruneCut_
Definition:
CSCTimingExtractor.h:84
edm::EventSetup
Definition:
EventSetup.h:56
Propagator
Definition:
Propagator.h:44
Muon.h
CSCTimingExtractor::CSCTimingExtractor
CSCTimingExtractor(const edm::ParameterSet &, MuonSegmentMatcher *segMatcher, edm::ConsumesCollector &)
Constructor.
Definition:
CSCTimingExtractor.cc:66
CSCTimingExtractor::theHitsMin_
unsigned int theHitsMin_
Definition:
CSCTimingExtractor.h:83
TrackExtraFwd.h
CSCTimingExtractor::TimeMeasurement::station
int station
Definition:
CSCTimingExtractor.h:66
CSCTimingExtractor::fillTiming
void fillTiming(TimeMeasurementSequence &tmSequence, const std::vector< const CSCSegment *> &segments, reco::TrackRef muonTrack, const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition:
CSCTimingExtractor.cc:89
TimeMeasurementSequence
Definition:
TimeMeasurementSequence.h:15
TimeMeasurementSequence.h
Ref.h
MuonSegmentMatcher
Definition:
MuonSegmentMatcher.h:29
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::InputTag
Definition:
InputTag.h:15
CSCTimingExtractor::UseStripTime
bool UseStripTime
Definition:
CSCTimingExtractor.h:90
CSCTimingExtractor::UseWireTime
bool UseWireTime
Definition:
CSCTimingExtractor.h:89
CSCTimingExtractor::TimeMeasurement::distIP
float distIP
Definition:
CSCTimingExtractor.h:64
Track.h
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCTimingExtractor::theWireError_
double theWireError_
Definition:
CSCTimingExtractor.h:88
CSCTimingExtractor::TimeMeasurement::weightTimeVtx
float weightTimeVtx
Definition:
CSCTimingExtractor.h:67
TrackExtra.h
edm::Event
Definition:
Event.h:73
GlobalTrackingGeometry.h
CSCTimingExtractor::thePropagatorToken
edm::ESGetToken< Propagator, TrackingComponentsRecord > thePropagatorToken
Definition:
CSCTimingExtractor.h:95
CSCTimingExtractor::~CSCTimingExtractor
~CSCTimingExtractor()
Destructor.
Definition:
CSCTimingExtractor.cc:83
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
CSCTimingExtractor
Definition:
CSCTimingExtractor.h:54
Generated for CMSSW Reference Manual by
1.8.14