CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
GlobalHaloAlgo Class Reference

#include <GlobalHaloAlgo.h>

Public Member Functions

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)
 
 GlobalHaloAlgo ()
 
void SetCaloTowerEtThreshold (float EtMin)
 
void setDPhicalosegmThresholdforCSCCaloMatchingEB (float x)
 
void setDPhicalosegmThresholdforCSCCaloMatchingEE (float x)
 
void setDPhicalosegmThresholdforCSCCaloMatchingHB (float x)
 
void setDPhicalosegmThresholdforCSCCaloMatchingHE (float x)
 
void setDtcalosegmThresholdforCSCCaloMatchingEB (float x)
 
void setDtcalosegmThresholdforCSCCaloMatchingEE (float x)
 
void setDtcalosegmThresholdforCSCCaloMatchingHB (float x)
 
void setDtcalosegmThresholdforCSCCaloMatchingHE (float x)
 
void SetEcalMatchingRadius (float min, float max)
 
void setEtThresholdforCSCCaloMatchingEB (float x)
 
void setEtThresholdforCSCCaloMatchingEE (float x)
 
void setEtThresholdforCSCCaloMatchingHB (float x)
 
void setEtThresholdforCSCCaloMatchingHE (float x)
 
void SetHcalMatchingRadius (float min, float max)
 
void SetMaxSegmentTheta (float x)
 
void setRcaloMinRsegmHighThresholdforCSCCaloMatchingEB (float x)
 
void setRcaloMinRsegmHighThresholdforCSCCaloMatchingEE (float x)
 
void setRcaloMinRsegmHighThresholdforCSCCaloMatchingHB (float x)
 
void setRcaloMinRsegmHighThresholdforCSCCaloMatchingHE (float x)
 
void setRcaloMinRsegmLowThresholdforCSCCaloMatchingEB (float x)
 
void setRcaloMinRsegmLowThresholdforCSCCaloMatchingEE (float x)
 
void setRcaloMinRsegmLowThresholdforCSCCaloMatchingHB (float x)
 
void setRcaloMinRsegmLowThresholdforCSCCaloMatchingHE (float x)
 
 ~GlobalHaloAlgo ()
 

Private Member Functions

void AddtoBeamHaloEBEERechits (edm::RefVector< EcalRecHitCollection > &bhtaggedrechits, reco::GlobalHaloData &thehalodata, bool isbarrel)
 
void AddtoBeamHaloHBHERechits (edm::RefVector< HBHERecHitCollection > &bhtaggedrechits, reco::GlobalHaloData &thehalodata)
 
bool ApplyMatchingCuts (int subdet, bool ishlt, double rhet, double segZ, double rhZ, double segR, double rhR, double segT, double rhT, double segPhi, double rhPhi)
 
bool SegmentMatchingEB (reco::GlobalHaloData &thehalodata, const std::vector< reco::HaloClusterCandidateECAL > &haloclustercands, float iZ, float iR, float iT, float iPhi, bool ishlt)
 
bool SegmentMatchingEE (reco::GlobalHaloData &thehalodata, const std::vector< reco::HaloClusterCandidateECAL > &haloclustercands, float iZ, float iR, float iT, float iPhi, bool ishlt)
 
bool SegmentMatchingHB (reco::GlobalHaloData &thehalodata, const std::vector< reco::HaloClusterCandidateHCAL > &haloclustercands, float iZ, float iR, float iT, float iPhi, bool ishlt)
 
bool SegmentMatchingHE (reco::GlobalHaloData &thehalodata, const std::vector< reco::HaloClusterCandidateHCAL > &haloclustercands, float iZ, float iR, float iT, float iPhi, bool ishlt)
 

Private Attributes

float dphi_thresh_segvsrh_eb
 
float dphi_thresh_segvsrh_ee
 
float dphi_thresh_segvsrh_hb
 
float dphi_thresh_segvsrh_he
 
float dr_highthresh_segvsrh_eb
 
float dr_highthresh_segvsrh_ee
 
float dr_highthresh_segvsrh_hb
 
float dr_highthresh_segvsrh_he
 
