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,
bool useRaw=
false,
bool debug=
false);
43 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 useRaw=
false,
bool debug=
false);
46 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,
bool useRaw=
false);
49 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,
bool useRaw=
false);
55 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 useRaw=
false,
bool debug=
false);
58 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 useRaw=
false,
bool debug=
false);
67 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 useRaw=
false,
bool debug=
false);
70 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 useRaw=
false,
bool debug=
false);
80 #include "Calibration/IsolatedParticles/interface/eHCALMatrix.icc"
CaloTopology const * topology(0)
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 useRaw=false, bool debug=false)
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 useRaw=false, 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 useRaw=false, 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)
void hitsHCAL(std::vector< DetId > &vdets, edm::Handle< T > &hits, std::vector< typename T::const_iterator > &hitlist, 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 useRaw=false, 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, bool useRaw=false, 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)
HcalDetId getHotCell(std::vector< HBHERecHitCollection::const_iterator > &hit, bool includeHO, bool useRaw=false, bool debug=false)