17 #ifndef CalibrationIsolatedParticleseECALMatrix_h
18 #define CalibrationIsolatedParticleseECALMatrix_h
46 double eECALmatrix(
const DetId& detId,
edm::Handle<T>& hitsEB,
edm::Handle<T>& hitsEE,
const CaloGeometry* geo,
const CaloTopology* caloTopology,
int ieta,
int iphi,
double ebThr=-100,
double eeThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
49 double eECALmatrix(
const DetId& detId,
edm::Handle<T>& hitsEB,
edm::Handle<T>& hitsEE,
const CaloGeometry* geo,
const CaloTopology* caloTopology,
const EcalTrigTowerConstituentsMap& ttMap,
int ieta,
int iphi,
double ebThr=-100,
double eeThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
52 double eECALmatrix(
const DetId& detId,
edm::Handle<T>& hitsEB,
edm::Handle<T>& hitsEE,
const CaloGeometry* geo,
const CaloTopology* caloTopology,
int ietaE,
int ietaW,
int iphiN,
int iphiS,
double ebThr=-100,
double eeThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
54 std::pair <double,bool>
eECALmatrix(
const DetId& detId,
edm::Handle<EcalRecHitCollection>& hitsEB,
edm::Handle<EcalRecHitCollection>& hitsEE,
const EcalChannelStatus& chStatus,
const CaloGeometry* geo,
const CaloTopology* caloTopology,
const EcalSeverityLevelAlgo* sevlv,
int ieta,
int iphi,
double ebThr=-100,
double eeThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
56 std::pair <double,bool>
eECALmatrix(
const DetId& detId,
edm::Handle<EcalRecHitCollection>& hitsEB,
edm::Handle<EcalRecHitCollection>& hitsEE,
const EcalChannelStatus& chStatus,
const CaloGeometry* geo,
const CaloTopology* caloTopology,
const EcalSeverityLevelAlgo* sevlv,
const EcalTrigTowerConstituentsMap& ttMap,
int ieta,
int iphi,
double ebThr=-100,
double eeThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
74 #include "Calibration/IsolatedParticles/interface/eECALMatrix.icc"
double energyECAL(std::vector< DetId > &vdets, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false)
double energyECALTower(const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const EcalTrigTowerConstituentsMap &ttMap, bool debug=false)
void hitECALmatrix(CaloNavigator< DetId > &navigator, edm::Handle< T > &hits, int ieta, int iphi, std::vector< typename T::const_iterator > &hitlist, bool debug=false)
double eECALmatrix(const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false)