17 #ifndef CalibrationIsolatedParticleseHCALMatrix_h
18 #define CalibrationIsolatedParticleseHCALMatrix_h
36 double eHCALmatrix(
const HcalTopology*
topology,
const DetId& det,
edm::Handle<T>& hits,
int ieta,
int iphi,
bool includeHO=
false,
bool algoNew=
true,
double hbThr=-100,
double heThr=-100,
double hfThr=-100,
double hoThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
39 double eHCALmatrix(
const HcalTopology*
topology,
const DetId& det,
edm::Handle<T>& hits,
int ietaE,
int ietaW,
int iphiN,
int iphiS,
bool includeHO=
false,
double hbThr=-100,
double heThr=-100,
double hfThr=-100,
double hoThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
42 double eHCALmatrix(
const CaloGeometry* geo,
const HcalTopology*
topology,
const DetId& det0,
edm::Handle<T>& hits,
int ieta,
int iphi,
int& nRecHits, std::vector<int>& RH_ieta, std::vector<int>& RH_iphi, std::vector<double>& RH_ene,
GlobalPoint& gPosHotCell);
48 double energyHCALmatrixNew(
const HcalTopology*
topology,
const DetId& det,
edm::Handle<T>& hits,
int ieta,
int iphi,
bool includeHO=
false,
double hbThr=-100,
double heThr=-100,
double hfThr=-100,
double hoThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
51 double energyHCALmatrixTotal(
const HcalTopology*
topology,
const DetId& det,
edm::Handle<T>& hits,
int ietaE,
int ietaW,
int iphiN,
int iphiS,
bool includeHO=
false,
double hbThr=-100,
double heThr=-100,
double hfThr=-100,
double hoThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
60 double energyHCAL(std::vector<DetId>& vdets,
edm::Handle<T>& hits,
double hbThr=-100,
double heThr=-100,
double hfThr=-100,
double hoThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
63 void hitsHCAL(std::vector<DetId>& vdets,
edm::Handle<T>& hits, std::vector< typename T::const_iterator>& hitlist,
bool debug=
false);
67 #include "Calibration/IsolatedParticles/interface/eHCALMatrix.icc"
double energyHCAL(std::vector< DetId > &vdets, edm::Handle< T > &hits, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool debug=false)
CaloTopology const * topology(0)
double energyHCALmatrixNew(const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ieta, int iphi, bool includeHO=false, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool debug=false)
void hitHCALmatrixTotal(const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ietaE, int ietaW, int iphiN, int iphiS, std::vector< typename T::const_iterator > &hitlist, bool includeHO=false, bool debug=false)
double eHCALmatrix(const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ieta, int iphi, bool includeHO=false, bool algoNew=true, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool debug=false)
double energyHCALmatrixTotal(const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ietaE, int ietaW, int iphiN, int iphiS, bool includeHO=false, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool debug=false)
void hitsHCAL(std::vector< DetId > &vdets, edm::Handle< T > &hits, std::vector< typename T::const_iterator > &hitlist, bool debug=false)
void hitHCALmatrix(const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ieta, int iphi, std::vector< typename T::const_iterator > &hitlist, bool includeHO=false, bool debug=false)