17 #ifndef CalibrationIsolatedParticleseHCALMatrix_h
18 #define CalibrationIsolatedParticleseHCALMatrix_h
37 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);
40 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);
43 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);
52 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);
55 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);
64 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);
67 void energyHCALCell(
HcalDetId detId,
edm::Handle<T>& hits, std::vector<std::pair<double,int> >& energyCell,
int maxDepth=1,
double hbThr=-100,
double heThr=-100,
double hfThr=-100,
double hoThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
70 void hitsHCAL(std::vector<DetId>& vdets,
edm::Handle<T>& hits, std::vector< typename T::const_iterator>& hitlist,
bool debug=
false);
76 #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)
void energyHCALCell(HcalDetId detId, edm::Handle< T > &hits, std::vector< std::pair< double, int > > &energyCell, int maxDepth=1, 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)
HcalDetId getHotCell(std::vector< HBHERecHitCollection::const_iterator > &hit, bool &includeHO, bool &debug)
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)