CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MuonCaloCompatibility.h
Go to the documentation of this file.
1 #ifndef MuonIdentification_MuonCaloCompatibility_h
2 #define MuonIdentification_MuonCaloCompatibility_h
3 
4 // -*- C++ -*-
5 //
6 // Package: MuonIdentification
7 // Class: MuonCaloCompatibility
8 //
9 /*
10 
11  Description: test track muon hypothesis using energy deposition in ECAL,HCAL,HO
12 
13 */
14 //
15 // Original Author: Ingo Bloch
16 //
17 //
18 
19 #include "TH2.h"
20 #include "TH2D.h"
23 
24 #include <string>
25 
27 public:
29  void configure(const edm::ParameterSet&);
30  double evaluate(const reco::Muon&);
31 
32 private:
33  bool accessing_overflow(const TH2D& histo, double x, double y);
35 
36  // used input templates for given eta
37  std::shared_ptr<TH2D> pion_template_em;
38  std::shared_ptr<TH2D> pion_template_had;
39  std::shared_ptr<TH2D> pion_template_ho;
40  std::shared_ptr<TH2D> muon_template_em;
41  std::shared_ptr<TH2D> muon_template_had;
42  std::shared_ptr<TH2D> muon_template_ho;
43  // input template functions by eta
44  std::shared_ptr<TH2D> pion_had_etaEpl;
45  std::shared_ptr<TH2D> pion_em_etaEpl;
46  std::shared_ptr<TH2D> pion_had_etaTpl;
47  std::shared_ptr<TH2D> pion_em_etaTpl;
48  std::shared_ptr<TH2D> pion_ho_etaB;
49  std::shared_ptr<TH2D> pion_had_etaB;
50  std::shared_ptr<TH2D> pion_em_etaB;
51  std::shared_ptr<TH2D> pion_had_etaTmi;
52  std::shared_ptr<TH2D> pion_em_etaTmi;
53  std::shared_ptr<TH2D> pion_had_etaEmi;
54  std::shared_ptr<TH2D> pion_em_etaEmi;
55 
56  std::shared_ptr<TH2D> muon_had_etaEpl;
57  std::shared_ptr<TH2D> muon_em_etaEpl;
58  std::shared_ptr<TH2D> muon_had_etaTpl;
59  std::shared_ptr<TH2D> muon_em_etaTpl;
60  std::shared_ptr<TH2D> muon_ho_etaB;
61  std::shared_ptr<TH2D> muon_had_etaB;
62  std::shared_ptr<TH2D> muon_em_etaB;
63  std::shared_ptr<TH2D> muon_had_etaTmi;
64  std::shared_ptr<TH2D> muon_em_etaTmi;
65  std::shared_ptr<TH2D> muon_had_etaEmi;
66  std::shared_ptr<TH2D> muon_em_etaEmi;
67 
68  double pbx;
69  double pby;
70  double pbz;
71 
72  double psx;
73  double psy;
74  double psz;
75 
77 
80 };
81 #endif
std::shared_ptr< TH2D > muon_em_etaTmi
std::shared_ptr< TH2D > muon_template_em
std::shared_ptr< TH2D > muon_em_etaEmi
std::shared_ptr< TH2D > pion_ho_etaB
std::shared_ptr< TH2D > muon_ho_etaB
std::shared_ptr< TH2D > pion_had_etaEpl
double evaluate(const reco::Muon &)
std::shared_ptr< TH2D > pion_had_etaB
std::shared_ptr< TH2D > pion_em_etaEpl
std::shared_ptr< TH2D > muon_had_etaEpl
std::shared_ptr< TH2D > muon_template_ho
std::shared_ptr< TH2D > pion_template_em
std::shared_ptr< TH2D > pion_had_etaTmi
std::shared_ptr< TH2D > muon_template_had
std::shared_ptr< TH2D > pion_em_etaB
std::shared_ptr< TH2D > pion_em_etaTmi
std::shared_ptr< TH2D > muon_had_etaTpl
bool accessing_overflow(const TH2D &histo, double x, double y)
void configure(const edm::ParameterSet &)
std::shared_ptr< TH2D > pion_template_had
std::shared_ptr< TH2D > pion_template_ho
std::shared_ptr< TH2D > muon_em_etaB
std::shared_ptr< TH2D > pion_em_etaTpl
std::shared_ptr< TH2D > pion_had_etaEmi
std::shared_ptr< TH2D > muon_had_etaTmi
std::shared_ptr< TH2D > pion_em_etaEmi
std::shared_ptr< TH2D > muon_em_etaTpl
std::shared_ptr< TH2D > pion_had_etaTpl
std::shared_ptr< TH2D > muon_had_etaEmi
std::shared_ptr< TH2D > muon_had_etaB
std::shared_ptr< TH2D > muon_em_etaEpl