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 beginJob() ;
51  virtual void produce(edm::Event&, const edm::EventSetup&);
52  virtual void endJob() ;
53 
57 
61 
62  const class MagneticField* bField;
63 
65 
66  class TH2D* response_function;
67 
72 
73  int rfType_;
74  int nLayers_;
77  double vertexZ_;
78  double vertexRho_;
79  double vertexMaxDZ_;
80  double maxpt_eta25_;
81  double maxpt_eta20_;
83  double minpt_;
84  double maxpt_;
85  double maxeta_;
86  double maxchi2_;
87  double minhits_;
88  double maxPtErr_;
89  double maxd0cut_;
93  double d0cuta_;
94  double d0cutb_;
95  bool usePvtxd0_;
96  std::vector<int> trkQuality_;
97  std::vector<int> trkAlgos_;
98 
100  double muonpt_;
101  double muoneta_;
102  double muonchi2_;
103  double muonhits_;
104  double muond0_;
105  double muonDeltaR_;
106  double muon_dptrel_;
108 
109  bool isGoodMuon( const reco::Muon* );
110  bool isGoodCaloMuon( const reco::Muon*, const unsigned int );
111  bool isGoodTrack( const reco::Muon* );
112  class TVector3 propagateTrack( const reco::Muon* );
113  int nLayers(const reco::TrackRef);
114  bool isValidVertex();
115 };
116 
117 }
118 
119 //____________________________________________________________________________||
120 #endif /* RecoMET_MuonTCMETValueMapProducer_h */
121 
122 
class TVector3 propagateTrack(const reco::Muon *)
edm::Handle< reco::VertexCollection > vertexHandle_
MuonTCMETValueMapProducer(const edm::ParameterSet &)
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
const reco::VertexCollection * vertices_
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_
virtual void produce(edm::Event &, const edm::EventSetup &)
string const
Definition: compareJSON.py:14
edm::Handle< reco::BeamSpot > beamSpot_
edm::EDGetTokenT< reco::MuonCollection > muonToken_