src
CalibMuon
DTCalibration
interface
DTSegmentSelector.h
Go to the documentation of this file.
1
#ifndef CalibMuon_DTCalibration_DTSegmentSelector_h
2
#define CalibMuon_DTCalibration_DTSegmentSelector_h
3
4
/*
5
* \author A. Vilela Pereira
6
*/
7
8
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
9
#include "
FWCore/Framework/interface/Event.h
"
10
#include "
FWCore/Framework/interface/EventSetup.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
FWCore/Framework/interface/ESHandle.h
"
13
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
14
#include "
FWCore/Utilities/interface/InputTag.h
"
15
#include "
DataFormats/MuonReco/interface/Muon.h
"
16
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
17
#include "
CondFormats/DataRecord/interface/DTStatusFlagRcd.h
"
18
#include "
CondFormats/DTObjects/interface/DTStatusFlag.h
"
19
20
#include <vector>
21
22
class
DTRecSegment4D
;
23
class
DTRecHit1D
;
24
class
DTStatusFlag
;
25
26
class
DTSegmentSelector
{
27
public
:
28
DTSegmentSelector
(
edm::ParameterSet
const
&
pset
,
edm::ConsumesCollector
& iC);
29
~DTSegmentSelector
() {}
30
bool
operator()
(
DTRecSegment4D
const
&,
edm::Event
const
&,
edm::EventSetup
const
&);
31
32
private
:
33
bool
checkNoisySegment
(
edm::ESHandle<DTStatusFlag>
const
&, std::vector<DTRecHit1D>
const
&);
34
35
edm::InputTag
muonTags_
;
36
edm::EDGetTokenT<reco::MuonCollection>
muonToken_
;
37
bool
checkNoisyChannels_
;
38
int
minHitsPhi_
;
39
int
minHitsZ_
;
40
double
maxChi2_
;
41
double
maxAnglePhi_
;
42
double
maxAngleZ_
;
43
edm::ESGetToken<DTStatusFlag, DTStatusFlagRcd>
theStatusMapToken_
;
44
};
45
46
#endif
DTSegmentSelector::minHitsPhi_
int minHitsPhi_
Definition:
DTSegmentSelector.h:38
DTSegmentSelector::DTSegmentSelector
DTSegmentSelector(edm::ParameterSet const &pset, edm::ConsumesCollector &iC)
Definition:
DTSegmentSelector.cc:16
DTStatusFlagRcd.h
DTStatusFlag.h
DTSegmentSelector::checkNoisyChannels_
bool checkNoisyChannels_
Definition:
DTSegmentSelector.h:37
Event.h
EventSetup.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DTSegmentSelector::maxAnglePhi_
double maxAnglePhi_
Definition:
DTSegmentSelector.h:41
edm::EDGetTokenT< reco::MuonCollection >
MuonFwd.h
ParameterSet.h
edm::ESGetToken< DTStatusFlag, DTStatusFlagRcd >
DTSegmentSelector::operator()
bool operator()(DTRecSegment4D const &, edm::Event const &, edm::EventSetup const &)
Definition:
DTSegmentSelector.cc:28
DTSegmentSelector::minHitsZ_
int minHitsZ_
Definition:
DTSegmentSelector.h:39
DTRecHit1D
Definition:
DTRecHit1D.h:25
edm::ESHandle
Definition:
DTSurvey.h:22
DTSegmentSelector::maxChi2_
double maxChi2_
Definition:
DTSegmentSelector.h:40
DTRecSegment4D
Definition:
DTRecSegment4D.h:23
DTSegmentSelector::theStatusMapToken_
edm::ESGetToken< DTStatusFlag, DTStatusFlagRcd > theStatusMapToken_
Definition:
DTSegmentSelector.h:43
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:56
Muon.h
DTSegmentSelector::muonToken_
edm::EDGetTokenT< reco::MuonCollection > muonToken_
Definition:
DTSegmentSelector.h:36
DTSegmentSelector::~DTSegmentSelector
~DTSegmentSelector()
Definition:
DTSegmentSelector.h:29
DTStatusFlag
Definition:
DTStatusFlag.h:74
EDAnalyzer.h
DTSegmentSelector::checkNoisySegment
bool checkNoisySegment(edm::ESHandle< DTStatusFlag > const &, std::vector< DTRecHit1D > const &)
Definition:
DTSegmentSelector.cc:126
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::Event
Definition:
Event.h:73
ConsumesCollector.h
DTSegmentSelector::muonTags_
edm::InputTag muonTags_
Definition:
DTSegmentSelector.h:35
DTSegmentSelector::maxAngleZ_
double maxAngleZ_
Definition:
DTSegmentSelector.h:42
DTSegmentSelector
Definition:
DTSegmentSelector.h:26
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14