CMS 3D CMS Logo

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

#include <CSCHaloAlgo.h>

Public Member Functions

reco::CSCHaloData Calculate (const CSCGeometry &TheCSCGeometry, edm::Handle< reco::MuonCollection > &TheCosmicMuons, const edm::Handle< reco::MuonTimeExtraMap > TheCSCTimeMap, edm::Handle< reco::MuonCollection > &TheMuons, edm::Handle< CSCSegmentCollection > &TheCSCSegments, edm::Handle< CSCRecHit2DCollection > &TheCSCRecHits, edm::Handle< L1MuGMTReadoutCollection > &TheL1GMTReadout, edm::Handle< HBHERecHitCollection > &hbhehits, edm::Handle< EcalRecHitCollection > &ecalebhits, edm::Handle< EcalRecHitCollection > &ecaleehits, edm::Handle< edm::TriggerResults > &TheHLTResults, const edm::TriggerNames *triggerNames, const edm::Handle< CSCALCTDigiCollection > &TheALCTs, MuonSegmentMatcher *TheMatcher, const edm::Event &TheEvent, const edm::EventSetup &TheEventSetup)
 
 CSCHaloAlgo ()
 
void SetDetaThreshold (float x)
 
void SetDphiThreshold (float x)
 
void SetExpectedBX (int x)
 
void SetMatchingDEtaThreshold (float x)
 
void SetMatchingDPhiThreshold (float x)
 
void SetMatchingDWireThreshold (int x)
 
void SetMaxDtMuonSegment (float x)
 
void SetMaxFreeInverseBeta (float x)
 
void SetMaxSegmentPhiDiff (float x)
 
void SetMaxSegmentRDiff (float x)
 
void SetMaxSegmentTheta (float x)
 
void SetMinMaxInnerRadius (float min, float max)
 
void SetMinMaxOuterMomentumTheta (float min, float max)
 
void SetMinMaxOuterRadius (float min, float max)
 
void SetNormChi2Threshold (float x)
 
void SetRecHitTime0 (float x)
 
void SetRecHitTimeWindow (float x)
 
 ~CSCHaloAlgo ()
 

Public Attributes

std::vector< edm::InputTagvIT_HLTBit
 

Private Member Functions

bool ECALSegmentMatching (edm::Handle< EcalRecHitCollection > &rechitcoll, float et_thresh_rh, float dphi_thresh_segvsrh, float dr_lowthresh_segvsrh, float dr_highthresh_segvsrh, float dt_lowthresh_segvsrh, float dt_highthresh_segvsrh, float iZ, float iR, float iT, float iPhi)
 
math::XYZPoint getPosition (const DetId &id, reco::Vertex::Point vtx)
 
bool HCALSegmentMatching (edm::Handle< HBHERecHitCollection > &rechitcoll, float et_thresh_rh, float dphi_thresh_segvsrh, float dr_lowthresh_segvsrh, float dr_highthresh_segvsrh, float dt_lowthresh_segvsrh, float dt_highthresh_segvsrh, float iZ, float iR, float iT, float iPhi)
 

Private Attributes

float deta_threshold
 
float dphi_thresh_segvsrh_eb
 
float dphi_thresh_segvsrh_ee
 
float dphi_thresh_segvsrh_hbhe
 
float dphi_threshold
 
float dr_highthresh_segvsrh_eb
 
float dr_highthresh_segvsrh_ee
 
float dr_highthresh_segvsrh_hbhe
 
float dr_lowthresh_segvsrh_eb
 
float dr_lowthresh_segvsrh_ee
 
float dr_lowthresh_segvsrh_hbhe
 
float dt_highthresh_segvsrh_eb
 
float dt_highthresh_segvsrh_ee
 
float dt_highthresh_segvsrh_hbhe
 
float dt_lowthresh_segvsrh_eb
 
float dt_lowthresh_segvsrh_ee
 
float dt_lowthresh_segvsrh_hbhe
 
float et_thresh_rh_eb
 
float et_thresh_rh_ee
 
float et_thresh_rh_hbhe
 
int expected_BX
 
const CaloGeometrygeo
 
float matching_deta_threshold
 
float matching_dphi_threshold
 
int matching_dwire_threshold
 
float max_dt_muon_segment
 
float max_free_inverse_beta
 
float max_inner_radius
 
float max_outer_radius
 
float max_outer_theta
 
