CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CSCHaloAlgo.h
Go to the documentation of this file.
1 #ifndef RECOMET_METALGORITHMS_CSCHALOALGO_H
2 #define RECOMET_METALGORITHMS_CSCHALOALGO_H
4 
5 /*
6  [class]: CSCHaloAlgo
7  [authors]: R. Remington, The University of Florida
8  [description]: Algorithm to calculate quantities relevant to CSCHaloData object
9  [date]: October 15, 2009
10 */
11 
85 
86 namespace edm {
87  class TriggerNames;
88 }
89 
90 class CSCHaloAlgo {
91 public:
94  reco::CSCHaloData Calculate(const CSCGeometry& TheCSCGeometry,
95  edm::Handle<reco::MuonCollection>& TheCosmicMuons,
96  const edm::Handle<reco::MuonTimeExtraMap> TheCSCTimeMap,
98  edm::Handle<CSCSegmentCollection>& TheCSCSegments,
100  edm::Handle<L1MuGMTReadoutCollection>& TheL1GMTReadout,
104  edm::Handle<edm::TriggerResults>& TheHLTResults,
106  const edm::Handle<CSCALCTDigiCollection>& TheALCTs,
107  MuonSegmentMatcher* TheMatcher,
108  const edm::Event& TheEvent,
109  const edm::EventSetup& TheEventSetup);
110 
111  std::vector<edm::InputTag> vIT_HLTBit;
112 
113  void SetDetaThreshold(float x) { deta_threshold = x; }
114  void SetMinMaxInnerRadius(float min, float max) {
117  }
118  void SetMinMaxOuterRadius(float min, float max) {
121  }
122  void SetDphiThreshold(float x) { dphi_threshold = x; }
124  void SetRecHitTime0(float x) { recHit_t0 = x; }
126  void SetExpectedBX(int x) { expected_BX = x; }
127  void SetMinMaxOuterMomentumTheta(float min, float max) {
130  }
136 
137  // MLR
141  // End MLR
142 
143 private:
153  float recHit_t0;
161  // MLR
165  // End MLR
172 
178  float et_thresh_rh,
179  float dphi_thresh_segvsrh,
180  float dr_lowthresh_segvsrh,
181  float dr_highthresh_segvsrh,
182  float dt_lowthresh_segvsrh,
183  float dt_highthresh_segvsrh,
184  float iZ,
185  float iR,
186  float iT,
187  float iPhi);
189  float et_thresh_rh,
190  float dphi_thresh_segvsrh,
191  float dr_lowthresh_segvsrh,
192  float dr_highthresh_segvsrh,
193  float dt_lowthresh_segvsrh,
194  float dt_highthresh_segvsrh,
195  float iZ,
196  float iR,
197  float iT,
198  float iPhi);
199 };
200 
201 #endif
float recHit_t0
Definition: CSCHaloAlgo.h:153
void SetMaxSegmentTheta(float x)
Definition: CSCHaloAlgo.h:140
float dt_lowthresh_segvsrh_hbhe
Definition: CSCHaloAlgo.h:166
float et_thresh_rh_ee
Definition: CSCHaloAlgo.h:170
float max_segment_r_diff
Definition: CSCHaloAlgo.h:162
void SetMatchingDEtaThreshold(float x)
Definition: CSCHaloAlgo.h:132
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geoToken_
Definition: CSCHaloAlgo.h:173
float min_outer_radius
Definition: CSCHaloAlgo.h:149
float recHit_twindow
Definition: CSCHaloAlgo.h:154
float max_outer_radius
Definition: CSCHaloAlgo.h:150
float et_thresh_rh_hbhe
Definition: CSCHaloAlgo.h:166
void SetMaxDtMuonSegment(float x)
Definition: CSCHaloAlgo.h:134
float dr_lowthresh_segvsrh_hbhe
Definition: CSCHaloAlgo.h:166
float dr_highthresh_segvsrh_ee
Definition: CSCHaloAlgo.h:170
float dt_highthresh_segvsrh_eb
Definition: CSCHaloAlgo.h:168
float dphi_threshold
Definition: CSCHaloAlgo.h:151
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)
Definition: CSCHaloAlgo.cc:63
float dt_highthresh_segvsrh_hbhe
Definition: CSCHaloAlgo.h:166
void SetRecHitTimeWindow(float x)
Definition: CSCHaloAlgo.h:125
float deta_threshold
Definition: CSCHaloAlgo.h:144
float max_inner_radius
Definition: CSCHaloAlgo.h:148
float min_outer_theta
Definition: CSCHaloAlgo.h:146
void SetMatchingDWireThreshold(int x)
Definition: CSCHaloAlgo.h:133
void SetMaxSegmentRDiff(float x)
Definition: CSCHaloAlgo.h:138
void SetMinMaxOuterRadius(float min, float max)
Definition: CSCHaloAlgo.h:118
float max_segment_phi_diff
Definition: CSCHaloAlgo.h:163
float matching_dphi_threshold
Definition: CSCHaloAlgo.h:156
float matching_deta_threshold
Definition: CSCHaloAlgo.h:157
const CaloGeometry * geo_
Definition: CSCHaloAlgo.h:174
void SetDetaThreshold(float x)
Definition: CSCHaloAlgo.h:113
std::vector< edm::InputTag > vIT_HLTBit
Definition: CSCHaloAlgo.h:111
float dr_lowthresh_segvsrh_ee
Definition: CSCHaloAlgo.h:170
float dt_lowthresh_segvsrh_ee
Definition: CSCHaloAlgo.h:170
CSCHaloAlgo(edm::ConsumesCollector iC)
Definition: CSCHaloAlgo.cc:17
float max_outer_theta
Definition: CSCHaloAlgo.h:145
float max_dt_muon_segment
Definition: CSCHaloAlgo.h:159
float dphi_thresh_segvsrh_ee
Definition: CSCHaloAlgo.h:170
float dt_highthresh_segvsrh_ee
Definition: CSCHaloAlgo.h:170
float et_thresh_rh_eb
Definition: CSCHaloAlgo.h:168
float dphi_thresh_segvsrh_hbhe
Definition: CSCHaloAlgo.h:166
math::XYZPoint Point
point in the space
Definition: Vertex.h:40
void SetExpectedBX(int x)
Definition: CSCHaloAlgo.h:126
const HcalGeometry * hgeo_
Definition: CSCHaloAlgo.h:175
T min(T a, T b)
Definition: MathUtil.h:58
float min_inner_radius
Definition: CSCHaloAlgo.h:147
void SetMaxSegmentPhiDiff(float x)
Definition: CSCHaloAlgo.h:139
void SetMinMaxInnerRadius(float min, float max)
Definition: CSCHaloAlgo.h:114
Definition: DetId.h:17
void SetRecHitTime0(float x)
Definition: CSCHaloAlgo.h:124
float dr_highthresh_segvsrh_hbhe
Definition: CSCHaloAlgo.h:166
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
float max_segment_theta
Definition: CSCHaloAlgo.h:164
float max_free_inverse_beta
Definition: CSCHaloAlgo.h:160
int matching_dwire_threshold
Definition: CSCHaloAlgo.h:158
float norm_chi2_threshold
Definition: CSCHaloAlgo.h:152
float dt_lowthresh_segvsrh_eb
Definition: CSCHaloAlgo.h:168
math::XYZPoint getPosition(const DetId &id, reco::Vertex::Point vtx)
Definition: CSCHaloAlgo.cc:543
void SetMaxFreeInverseBeta(float x)
Definition: CSCHaloAlgo.h:135
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)
Definition: CSCHaloAlgo.cc:577
void SetMatchingDPhiThreshold(float x)
Definition: CSCHaloAlgo.h:131
void SetMinMaxOuterMomentumTheta(float min, float max)
Definition: CSCHaloAlgo.h:127
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)
Definition: CSCHaloAlgo.cc:549
void SetNormChi2Threshold(float x)
Definition: CSCHaloAlgo.h:123
void SetDphiThreshold(float x)
Definition: CSCHaloAlgo.h:122
float dr_highthresh_segvsrh_eb
Definition: CSCHaloAlgo.h:168
float dr_lowthresh_segvsrh_eb
Definition: CSCHaloAlgo.h:168
float dphi_thresh_segvsrh_eb
Definition: CSCHaloAlgo.h:168