float dr_lowthresh_segvsrh_eb
 
float dr_lowthresh_segvsrh_ee
 
float dr_lowthresh_segvsrh_hb
 
float dr_lowthresh_segvsrh_he
 
float dt_segvsrh_eb
 
float dt_segvsrh_ee
 
float dt_segvsrh_hb
 
float dt_segvsrh_he
 
float Ecal_R_Max
 
float Ecal_R_Min
 
float et_thresh_rh_eb
 
float et_thresh_rh_ee
 
float et_thresh_rh_hb
 
float et_thresh_rh_he
 
float Hcal_R_Max
 
float Hcal_R_Min
 
float max_segment_theta
 
float TowerEtThreshold
 

Detailed Description

Definition at line 60 of file GlobalHaloAlgo.h.

Constructor & Destructor Documentation

GlobalHaloAlgo::GlobalHaloAlgo ( )

Definition at line 34 of file GlobalHaloAlgo.cc.

GlobalHaloAlgo::~GlobalHaloAlgo ( )
inline

Definition at line 65 of file GlobalHaloAlgo.h.

Member Function Documentation

void GlobalHaloAlgo::AddtoBeamHaloEBEERechits ( edm::RefVector< EcalRecHitCollection > &  bhtaggedrechits,
reco::GlobalHaloData thehalodata,
bool  isbarrel 
)
private

Definition at line 531 of file GlobalHaloAlgo.cc.

void GlobalHaloAlgo::AddtoBeamHaloHBHERechits ( edm::RefVector< HBHERecHitCollection > &  bhtaggedrechits,
reco::GlobalHaloData thehalodata 
)
private

Definition at line 549 of file GlobalHaloAlgo.cc.

bool GlobalHaloAlgo::ApplyMatchingCuts ( int  subdet,
bool  ishlt,
double  rhet,
double  segZ,
double  rhZ,
double  segR,
double  rhR,
double  segT,
double  rhT,
double  segPhi,
double  rhPhi 
)
private

Definition at line 461 of file GlobalHaloAlgo.cc.

reco::GlobalHaloData GlobalHaloAlgo::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 
)

Definition at line 44 of file GlobalHaloAlgo.cc.

bool GlobalHaloAlgo::SegmentMatchingEB ( reco::GlobalHaloData thehalodata,
const std::vector< reco::HaloClusterCandidateECAL > &  haloclustercands,
float  iZ,
float  iR,
float  iT,
float  iPhi,
bool  ishlt 
)
private

Definition at line 384 of file GlobalHaloAlgo.cc.

bool GlobalHaloAlgo::SegmentMatchingEE ( reco::GlobalHaloData thehalodata,
const std::vector< reco::HaloClusterCandidateECAL > &  haloclustercands,
float  iZ,
float  iR,
float  iT,
float  iPhi,
bool  ishlt 
)
private

Definition at line 403 of file GlobalHaloAlgo.cc.

bool GlobalHaloAlgo::SegmentMatchingHB ( reco::GlobalHaloData thehalodata,
const std::vector< reco::HaloClusterCandidateHCAL > &  haloclustercands,
float  iZ,
float  iR,
float  iT,
float  iPhi,
bool  ishlt 
)
private

Definition at line 422 of file GlobalHaloAlgo.cc.

bool GlobalHaloAlgo::SegmentMatchingHE ( reco::GlobalHaloData thehalodata,
const std::vector< reco::HaloClusterCandidateHCAL > &  haloclustercands,
float  iZ,
float  iR,
float  iT,
float  iPhi,
bool  ishlt 
)
private

Definition at line 441 of file GlobalHaloAlgo.cc.

void GlobalHaloAlgo::SetCaloTowerEtThreshold ( float  EtMin)
inline

Definition at line 75 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setDPhicalosegmThresholdforCSCCaloMatchingEB ( float  x)
inline

Definition at line 85 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setDPhicalosegmThresholdforCSCCaloMatchingEE ( float  x)
inline

Definition at line 91 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setDPhicalosegmThresholdforCSCCaloMatchingHB ( float  x)
inline