float max_segment_phi_diff
 
float max_segment_r_diff
 
float max_segment_theta
 
float min_inner_radius
 
float min_outer_radius
 
float min_outer_theta
 
float norm_chi2_threshold
 
float recHit_t0
 
float recHit_twindow
 

Detailed Description

Definition at line 90 of file CSCHaloAlgo.h.

Constructor & Destructor Documentation

CSCHaloAlgo::CSCHaloAlgo ( )

Definition at line 17 of file CSCHaloAlgo.cc.

CSCHaloAlgo::~CSCHaloAlgo ( )
inline

Definition at line 94 of file CSCHaloAlgo.h.

Member Function Documentation

reco::CSCHaloData CSCHaloAlgo::Calculate ( const CSCGeometry TheCSCGeometry,
edm::Handle< reco::MuonCollection > &  TheCosmicMuons,
const edm::Handle< reco::MuonTimeExtraMap TheCSCTimeMap,
edm::Handle< reco::MuonCollection > &  TheMuons,
edm::Handle< CSCSegmentCollection > &  TheCSCSegments,
edm::Handle< CSCRecHit2DCollection > &  TheCSCRecHits,
edm::Handle< L1MuGMTReadoutCollection > &  TheL1GMTReadout,
edm::Handle< HBHERecHitCollection > &  hbhehits,
edm::Handle< EcalRecHitCollection > &  ecalebhits,
edm::Handle< EcalRecHitCollection > &  ecaleehits,
edm::Handle< edm::TriggerResults > &  TheHLTResults,
const edm::TriggerNames triggerNames,
const edm::Handle< CSCALCTDigiCollection > &  TheALCTs,
MuonSegmentMatcher TheMatcher,
const edm::Event TheEvent,
const edm::EventSetup TheEventSetup 
)

Definition at line 70 of file CSCHaloAlgo.cc.

bool CSCHaloAlgo::ECALSegmentMatching ( edm::Handle< EcalRecHitCollection > &  rechitcoll,
float  et_thresh_rh,
float  dphi_thresh_segvsrh,
float  dr_lowthresh_segvsrh,
float  dr_highthresh_segvsrh,
float  dt_lowthresh_segvsrh,
float  dt_highthresh_segvsrh,
float  iZ,
float  iR,
float  iT,
float  iPhi 
)
private

Definition at line 551 of file CSCHaloAlgo.cc.

math::XYZPoint CSCHaloAlgo::getPosition ( const DetId id,
reco::Vertex::Point  vtx 
)
private

Definition at line 522 of file CSCHaloAlgo.cc.

bool CSCHaloAlgo::HCALSegmentMatching ( edm::Handle< HBHERecHitCollection > &  rechitcoll,
float  et_thresh_rh,
float  dphi_thresh_segvsrh,
float  dr_lowthresh_segvsrh,
float  dr_highthresh_segvsrh,
float  dt_lowthresh_segvsrh,
float  dt_highthresh_segvsrh,
float  iZ,
float  iR,
float  iT,
float  iPhi 
)
private

Definition at line 530 of file CSCHaloAlgo.cc.

void CSCHaloAlgo::SetDetaThreshold ( float  x)
inline

Definition at line 107 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetDphiThreshold ( float  x)
inline

Definition at line 110 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetExpectedBX ( int  x)
inline

Definition at line 114 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetMatchingDEtaThreshold ( float  x)
inline

Definition at line 117 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetMatchingDPhiThreshold ( float  x)
inline

Definition at line 116 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetMatchingDWireThreshold ( int  x)
inline

Definition at line 118 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetMaxDtMuonSegment ( float  x)
inline

Definition at line 119 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetMaxFreeInverseBeta ( float  x)
inline

Definition at line 120 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetMaxSegmentPhiDiff ( float  x)
inline

Definition at line 124 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetMaxSegmentRDiff ( float  x)
inline

Definition at line 123 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetMaxSegmentTheta ( float  x)
inline

Definition at line 125 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetMinMaxInnerRadius ( float  min,
float  max 
)
inline

Definition at line 108 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetMinMaxOuterMomentumTheta ( float  min,
float  max 
)
inline

Definition at line 115 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetMinMaxOuterRadius ( float  min,
float  max 
)
inline

Definition at line 109 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetNormChi2Threshold ( float  x)
inline

Definition at line 111 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetRecHitTime0 ( float  x)
inline

