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
#include "
FWCore/Framework/interface/EDProducer.h
"
21
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/Framework/interface/MakerMacros.h
"
24
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
27
#include "
RecoMuon/TrackingTools/interface/MuonServiceProxy.h
"
28
29
#include "
DataFormats/Common/interface/Ref.h
"
30
31
#include "
Geometry/Records/interface/GlobalTrackingGeometryRecord.h
"
32
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
33
34
#include "
DataFormats/MuonReco/interface/Muon.h
"
35
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
36
#include "
RecoMuon/TrackingTools/interface/MuonSegmentMatcher.h
"
37
#include "
RecoMuon/MuonIdentification/interface/TimeMeasurementSequence.h
"
38
39
#include "
DataFormats/TrackReco/interface/Track.h
"
40
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
41
#include "
DataFormats/TrackReco/interface/TrackExtra.h
"
42
#include "
DataFormats/TrackReco/interface/TrackExtraFwd.h
"
43
44
#include <vector>
45
46
namespace
edm
{
47
class
ParameterSet
;
48
class
EventSetup
;
49
class
InputTag
;
50
}
// namespace edm
51
52
class
MuonServiceProxy
;
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
};
96
97
#endif
TrackExtra.h
CSCTimingExtractor
Definition:
CSCTimingExtractor.h:54
CSCTimingExtractor::theHitsMin_
unsigned int theHitsMin_
Definition:
CSCTimingExtractor.h:83
Muon.h
TrackExtraFwd.h
EDProducer.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
CSCTimingExtractor::TimeMeasurement::weightInvbeta
float weightInvbeta
Definition:
CSCTimingExtractor.h:68
HLT_FULL_cff.InputTag
InputTag
Definition:
HLT_FULL_cff.py:85964
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:90
CSCTimingExtractor::thePruneCut_
double thePruneCut_
Definition:
CSCTimingExtractor.h:84
edm::Ref< TrackCollection >
MuonSegmentMatcher.h
CSCTimingExtractor::CSCSegmentTags_
edm::InputTag CSCSegmentTags_
Definition:
CSCTimingExtractor.h:82
MakerMacros.h
CSCTimingExtractor::theStripTimeOffset_
double theStripTimeOffset_
Definition:
CSCTimingExtractor.h:85
CSCTimingExtractor::CSCTimingExtractor
CSCTimingExtractor(const edm::ParameterSet &, MuonSegmentMatcher *segMatcher, edm::ConsumesCollector &)
Constructor.
Definition:
CSCTimingExtractor.cc:68
Track.h
TrackFwd.h
CSCTimingExtractor::UseWireTime
bool UseWireTime
Definition:
CSCTimingExtractor.h:89
CSCTimingExtractor::theWireError_
double theWireError_
Definition:
CSCTimingExtractor.h:88
MuonFwd.h
CSCTimingExtractor::TimeMeasurement::distIP
float distIP
Definition:
CSCTimingExtractor.h:64
GlobalTrackingGeometryRecord.h
CSCTimingExtractor::~CSCTimingExtractor
~CSCTimingExtractor()
Destructor.
Definition:
CSCTimingExtractor.cc:84
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ParameterSet
Definition:
Functions.h:16
CSCTimingExtractor::theStripError_
double theStripError_
Definition:
CSCTimingExtractor.h:87
iEvent
int iEvent
Definition:
GenABIO.cc:224
CSCTimingExtractor::TimeMeasurement
Definition:
CSCTimingExtractor.h:62
edm::EventSetup
Definition:
EventSetup.h:57
CSCTimingExtractor::UseStripTime
bool UseStripTime
Definition:
CSCTimingExtractor.h:90
Ref.h
Frameworkfwd.h
MuonServiceProxy.h
CSCTimingExtractor::TimeMeasurement::weightTimeVtx
float weightTimeVtx
Definition:
CSCTimingExtractor.h:67
CSCTimingExtractor::TimeMeasurement::station
int station
Definition:
CSCTimingExtractor.h:66
TimeMeasurementSequence.h
CSCTimingExtractor::debug
bool debug
Definition:
CSCTimingExtractor.h:91
EventSetup
ParameterSet.h
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
GlobalTrackingGeometry.h
CSCTimingExtractor::TimeMeasurement::timeCorr
float timeCorr
Definition:
CSCTimingExtractor.h:65
edm::Event
Definition:
Event.h:73
MuonSegmentMatcher
Definition:
MuonSegmentMatcher.h:29
edm::InputTag
Definition:
InputTag.h:15
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
CSCTimingExtractor::theService
std::unique_ptr< MuonServiceProxy > theService
Definition:
CSCTimingExtractor.h:93
CSCTimingExtractor::theWireTimeOffset_
double theWireTimeOffset_
Definition:
CSCTimingExtractor.h:86
CSCTimingExtractor::theMatcher
MuonSegmentMatcher * theMatcher
Definition:
CSCTimingExtractor.h:94
TimeMeasurementSequence
Definition:
TimeMeasurementSequence.h:15
Generated for CMSSW Reference Manual by
1.8.16