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 #ifndef RecoMET_MuonTCMETValueMapProducer_h
2 #define RecoMET_MuonTCMETValueMapProducer_h
3 
4 // -*- C++ -*-
5 //
6 // Package: Test
7 // Class: Test
8 //
16 //
17 // Created: Wed Aug 29 2007
18 //
19 //
20 
31 #include "TH2.h"
32 #include "TVector3.h"
34 
35 class TCMETAlgo;
36 
37 namespace cms {
39  public:
42 
43 // TH2D* getResponseFunction_fit ( );
44 // TH2D* getResponseFunction_mode ( );
45 
46  private:
47  virtual void beginJob() ;
48  virtual void produce(edm::Event&, const edm::EventSetup&);
49  virtual void endJob() ;
50 
51  // ----------member data ---------------------------
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  //functions
108  bool isGoodMuon( const reco::Muon* );
109  bool isGoodCaloMuon( const reco::Muon*, const unsigned int );
110  bool isGoodTrack( const reco::Muon* );
111  class TVector3 propagateTrack( const reco::Muon* );
112  int nLayers(const reco::TrackRef);
113  bool isValidVertex();
114  };
115 }
116 #endif
117 
118 
class TVector3 propagateTrack(const reco::Muon *)
MuonTCMETValueMapProducer(const edm::ParameterSet &)
const reco::VertexCollection * vertexColl
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
bool isGoodCaloMuon(const reco::Muon *, const unsigned int)
edm::Handle< reco::VertexCollection > VertexHandle
edm::Handle< reco::MuonCollection > muon_h
virtual void produce(edm::Event &, const edm::EventSetup &)
edm::Handle< reco::BeamSpot > beamSpot_h
string const
Definition: compareJSON.py:14