test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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"
21 #include "TFile.h"
24 #include "boost/shared_ptr.hpp"
25 #include <string>
26 
28  public:
30  void configure(const edm::ParameterSet&);
31  double evaluate( const reco::Muon& );
32  private:
33  bool accessing_overflow( TH2D* histo, double x, double y );
35 
36  /* std::string muon_templateFileName; */
37  /* std::string pion_templateFileName; */
40 
41  boost::shared_ptr<TFile> pion_templates;
42  boost::shared_ptr<TFile> muon_templates;
43  // used input templates for given eta
50  // input template functions by eta
55  TH2D* pion_ho_etaB ;
56  TH2D* pion_had_etaB ;
57  TH2D* pion_em_etaB ;
62 
67  TH2D* muon_ho_etaB ;
68  TH2D* muon_had_etaB ;
69  TH2D* muon_em_etaB ;
74 
75  double pbx;
76  double pby;
77  double pbz;
78 
79  double psx;
80  double psy;
81  double psz;
82 
84 
87 };
88 #endif
double evaluate(const reco::Muon &)
boost::shared_ptr< TFile > pion_templates
void configure(const edm::ParameterSet &)
bool accessing_overflow(TH2D *histo, double x, double y)
volatile std::atomic< bool > shutdown_flag false
boost::shared_ptr< TFile > muon_templates