1 #ifndef RECOMET_METALGORITHMS_GLOBALHALOALGO_H
2 #define RECOMET_METALGORITHMS_GLOBALHALOALGO_H
68 reco::GlobalHaloData Calculate(
const CaloGeometry& TheCaloGeometry,
const CSCGeometry& TheCSCGeometry,
const reco::CaloMET& TheCaloMET,
edm::Handle<
edm::View<reco::Candidate> >& TheCaloTowers,
edm::Handle<CSCSegmentCollection>& TheCSCSegments,
edm::Handle<CSCRecHit2DCollection>& TheCSCRecHits,
edm::Handle<reco::MuonCollection>& TheMuons,
const reco::CSCHaloData& TheCSCHaloData ,
const reco::EcalHaloData& TheEcalHaloData,
const reco::HcalHaloData& TheHcalHaloData,
bool ishlt =
false);
145 bool SegmentMatchingEB(
reco::GlobalHaloData & thehalodata,
const std::vector<reco::HaloClusterCandidateECAL> & haloclustercands,
float iZ,
float iR,
float iT,
float iPhi,
bool ishlt);
146 bool SegmentMatchingEE(
reco::GlobalHaloData & thehalodata,
const std::vector<reco::HaloClusterCandidateECAL> & haloclustercands,
float iZ,
float iR,
float iT,
float iPhi,
bool ishlt);
147 bool SegmentMatchingHB(
reco::GlobalHaloData & thehalodata,
const std::vector<reco::HaloClusterCandidateHCAL> & haloclustercands,
float iZ,
float iR,
float iT,
float iPhi,
bool ishlt);
148 bool SegmentMatchingHE(
reco::GlobalHaloData & thehalodata,
const std::vector<reco::HaloClusterCandidateHCAL> & haloclustercands,
float iZ,
float iR,
float iT,
float iPhi,
bool ishlt);
149 bool ApplyMatchingCuts(
int subdet,
bool ishlt,
double rhet,
double segZ,
double rhZ,
double segR,
double rhR,
double segT,
double rhT,
double segPhi,
double rhPhi);
float dr_highthresh_segvsrh_ee
bool SegmentMatchingEE(reco::GlobalHaloData &thehalodata, const std::vector< reco::HaloClusterCandidateECAL > &haloclustercands, float iZ, float iR, float iT, float iPhi, bool ishlt)
void AddtoBeamHaloEBEERechits(edm::RefVector< EcalRecHitCollection > &bhtaggedrechits, reco::GlobalHaloData &thehalodata, bool isbarrel)
void setRcaloMinRsegmLowThresholdforCSCCaloMatchingHB(float x)
void setEtThresholdforCSCCaloMatchingHB(float x)
void SetMaxSegmentTheta(float x)
void setDtcalosegmThresholdforCSCCaloMatchingHE(float x)
void setRcaloMinRsegmHighThresholdforCSCCaloMatchingHE(float x)
void SetHcalMatchingRadius(float min, float max)
float dr_highthresh_segvsrh_eb
void setRcaloMinRsegmHighThresholdforCSCCaloMatchingHB(float x)
void setDPhicalosegmThresholdforCSCCaloMatchingEB(float x)
float dr_highthresh_segvsrh_he
void setDtcalosegmThresholdforCSCCaloMatchingEE(float x)
void setRcaloMinRsegmLowThresholdforCSCCaloMatchingEB(float x)
void setDPhicalosegmThresholdforCSCCaloMatchingEE(float x)
float dphi_thresh_segvsrh_hb
float dr_lowthresh_segvsrh_ee
float dr_lowthresh_segvsrh_hb
void setEtThresholdforCSCCaloMatchingHE(float x)
void setEtThresholdforCSCCaloMatchingEB(float x)
void setRcaloMinRsegmLowThresholdforCSCCaloMatchingHE(float x)
reco::GlobalHaloData Calculate(const CaloGeometry &TheCaloGeometry, const CSCGeometry &TheCSCGeometry, const reco::CaloMET &TheCaloMET, edm::Handle< edm::View< reco::Candidate > > &TheCaloTowers, edm::Handle< CSCSegmentCollection > &TheCSCSegments, edm::Handle< CSCRecHit2DCollection > &TheCSCRecHits, edm::Handle< reco::MuonCollection > &TheMuons, const reco::CSCHaloData &TheCSCHaloData, const reco::EcalHaloData &TheEcalHaloData, const reco::HcalHaloData &TheHcalHaloData, bool ishlt=false)
void SetEcalMatchingRadius(float min, float max)
float dphi_thresh_segvsrh_eb
bool SegmentMatchingHB(reco::GlobalHaloData &thehalodata, const std::vector< reco::HaloClusterCandidateHCAL > &haloclustercands, float iZ, float iR, float iT, float iPhi, bool ishlt)
bool SegmentMatchingEB(reco::GlobalHaloData &thehalodata, const std::vector< reco::HaloClusterCandidateECAL > &haloclustercands, float iZ, float iR, float iT, float iPhi, bool ishlt)
float dr_lowthresh_segvsrh_he
void setEtThresholdforCSCCaloMatchingEE(float x)
void setDtcalosegmThresholdforCSCCaloMatchingEB(float x)
void AddtoBeamHaloHBHERechits(edm::RefVector< HBHERecHitCollection > &bhtaggedrechits, reco::GlobalHaloData &thehalodata)
void setRcaloMinRsegmHighThresholdforCSCCaloMatchingEE(float x)
float dr_highthresh_segvsrh_hb
void setRcaloMinRsegmHighThresholdforCSCCaloMatchingEB(float x)
float dphi_thresh_segvsrh_ee
void setDPhicalosegmThresholdforCSCCaloMatchingHB(float x)
void setDPhicalosegmThresholdforCSCCaloMatchingHE(float x)
float dphi_thresh_segvsrh_he
void SetCaloTowerEtThreshold(float EtMin)
void setDtcalosegmThresholdforCSCCaloMatchingHB(float x)
bool SegmentMatchingHE(reco::GlobalHaloData &thehalodata, const std::vector< reco::HaloClusterCandidateHCAL > &haloclustercands, float iZ, float iR, float iT, float iPhi, bool ishlt)
void setRcaloMinRsegmLowThresholdforCSCCaloMatchingEE(float x)
float dr_lowthresh_segvsrh_eb
bool ApplyMatchingCuts(int subdet, bool ishlt, double rhet, double segZ, double rhZ, double segR, double rhR, double segT, double rhT, double segPhi, double rhPhi)