17 #ifndef CalibrationIsolatedParticleseHCALMatrix_h 18 #define CalibrationIsolatedParticleseHCALMatrix_h 45 bool includeHO =
false,
58 std::vector<PCaloHit>&
hits,
61 bool includeHO =
false,
78 bool includeHO =
false,
95 std::vector<int>& RH_ieta,
96 std::vector<int>& RH_iphi,
97 std::vector<double>& RH_ene,
98 std::set<int>& uniqueIdset,
101 template <
typename T>
109 std::vector<int>& RH_ieta,
110 std::vector<int>& RH_iphi,
111 std::vector<double>& RH_ene,
115 template <
typename T>
123 bool includeHO =
false,
130 std::vector<PCaloHit>&
hits,
134 bool includeHO =
false,
137 template <
typename T>
143 bool includeHO =
false,
153 template <
typename T>
161 bool includeHO =
false,
171 template <
typename T>
177 std::vector<typename T::const_iterator>& hitlist,
178 bool includeHO =
false,
181 template <
typename T>
189 std::vector<typename T::const_iterator>& hitlist,
190 bool includeHO =
false,
193 template <
typename T>
205 template <
typename T>
221 std::vector<PCaloHit>&
hits,
233 template <
typename T>
234 void hitsHCAL(std::vector<DetId>& vdets,
236 std::vector<typename T::const_iterator>& hitlist,
249 double eHCALThreshold(
int subdet,
double hbThr = -100,
double heThr = -100,
double hfThr = -100,
double hoThr = -100);
252 #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)
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)