CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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);
112  bool isValidVertex();
113  };
114 
115 } // namespace cms
116 
117 //____________________________________________________________________________||
118 #endif /* RecoMET_MuonTCMETValueMapProducer_h */
class TVector3 propagateTrack(const reco::Muon *)
edm::Handle< reco::VertexCollection > vertexHandle_
MuonTCMETValueMapProducer(const edm::ParameterSet &)
std::vector< reco::TrackBase::TrackAlgorithm > trackAlgos_
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
const reco::VertexCollection * vertices_
void produce(edm::Event &, const edm::EventSetup &) override
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
bool isGoodCaloMuon(const reco::Muon *, const unsigned int)
std::vector< reco::TrackBase::TrackAlgorithm > trkAlgos_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
edm::Handle< reco::MuonCollection > muons_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
edm::Handle< reco::BeamSpot > beamSpot_
edm::EDGetTokenT< reco::MuonCollection > muonToken_