CMS 3D CMS Logo

MuonTCMETValueMapProducer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: METProducers
4 // Class: MuonTCMETValueMapProducer
5 //
6 
10 //
11 // Original Author: Frank Golf
12 // Created: Sun Mar 15 11:33:20 CDT 2009
13 //
14 //
15 
16 //____________________________________________________________________________||
17 #ifndef RecoMET_MuonTCMETValueMapProducer_h
18 #define RecoMET_MuonTCMETValueMapProducer_h
19 
20 //____________________________________________________________________________||
34 #include "TH2.h"
35 #include "TVector3.h"
37 
38 //____________________________________________________________________________||
39 class TCMETAlgo;
40 
41 namespace cms {
42 
44  public:
46  ~MuonTCMETValueMapProducer() override;
47 
48  private:
49  void produce(edm::Event&, const edm::EventSetup&) override;
50 
54 
59 
60  const class MagneticField* bField;
61 
63 
64  class TH2D* response_function;
65 
70 
71  int rfType_;
72  int nLayers_;
75  double vertexZ_;
76  double vertexRho_;
77  double vertexMaxDZ_;
78  double maxpt_eta25_;
79  double maxpt_eta20_;
80  std::vector<reco::TrackBase::TrackAlgorithm> trackAlgos_;
81  double minpt_;
82  double maxpt_;
83  double maxeta_;
84  double maxchi2_;
85  double minhits_;
86  double maxPtErr_;
87  double maxd0cut_;
91  double d0cuta_;
92  double d0cutb_;
93  bool usePvtxd0_;
94  std::vector<int> trkQuality_;
95  std::vector<reco::TrackBase::TrackAlgorithm> trkAlgos_;
96 
98  double muonpt_;
99  double muoneta_;
100  double muonchi2_;
101  double muonhits_;
102  double muond0_;
103  double muonDeltaR_;
104  double muon_dptrel_;
106 
107  bool isGoodMuon(const reco::Muon*);
108  bool isGoodCaloMuon(const reco::Muon*, const unsigned int);
109  bool isGoodTrack(const reco::Muon*);
110  class TVector3 propagateTrack(const reco::Muon*);
111  int nLayers(const reco::TrackRef);
113  };
114 
115 } // namespace cms
116 
117 //____________________________________________________________________________||
118 #endif /* RecoMET_MuonTCMETValueMapProducer_h */
TrajectoryStateOnSurface.h
Handle.h
electrons_cff.bool
bool
Definition: electrons_cff.py:393
Muon.h
cms::MuonTCMETValueMapProducer::nLayers
int nLayers(const reco::TrackRef)
Definition: MuonTCMETValueMapProducer.cc:428
cms::MuonTCMETValueMapProducer::maxpt_eta20_
double maxpt_eta20_
Definition: MuonTCMETValueMapProducer.h:79
cms::MuonTCMETValueMapProducer::vertexMaxDZ_
double vertexMaxDZ_
Definition: MuonTCMETValueMapProducer.h:77
cms::MuonTCMETValueMapProducer::d0cutb_
double d0cutb_
Definition: MuonTCMETValueMapProducer.h:92
cms::MuonTCMETValueMapProducer::d0cuta_
double d0cuta_
Definition: MuonTCMETValueMapProducer.h:91
edm::EDGetTokenT< reco::MuonCollection >
cms::MuonTCMETValueMapProducer::minpt_
double minpt_
Definition: MuonTCMETValueMapProducer.h:81
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
cms::MuonTCMETValueMapProducer::muonDeltaR_
double muonDeltaR_
Definition: MuonTCMETValueMapProducer.h:103
cms::MuonTCMETValueMapProducer::maxd0cut_
double maxd0cut_
Definition: MuonTCMETValueMapProducer.h:87
cms::MuonTCMETValueMapProducer::nLayers_
int nLayers_
Definition: MuonTCMETValueMapProducer.h:72
EDProducer.h
cms::MuonTCMETValueMapProducer::trackAlgos_
std::vector< reco::TrackBase::TrackAlgorithm > trackAlgos_
Definition: MuonTCMETValueMapProducer.h:80
cms::MuonTCMETValueMapProducer::rfType_
int rfType_
Definition: MuonTCMETValueMapProducer.h:71
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
cms::MuonTCMETValueMapProducer::muonGlobal_
bool muonGlobal_
Definition: MuonTCMETValueMapProducer.h:66
watchdog.const
const
Definition: watchdog.py:83
cms::MuonTCMETValueMapProducer::maxchi2_
double maxchi2_
Definition: MuonTCMETValueMapProducer.h:84
edm::Handle< reco::MuonCollection >
cms::MuonTCMETValueMapProducer::muonchi2_
double muonchi2_
Definition: MuonTCMETValueMapProducer.h:100
ESGetToken.h
Muon
Definition: Muon.py:1
reco::Muon
Definition: Muon.h:27
cms::MuonTCMETValueMapProducer::isValidVertex
bool isValidVertex()
Definition: MuonTCMETValueMapProducer.cc:434
cms::MuonTCMETValueMapProducer::muonMinValidStaHits_
int muonMinValidStaHits_
Definition: MuonTCMETValueMapProducer.h:97
cms::MuonTCMETValueMapProducer::minhits_tight_
double minhits_tight_
Definition: MuonTCMETValueMapProducer.h:89
cms::MuonTCMETValueMapProducer::vertexZ_
double vertexZ_
Definition: MuonTCMETValueMapProducer.h:75
cms::MuonTCMETValueMapProducer::muon_dptrel_
double muon_dptrel_
Definition: MuonTCMETValueMapProducer.h:104
cms::MuonTCMETValueMapProducer::useCaloMuons_
bool useCaloMuons_
Definition: MuonTCMETValueMapProducer.h:68
cms::MuonTCMETValueMapProducer::usePvtxd0_
bool usePvtxd0_
Definition: MuonTCMETValueMapProducer.h:93
cms::MuonTCMETValueMapProducer::maxPtErr_
double maxPtErr_
Definition: MuonTCMETValueMapProducer.h:86
cms::MuonTCMETValueMapProducer::isGoodTrack
bool isGoodTrack(const reco::Muon *)
Definition: MuonTCMETValueMapProducer.cc:278
BeamSpot.h
cms::MuonTCMETValueMapProducer::vertices_
const reco::VertexCollection * vertices_
Definition: MuonTCMETValueMapProducer.h:62
MuonFwd.h
cms::MuonTCMETValueMapProducer::magFieldToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
Definition: MuonTCMETValueMapProducer.h:58
IdealMagneticFieldRecord.h
cms::MuonTCMETValueMapProducer::minhits_
double minhits_
Definition: MuonTCMETValueMapProducer.h:85
cms::MuonTCMETValueMapProducer::muoneta_
double muoneta_
Definition: MuonTCMETValueMapProducer.h:99
cms::MuonTCMETValueMapProducer::muonTracker_
bool muonTracker_
Definition: MuonTCMETValueMapProducer.h:67
Vertex.h
cms::MuonTCMETValueMapProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: MuonTCMETValueMapProducer.cc:115
cms::MuonTCMETValueMapProducer::muonToken_
edm::EDGetTokenT< reco::MuonCollection > muonToken_
Definition: MuonTCMETValueMapProducer.h:55
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
cms::MuonTCMETValueMapProducer::response_function
class TH2D * response_function
Definition: MuonTCMETValueMapProducer.h:64
cms::MuonTCMETValueMapProducer::muond0_
double muond0_
Definition: MuonTCMETValueMapProducer.h:102
createfilelist.int
int
Definition: createfilelist.py:10
cms::MuonTCMETValueMapProducer::nLayersTight_
int nLayersTight_
Definition: MuonTCMETValueMapProducer.h:73
edm::stream::EDProducer
Definition: EDProducer.h:38
cms::MuonTCMETValueMapProducer::maxeta_
double maxeta_
Definition: MuonTCMETValueMapProducer.h:83
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:57
cms::MuonTCMETValueMapProducer
Definition: MuonTCMETValueMapProducer.h:43
TCMETAlgo
Definition: TCMETAlgo.h:67
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
cms::MuonTCMETValueMapProducer::propagateTrack
class TVector3 propagateTrack(const reco::Muon *)
Definition: MuonTCMETValueMapProducer.cc:377
cms::MuonTCMETValueMapProducer::maxPtErr_tight_
double maxPtErr_tight_
Definition: MuonTCMETValueMapProducer.h:90
VertexFwd.h
cms::MuonTCMETValueMapProducer::vertexHandle_
edm::Handle< reco::VertexCollection > vertexHandle_
Definition: MuonTCMETValueMapProducer.h:53
cms::MuonTCMETValueMapProducer::MuonTCMETValueMapProducer
MuonTCMETValueMapProducer(const edm::ParameterSet &)
Definition: MuonTCMETValueMapProducer.cc:46
cms::MuonTCMETValueMapProducer::muonpt_
double muonpt_
Definition: MuonTCMETValueMapProducer.h:98
Frameworkfwd.h
cms::MuonTCMETValueMapProducer::isGoodMuon
bool isGoodMuon(const reco::Muon *)
Definition: MuonTCMETValueMapProducer.cc:193
cms::MuonTCMETValueMapProducer::bField
const class MagneticField * bField
Definition: MuonTCMETValueMapProducer.h:60
cms::MuonTCMETValueMapProducer::isGoodCaloMuon
bool isGoodCaloMuon(const reco::Muon *, const unsigned int)
Definition: MuonTCMETValueMapProducer.cc:243
cms::MuonTCMETValueMapProducer::muons_
edm::Handle< reco::MuonCollection > muons_
Definition: MuonTCMETValueMapProducer.h:51
cms::MuonTCMETValueMapProducer::~MuonTCMETValueMapProducer
~MuonTCMETValueMapProducer() override
Definition: MuonTCMETValueMapProducer.cc:112
cms::MuonTCMETValueMapProducer::maxpt_eta25_
double maxpt_eta25_
Definition: MuonTCMETValueMapProducer.h:78
cms::MuonTCMETValueMapProducer::maxpt_
double maxpt_
Definition: MuonTCMETValueMapProducer.h:82
cms::MuonTCMETValueMapProducer::muonhits_
double muonhits_
Definition: MuonTCMETValueMapProducer.h:101
cms::MuonTCMETValueMapProducer::vertexRho_
double vertexRho_
Definition: MuonTCMETValueMapProducer.h:76
cms::MuonTCMETValueMapProducer::vertexToken_
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
Definition: MuonTCMETValueMapProducer.h:57
ParameterSet.h
cms::MuonTCMETValueMapProducer::tcmetAlgo_
TCMETAlgo * tcmetAlgo_
Definition: MuonTCMETValueMapProducer.h:105
cms::MuonTCMETValueMapProducer::trkQuality_
std::vector< int > trkQuality_
Definition: MuonTCMETValueMapProducer.h:94
cms::MuonTCMETValueMapProducer::vertexNdof_
int vertexNdof_
Definition: MuonTCMETValueMapProducer.h:74
edm::Event
Definition: Event.h:73
MagneticField
Definition: MagneticField.h:19
cms::MuonTCMETValueMapProducer::maxchi2_tight_
double maxchi2_tight_
Definition: MuonTCMETValueMapProducer.h:88
cms::MuonTCMETValueMapProducer::beamSpot_
edm::Handle< reco::BeamSpot > beamSpot_
Definition: MuonTCMETValueMapProducer.h:52
cms::MuonTCMETValueMapProducer::beamSpotToken_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
Definition: MuonTCMETValueMapProducer.h:56
cms::MuonTCMETValueMapProducer::trkAlgos_
std::vector< reco::TrackBase::TrackAlgorithm > trkAlgos_
Definition: MuonTCMETValueMapProducer.h:95
cms::MuonTCMETValueMapProducer::hasValidVertex
bool hasValidVertex
Definition: MuonTCMETValueMapProducer.h:69
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21