1 #ifndef CalibrationIsolatedParticleseCone_h 2 #define CalibrationIsolatedParticleseCone_h 24 double eCone_hcal(
const CaloGeometry* geo,
edm::Handle<T>&
hits,
const GlobalPoint& hpoint1,
const GlobalPoint& point1,
double dR,
const GlobalVector& trackMom,
int& nRecHits,
double hbThr=-100,
double heThr=-100,
double hfThr=-100,
double hoThr=-100,
double tMin=-500,
double tMax=500,
int detOnly=-1,
int useRaw=0,
bool debug=
false);
29 double eCone_hcal(
const CaloGeometry* geo,
edm::Handle<T>&
hits,
const GlobalPoint& hpoint1,
const GlobalPoint& point1,
double dR,
const GlobalVector& trackMom,
int& nRecHits, std::vector<DetId>& coneRecHitDetIds,
double& distFromHotCell,
int& ietaHotCell,
int& iphiHotCell,
GlobalPoint& gposHotCell,
int detOnly=-1,
int useRaw=0,
bool debug=
false);
32 double eCone_hcal(
const CaloGeometry* geo,
edm::Handle<T>&
hits,
const GlobalPoint& hpoint1,
const GlobalPoint& point1,
double dR,
const GlobalVector& trackMom,
int& nRecHits, std::vector<DetId>& coneRecHitDetIds, std::vector<double>& eHit,
int useRaw=0,
bool debug=
false);
38 double eCone_hcal(
const CaloGeometry* geo,
edm::Handle<T>&
hits,
const GlobalPoint& hpoint1,
const GlobalPoint& point1,
double dR,
const GlobalVector& trackMom,
int& nRecHits, std::vector<int>& RH_ieta, std::vector<int>& RH_iphi, std::vector<double>& RH_ene, std::vector<DetId>& coneRecHitDetIds,
double& distFromHotCell,
int& ietaHotCell,
int& iphiHotCell,
GlobalPoint& gposHotCell,
int detOnly=-1,
int useRaw=0,
bool debug=
false);
42 double eCone_ecal(
const CaloGeometry* geo,
edm::Handle<T>& barrelhits,
edm::Handle<T>& endcaphits,
const GlobalPoint& hpoint1,
const GlobalPoint& point1,
double dR,
const GlobalVector& trackMom,
int& nRecHits,
double ebThr=-100,
double eeThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
45 double eCone_ecal(
const CaloGeometry* geo,
edm::Handle<T>& barrelhits,
edm::Handle<T>& endcaphits,
const GlobalPoint& hpoint1,
const GlobalPoint& point1,
double dR,
const GlobalVector& trackMom, std::vector<DetId>& coneRecHitDetIds, std::vector<double>& eHit,
double ebThr=-100,
double eeThr=-100,
double tMin=-500,
double tMax=500,
bool debug=
false);
double eCone_hcal(const CaloGeometry *geo, edm::Handle< T > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, int &nRecHits, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, int detOnly=-1, int useRaw=0, bool debug=false)
double eCone_ecal(const CaloGeometry *geo, edm::Handle< T > &barrelhits, edm::Handle< T > &endcaphits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, int &nRecHits, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false)