CMS 3D CMS Logo

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
MuonCaloCompatibility::pion_had_etaTmi
std::shared_ptr< TH2D > pion_had_etaTmi
Definition: MuonCaloCompatibility.h:51
MuonCaloCompatibility::psx
double psx
Definition: MuonCaloCompatibility.h:72
MuonCaloCompatibility::pbx
double pbx
Definition: MuonCaloCompatibility.h:68
DDAxes::y
Muon.h
MuonCaloCompatibility::muon_em_etaEpl
std::shared_ptr< TH2D > muon_em_etaEpl
Definition: MuonCaloCompatibility.h:57
funct::false
false
Definition: Factorize.h:29
MuonCaloCompatibility::use_em_special
bool use_em_special
Definition: MuonCaloCompatibility.h:79
MuonCaloCompatibility::muon_em_etaTmi
std::shared_ptr< TH2D > muon_em_etaTmi
Definition: MuonCaloCompatibility.h:64
MuonCaloCompatibility::pbz
double pbz
Definition: MuonCaloCompatibility.h:70
MuonCaloCompatibility::pion_em_etaTpl
std::shared_ptr< TH2D > pion_em_etaTpl
Definition: MuonCaloCompatibility.h:47
MuonCaloCompatibility::pion_had_etaEmi
std::shared_ptr< TH2D > pion_had_etaEmi
Definition: MuonCaloCompatibility.h:53
MuonCaloCompatibility::pion_had_etaEpl
std::shared_ptr< TH2D > pion_had_etaEpl
Definition: MuonCaloCompatibility.h:44
timingPdfMaker.histo
histo
Definition: timingPdfMaker.py:279
MuonCaloCompatibility::pion_had_etaB
std::shared_ptr< TH2D > pion_had_etaB
Definition: MuonCaloCompatibility.h:49
MuonCaloCompatibility::muon_had_etaTpl
std::shared_ptr< TH2D > muon_had_etaTpl
Definition: MuonCaloCompatibility.h:58
MuonCaloCompatibility::pion_template_ho
std::shared_ptr< TH2D > pion_template_ho
Definition: MuonCaloCompatibility.h:39
MuonCaloCompatibility
Definition: MuonCaloCompatibility.h:26
DDAxes::x
MuonCaloCompatibility::pion_had_etaTpl
std::shared_ptr< TH2D > pion_had_etaTpl
Definition: MuonCaloCompatibility.h:46
MuonCaloCompatibility::muon_had_etaEmi
std::shared_ptr< TH2D > muon_had_etaEmi
Definition: MuonCaloCompatibility.h:65
reco::Muon
Definition: Muon.h:27
MuonCaloCompatibility::muon_em_etaB
std::shared_ptr< TH2D > muon_em_etaB
Definition: MuonCaloCompatibility.h:62
MuonCaloCompatibility::configure
void configure(const edm::ParameterSet &)
Definition: MuonCaloCompatibility.cc:21
MuonCaloCompatibility::pion_em_etaB
std::shared_ptr< TH2D > pion_em_etaB
Definition: MuonCaloCompatibility.h:50
MuonCaloCompatibility::muon_ho_etaB
std::shared_ptr< TH2D > muon_ho_etaB
Definition: MuonCaloCompatibility.h:60
MuonCaloCompatibility::muon_em_etaTpl
std::shared_ptr< TH2D > muon_em_etaTpl
Definition: MuonCaloCompatibility.h:59
MuonCaloCompatibility::muon_compatibility
double muon_compatibility
Definition: MuonCaloCompatibility.h:76
MuonCaloCompatibility::muon_template_had
std::shared_ptr< TH2D > muon_template_had
Definition: MuonCaloCompatibility.h:41
MuonCaloCompatibility::isConfigured_
bool isConfigured_
Definition: MuonCaloCompatibility.h:34
edm::ParameterSet
Definition: ParameterSet.h:47
MuonCaloCompatibility::psz
double psz
Definition: MuonCaloCompatibility.h:74
MuonCaloCompatibility::muon_em_etaEmi
std::shared_ptr< TH2D > muon_em_etaEmi
Definition: MuonCaloCompatibility.h:66
MuonCaloCompatibility::accessing_overflow
bool accessing_overflow(const TH2D &histo, double x, double y)
Definition: MuonCaloCompatibility.cc:142
MuonCaloCompatibility::muon_had_etaEpl
std::shared_ptr< TH2D > muon_had_etaEpl
Definition: MuonCaloCompatibility.h:56
MuonCaloCompatibility::pion_em_etaEmi
std::shared_ptr< TH2D > pion_em_etaEmi
Definition: MuonCaloCompatibility.h:54
MuonCaloCompatibility::use_corrected_hcal
bool use_corrected_hcal
Definition: MuonCaloCompatibility.h:78
MuonCaloCompatibility::pby
double pby
Definition: MuonCaloCompatibility.h:69
MuonCaloCompatibility::muon_had_etaB
std::shared_ptr< TH2D > muon_had_etaB
Definition: MuonCaloCompatibility.h:61
MuonCaloCompatibility::psy
double psy
Definition: MuonCaloCompatibility.h:73
MuonCaloCompatibility::pion_ho_etaB
std::shared_ptr< TH2D > pion_ho_etaB
Definition: MuonCaloCompatibility.h:48
MuonCaloCompatibility::pion_em_etaTmi
std::shared_ptr< TH2D > pion_em_etaTmi
Definition: MuonCaloCompatibility.h:52
MuonCaloCompatibility::pion_template_had
std::shared_ptr< TH2D > pion_template_had
Definition: MuonCaloCompatibility.h:38
MuonCaloCompatibility::pion_em_etaEpl
std::shared_ptr< TH2D > pion_em_etaEpl
Definition: MuonCaloCompatibility.h:45
MuonCaloCompatibility::muon_template_ho
std::shared_ptr< TH2D > muon_template_ho
Definition: MuonCaloCompatibility.h:42
MuonCaloCompatibility::MuonCaloCompatibility
MuonCaloCompatibility()
Definition: MuonCaloCompatibility.h:28
MuonCaloCompatibility::pion_template_em
std::shared_ptr< TH2D > pion_template_em
Definition: MuonCaloCompatibility.h:37
MuonCaloCompatibility::muon_had_etaTmi
std::shared_ptr< TH2D > muon_had_etaTmi
Definition: MuonCaloCompatibility.h:63
ParameterSet.h
MuonCaloCompatibility::evaluate
double evaluate(const reco::Muon &)
Definition: MuonCaloCompatibility.cc:154
MuonCaloCompatibility::muon_template_em
std::shared_ptr< TH2D > muon_template_em
Definition: MuonCaloCompatibility.h:40