17 #ifndef CalibrationIsolatedParticleseHCALMatrix_h 18 #define CalibrationIsolatedParticleseHCALMatrix_h 40 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,
int useRaw=0,
bool debug=
false);
42 double eHCALmatrix(
const HcalTopology*
topology,
const DetId& det, std::vector<PCaloHit>&
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);
45 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,
int useRaw=0,
bool debug=
false);
48 double eHCALmatrix(
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, std::set<int>& uniqueIdset,
int useRaw=0);
51 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,
int useRaw=0);
59 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,
int useRaw=0,
bool debug=
false);
62 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,
int useRaw=0,
bool debug=
false);
71 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,
int useRaw=0,
bool debug=
false);
74 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,
int useRaw=0,
int depthHE=3,
bool debug=
false);
76 void energyHCALCell(
HcalDetId detId, std::vector<PCaloHit>&
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,
int depthHE=3,
bool debug=
false);
85 double eHCALThreshold(
int subdet,
double hbThr=-100,
double heThr=-100,
double hfThr=-100,
double hoThr=-100);
88 #include "Calibration/IsolatedParticles/interface/eHCALMatrix.icc"
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, int useRaw=0, bool debug=false)
CaloTopology const * topology(0)
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, int useRaw=0, 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)
HcalDetId getHotCell(std::vector< HBHERecHitCollection::const_iterator > &hit, bool includeHO, int useRaw=0, bool debug=false)
double eHCALThreshold(int subdet, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100)
void hitsHCAL(std::vector< DetId > &vdets, edm::Handle< T > &hits, std::vector< typename T::const_iterator > &hitlist, bool debug=false)
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, int useRaw=0, 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)
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, int useRaw=0, int depthHE=3, 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, int useRaw=0, bool debug=false)