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 // $Id: MuonCaloCompatibility.h,v 1.4 2010/06/02 15:50:51 andersj Exp $
17 //
18 //
19 
20 #include "TH2.h"
21 #include "TH2D.h"
22 #include "TFile.h"
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; */
38  std::string MuonfileName_;
39  std::string PionfileName_;
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)
x
Definition: VDTMath.h:216
boost::shared_ptr< TFile > muon_templates