CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 //____________________________________________________________________________||
31 #include "TH2.h"
32 #include "TVector3.h"
34 
35 //____________________________________________________________________________||
36 class TCMETAlgo;
37 
38 namespace cms
39 {
40 
42 {
43 
44 public:
47 
48 
49 private:
50  virtual void produce(edm::Event&, const edm::EventSetup&) override;
51 
55 
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_;
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<int> 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 }
116 
117 //____________________________________________________________________________||
118 #endif /* RecoMET_MuonTCMETValueMapProducer_h */
119 
120 
class TVector3 propagateTrack(const reco::Muon *)
edm::Handle< reco::VertexCollection > vertexHandle_
MuonTCMETValueMapProducer(const edm::ParameterSet &)
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
const reco::VertexCollection * vertices_
virtual 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)
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
edm::Handle< reco::MuonCollection > muons_
string const
Definition: compareJSON.py:14
edm::Handle< reco::BeamSpot > beamSpot_
edm::EDGetTokenT< reco::MuonCollection > muonToken_