Definition at line 97 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setDPhicalosegmThresholdforCSCCaloMatchingHE ( float  x)
inline

Definition at line 103 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setDtcalosegmThresholdforCSCCaloMatchingEB ( float  x)
inline

Definition at line 84 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setDtcalosegmThresholdforCSCCaloMatchingEE ( float  x)
inline

Definition at line 90 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setDtcalosegmThresholdforCSCCaloMatchingHB ( float  x)
inline

Definition at line 96 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setDtcalosegmThresholdforCSCCaloMatchingHE ( float  x)
inline

Definition at line 102 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::SetEcalMatchingRadius ( float  min,
float  max 
)
inline

Definition at line 71 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setEtThresholdforCSCCaloMatchingEB ( float  x)
inline

Definition at line 81 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setEtThresholdforCSCCaloMatchingEE ( float  x)
inline

Definition at line 87 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setEtThresholdforCSCCaloMatchingHB ( float  x)
inline

Definition at line 93 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setEtThresholdforCSCCaloMatchingHE ( float  x)
inline

Definition at line 99 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::SetHcalMatchingRadius ( float  min,
float  max 
)
inline

Definition at line 73 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::SetMaxSegmentTheta ( float  x)
inline

Definition at line 79 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setRcaloMinRsegmHighThresholdforCSCCaloMatchingEB ( float  x)
inline

Definition at line 83 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setRcaloMinRsegmHighThresholdforCSCCaloMatchingEE ( float  x)
inline

Definition at line 89 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setRcaloMinRsegmHighThresholdforCSCCaloMatchingHB ( float  x)
inline

Definition at line 95 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setRcaloMinRsegmHighThresholdforCSCCaloMatchingHE ( float  x)
inline

Definition at line 101 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setRcaloMinRsegmLowThresholdforCSCCaloMatchingEB ( float  x)
inline

Definition at line 82 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setRcaloMinRsegmLowThresholdforCSCCaloMatchingEE ( float  x)
inline

Definition at line 88 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setRcaloMinRsegmLowThresholdforCSCCaloMatchingHB ( float  x)
inline

Definition at line 94 of file GlobalHaloAlgo.h.

void GlobalHaloAlgo::setRcaloMinRsegmLowThresholdforCSCCaloMatchingHE ( float  x)
inline

Definition at line 100 of file GlobalHaloAlgo.h.

Member Data Documentation

float GlobalHaloAlgo::dphi_thresh_segvsrh_eb
private

Definition at line 118 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dphi_thresh_segvsrh_ee
private

Definition at line 124 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dphi_thresh_segvsrh_hb
private

Definition at line 130 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dphi_thresh_segvsrh_he
private

Definition at line 136 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dr_highthresh_segvsrh_eb
private

Definition at line 120 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dr_highthresh_segvsrh_ee
private

Definition at line 126 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dr_highthresh_segvsrh_hb
private

Definition at line 132 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dr_highthresh_segvsrh_he
private

Definition at line 138 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dr_lowthresh_segvsrh_eb
private

Definition at line 119 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dr_lowthresh_segvsrh_ee
private

Definition at line 125 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dr_lowthresh_segvsrh_hb
private

Definition at line 131 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dr_lowthresh_segvsrh_he
private

Definition at line 137 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dt_segvsrh_eb
private

Definition at line 121 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dt_segvsrh_ee
private

Definition at line 127 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dt_segvsrh_hb
private

Definition at line 133 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::dt_segvsrh_he
private

Definition at line 139 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::Ecal_R_Max
private

Definition at line 109 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::Ecal_R_Min
private

Definition at line 108 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::et_thresh_rh_eb
private

Definition at line 117 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::et_thresh_rh_ee
private

Definition at line 123 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::et_thresh_rh_hb
private

Definition at line 129 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::et_thresh_rh_he
private

Definition at line 135 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::Hcal_R_Max
private

Definition at line 111 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::Hcal_R_Min
private

Definition at line 110 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::max_segment_theta
private

Definition at line 115 of file GlobalHaloAlgo.h.

float GlobalHaloAlgo::TowerEtThreshold
private

Definition at line 112 of file GlobalHaloAlgo.h.