Definition at line 112 of file CSCHaloAlgo.h.

void CSCHaloAlgo::SetRecHitTimeWindow ( float  x)
inline

Definition at line 113 of file CSCHaloAlgo.h.

Member Data Documentation

float CSCHaloAlgo::deta_threshold
private

Definition at line 129 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dphi_thresh_segvsrh_eb
private

Definition at line 152 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dphi_thresh_segvsrh_ee
private

Definition at line 153 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dphi_thresh_segvsrh_hbhe
private

Definition at line 151 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dphi_threshold
private

Definition at line 136 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dr_highthresh_segvsrh_eb
private

Definition at line 152 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dr_highthresh_segvsrh_ee
private

Definition at line 153 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dr_highthresh_segvsrh_hbhe
private

Definition at line 151 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dr_lowthresh_segvsrh_eb
private

Definition at line 152 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dr_lowthresh_segvsrh_ee
private

Definition at line 153 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dr_lowthresh_segvsrh_hbhe
private

Definition at line 151 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dt_highthresh_segvsrh_eb
private

Definition at line 152 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dt_highthresh_segvsrh_ee
private

Definition at line 153 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dt_highthresh_segvsrh_hbhe
private

Definition at line 151 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dt_lowthresh_segvsrh_eb
private

Definition at line 152 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dt_lowthresh_segvsrh_ee
private

Definition at line 153 of file CSCHaloAlgo.h.

float CSCHaloAlgo::dt_lowthresh_segvsrh_hbhe
private

Definition at line 151 of file CSCHaloAlgo.h.

float CSCHaloAlgo::et_thresh_rh_eb
private

Definition at line 152 of file CSCHaloAlgo.h.

float CSCHaloAlgo::et_thresh_rh_ee
private

Definition at line 153 of file CSCHaloAlgo.h.

float CSCHaloAlgo::et_thresh_rh_hbhe
private

Definition at line 151 of file CSCHaloAlgo.h.

int CSCHaloAlgo::expected_BX
private

Definition at line 140 of file CSCHaloAlgo.h.

const CaloGeometry* CSCHaloAlgo::geo
private

Definition at line 157 of file CSCHaloAlgo.h.

float CSCHaloAlgo::matching_deta_threshold
private

Definition at line 142 of file CSCHaloAlgo.h.

float CSCHaloAlgo::matching_dphi_threshold
private

Definition at line 141 of file CSCHaloAlgo.h.

int CSCHaloAlgo::matching_dwire_threshold
private

Definition at line 143 of file CSCHaloAlgo.h.

float CSCHaloAlgo::max_dt_muon_segment
private

Definition at line 144 of file CSCHaloAlgo.h.

float CSCHaloAlgo::max_free_inverse_beta
private

Definition at line 145 of file CSCHaloAlgo.h.

float CSCHaloAlgo::max_inner_radius
private

Definition at line 133 of file CSCHaloAlgo.h.

float CSCHaloAlgo::max_outer_radius
private

Definition at line 135 of file CSCHaloAlgo.h.

float CSCHaloAlgo::max_outer_theta
private

Definition at line 130 of file CSCHaloAlgo.h.

float CSCHaloAlgo::max_segment_phi_diff
private

Definition at line 148 of file CSCHaloAlgo.h.

float CSCHaloAlgo::max_segment_r_diff
private

Definition at line 147 of file CSCHaloAlgo.h.

float CSCHaloAlgo::max_segment_theta
private

Definition at line 149 of file CSCHaloAlgo.h.

float CSCHaloAlgo::min_inner_radius
private

Definition at line 132 of file CSCHaloAlgo.h.

float CSCHaloAlgo::min_outer_radius
private

Definition at line 134 of file CSCHaloAlgo.h.

float CSCHaloAlgo::min_outer_theta
private

Definition at line 131 of file CSCHaloAlgo.h.

float CSCHaloAlgo::norm_chi2_threshold
private

Definition at line 137 of file CSCHaloAlgo.h.

float CSCHaloAlgo::recHit_t0
private

Definition at line 138 of file CSCHaloAlgo.h.

float CSCHaloAlgo::recHit_twindow
private

Definition at line 139 of file CSCHaloAlgo.h.

std::vector<edm::InputTag> CSCHaloAlgo::vIT_HLTBit

Definition at line 105 of file CSCHaloAlgo.h.