17 #ifndef CalibrationIsolatedParticleseECALMatrix_h 18 #define CalibrationIsolatedParticleseECALMatrix_h 48 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);
51 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);
54 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);
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,
int ieta,
int iphi,
double ebThr=-100,
double eeThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
58 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);
60 std::pair<double,bool>
eECALmatrix(
const HcalDetId& detId,
edm::Handle<EcalRecHitCollection>& hitsEB,
edm::Handle<EcalRecHitCollection>& hitsEE,
const CaloGeometry* geo,
const CaloTowerConstituentsMap* ctmap,
const EcalSeverityLevelAlgo* sevlv,
double ebThr=-100,
double eeThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
85 #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)
DetId hotCrystal(const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, 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)