RecoMuon
MuonSeedGenerator
src
SETPatternRecognition.h
Go to the documentation of this file.
1
#ifndef MuonSeedGenerator_SETPatternRecognition_h
2
#define MuonSeedGenerator_SETPatternRecognition_h
3
4
#include "
RecoMuon/MuonSeedGenerator/src/MuonSeedVPatternRecognition.h
"
5
#include "
RecoMuon/TrackingTools/interface/MuonServiceProxy.h
"
6
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
7
8
#include "
DataFormats/DTRecHit/interface/DTRecSegment4D.h
"
9
#include "
DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h
"
10
#include "
DataFormats/CSCRecHit/interface/CSCSegmentCollection.h
"
11
#include "
DataFormats/RPCRecHit/interface/RPCRecHitCollection.h
"
12
13
class
SETPatternRecognition
:
public
MuonSeedVPatternRecognition
{
14
public
:
15
explicit
SETPatternRecognition
(
const
edm::ParameterSet
&
pset
,
edm::ConsumesCollector
& iC);
16
~SETPatternRecognition
()
override
{}
18
void
produce
(
const
edm::Event
&
event
,
19
const
edm::EventSetup
& eSetup,
20
std::vector<MuonRecHitContainer>&
result
)
override
;
21
22
void
setServiceProxy
(
MuonServiceProxy
*
service
) {
theService
=
service
; }
23
// don't use "bad" segments
24
bool
segmentCleaning
(
const
DetId
& detId,
25
const
LocalPoint
& localPosition,
26
const
LocalError
& localError,
27
const
LocalVector
& localDirection,
28
const
LocalError
& localDirectionError,
29
const
double
&
chi2
,
30
const
int
& ndf);
31
32
private
:
33
int
maxActiveChambers
;
34
bool
useRPCs
;
35
36
edm::InputTag
DTRecSegmentLabel
;
37
edm::InputTag
CSCRecSegmentLabel
;
38
edm::InputTag
RPCRecSegmentLabel
;
39
40
edm::EDGetTokenT<DTRecSegment4DCollection>
dtToken
;
41
edm::EDGetTokenT<CSCSegmentCollection>
cscToken
;
42
edm::EDGetTokenT<RPCRecHitCollection>
rpcToken
;
43
44
double
outsideChamberErrorScale
;
45
double
minLocalSegmentAngle
;
46
//----
47
48
MuonServiceProxy
*
theService
;
49
};
50
51
#endif
Vector3DBase< float, LocalTag >
service
Definition:
service.py:1
SETPatternRecognition::useRPCs
bool useRPCs
Definition:
SETPatternRecognition.h:34
edm::EDGetTokenT< DTRecSegment4DCollection >
SETPatternRecognition::SETPatternRecognition
SETPatternRecognition(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
Definition:
SETPatternRecognition.cc:17
hltPixelTracks_cff.chi2
chi2
Definition:
hltPixelTracks_cff.py:25
SETPatternRecognition::~SETPatternRecognition
~SETPatternRecognition() override
Definition:
SETPatternRecognition.h:16
SETPatternRecognition::setServiceProxy
void setServiceProxy(MuonServiceProxy *service)
Definition:
SETPatternRecognition.h:22
DetId
Definition:
DetId.h:17
MuonSeedVPatternRecognition.h
SETPatternRecognition::outsideChamberErrorScale
double outsideChamberErrorScale
Definition:
SETPatternRecognition.h:44
Point3DBase< float, LocalTag >
SETPatternRecognition::minLocalSegmentAngle
double minLocalSegmentAngle
Definition:
SETPatternRecognition.h:45
RPCRecHitCollection.h
SETPatternRecognition::segmentCleaning
bool segmentCleaning(const DetId &detId, const LocalPoint &localPosition, const LocalError &localError, const LocalVector &localDirection, const LocalError &localDirectionError, const double &chi2, const int &ndf)
Definition:
SETPatternRecognition.cc:431
SETPatternRecognition::cscToken
edm::EDGetTokenT< CSCSegmentCollection > cscToken
Definition:
SETPatternRecognition.h:41
edm::ParameterSet
Definition:
ParameterSet.h:36
SETPatternRecognition::rpcToken
edm::EDGetTokenT< RPCRecHitCollection > rpcToken
Definition:
SETPatternRecognition.h:42
LocalError
Definition:
LocalError.h:12
SETPatternRecognition::maxActiveChambers
int maxActiveChambers
Definition:
SETPatternRecognition.h:33
SETPatternRecognition::DTRecSegmentLabel
edm::InputTag DTRecSegmentLabel
Definition:
SETPatternRecognition.h:36
edm::EventSetup
Definition:
EventSetup.h:57
SETPatternRecognition
Definition:
SETPatternRecognition.h:13
DTRecSegment4D.h
SETPatternRecognition::produce
void produce(const edm::Event &event, const edm::EventSetup &eSetup, std::vector< MuonRecHitContainer > &result) override
Definition:
SETPatternRecognition.cc:40
MuonServiceProxy.h
MuonSeedVPatternRecognition
Definition:
MuonSeedVPatternRecognition.h:8
SETPatternRecognition::CSCRecSegmentLabel
edm::InputTag CSCRecSegmentLabel
Definition:
SETPatternRecognition.h:37
mps_fire.result
result
Definition:
mps_fire.py:303
ConsumesCollector.h
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
event
Definition:
event.py:1
SETPatternRecognition::theService
MuonServiceProxy * theService
Definition:
SETPatternRecognition.h:48
SETPatternRecognition::dtToken
edm::EDGetTokenT< DTRecSegment4DCollection > dtToken
Definition:
SETPatternRecognition.h:40
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
SETPatternRecognition::RPCRecSegmentLabel
edm::InputTag RPCRecSegmentLabel
Definition:
SETPatternRecognition.h:38
DTRecSegment4DCollection.h
CSCSegmentCollection.h
Generated for CMSSW Reference Manual by
1.8.16