CMS 3D CMS Logo

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:
92  CSCHaloAlgo();
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 
177  float et_thresh_rh,
178  float dphi_thresh_segvsrh,
179  float dr_lowthresh_segvsrh,
180  float dr_highthresh_segvsrh,
181  float dt_lowthresh_segvsrh,
182  float dt_highthresh_segvsrh,
183  float iZ,
184  float iR,
185  float iT,
186  float iPhi);
188  float et_thresh_rh,
189  float dphi_thresh_segvsrh,
190  float dr_lowthresh_segvsrh,
191  float dr_highthresh_segvsrh,
192  float dt_lowthresh_segvsrh,
193  float dt_highthresh_segvsrh,
194  float iZ,
195  float iR,
196  float iT,
197  float iPhi);
198 };
199 
200 #endif
CSCHaloAlgo::et_thresh_rh_ee
float et_thresh_rh_ee
Definition: CSCHaloAlgo.h:170
Propagator.h
CSCRecHit2DCollection.h
CSCHaloAlgo::dr_lowthresh_segvsrh_eb
float dr_lowthresh_segvsrh_eb
Definition: CSCHaloAlgo.h:168
CSCHaloAlgo
Definition: CSCHaloAlgo.h:90
CSCHaloAlgo::CSCHaloAlgo
CSCHaloAlgo()
Definition: CSCHaloAlgo.cc:17
CSCCorrelatedLCTDigiCollection.h
CSCHaloAlgo::dphi_thresh_segvsrh_eb
float dphi_thresh_segvsrh_eb
Definition: CSCHaloAlgo.h:168
Muon.h
CSCHaloAlgo::recHit_twindow
float recHit_twindow
Definition: CSCHaloAlgo.h:154
Cylinder.h
MuonPatternRecoDumper.h
CSCHaloAlgo::et_thresh_rh_hbhe
float et_thresh_rh_hbhe
Definition: CSCHaloAlgo.h:166
SteppingHelixPropagator.h
CSCHaloAlgo::dt_lowthresh_segvsrh_hbhe
float dt_lowthresh_segvsrh_hbhe
Definition: CSCHaloAlgo.h:166
CSCHaloAlgo::dr_lowthresh_segvsrh_hbhe
float dr_lowthresh_segvsrh_hbhe
Definition: CSCHaloAlgo.h:166
TriggerResults.h
CSCHaloAlgo::dr_highthresh_segvsrh_ee
float dr_highthresh_segvsrh_ee
Definition: CSCHaloAlgo.h:170
CSCHaloAlgo::max_segment_r_diff
float max_segment_r_diff
Definition: CSCHaloAlgo.h:162
CSCHaloAlgo::dphi_threshold
float dphi_threshold
Definition: CSCHaloAlgo.h:151
SiStripMatchedRecHit2DCollection.h
CSCHaloAlgo::SetMatchingDEtaThreshold
void SetMatchingDEtaThreshold(float x)
Definition: CSCHaloAlgo.h:132
CSCHaloAlgo::Calculate
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
min
T min(T a, T b)
Definition: MathUtil.h:58
deltaPhi.h
CSCStripDigi.h
CSCWireDigi.h
edm
HLT enums.
Definition: AlignableModifier.h:19
L1MuGMTReadoutCollection.h
CSCHaloAlgo::min_outer_radius
float min_outer_radius
Definition: CSCHaloAlgo.h:149
CSCHaloAlgo::SetRecHitTimeWindow
void SetRecHitTimeWindow(float x)
Definition: CSCHaloAlgo.h:125
CSCHaloAlgo::max_outer_radius
float max_outer_radius
Definition: CSCHaloAlgo.h:150
CSCHaloAlgo::SetMaxDtMuonSegment
void SetMaxDtMuonSegment(float x)
Definition: CSCHaloAlgo.h:134
CSCDBCrosstalk.h
CSCHaloAlgo::deta_threshold
float deta_threshold
Definition: CSCHaloAlgo.h:144
CSCHaloAlgo::dt_highthresh_segvsrh_eb
float dt_highthresh_segvsrh_eb
Definition: CSCHaloAlgo.h:168
CSCHaloAlgo::SetMatchingDWireThreshold
void SetMatchingDWireThreshold(int x)
Definition: CSCHaloAlgo.h:133
CSCHaloAlgo::dt_highthresh_segvsrh_hbhe
float dt_highthresh_segvsrh_hbhe
Definition: CSCHaloAlgo.h:166
DDAxes::x
MuonTransientTrackingRecHit.h
TransientTrack.h
CSCHaloAlgo::SetMaxSegmentRDiff
void SetMaxSegmentRDiff(float x)
Definition: CSCHaloAlgo.h:138
edm::Handle< reco::MuonCollection >
CSCHaloAlgo::max_segment_phi_diff
float max_segment_phi_diff
Definition: CSCHaloAlgo.h:163
EcalRecHitCollections.h
HcalGeometry.h
CSCDetId.h
CSCHaloAlgo::matching_dphi_threshold
float matching_dphi_threshold
Definition: CSCHaloAlgo.h:156
L1CSCStatusDigiCollection.h
CSCHaloAlgo::max_inner_radius
float max_inner_radius
Definition: CSCHaloAlgo.h:148
L1MuRegionalCand.h
CSCHaloAlgo::min_outer_theta
float min_outer_theta
Definition: CSCHaloAlgo.h:146
MuonSegmentMatcher.h
CSCGeometry
Definition: CSCGeometry.h:24
CSCComparatorDigi.h
DetId
Definition: DetId.h:17
Plane.h
CSCHaloAlgo::SetDetaThreshold
void SetDetaThreshold(float x)
Definition: CSCHaloAlgo.h:113
MuonTimeExtraMap.h
CaloGeometry
Definition: CaloGeometry.h:21
CSCALCTDigi.h
CSCHaloAlgo::dt_lowthresh_segvsrh_ee
float dt_lowthresh_segvsrh_ee
Definition: CSCHaloAlgo.h:170
Track.h
TrackFwd.h
CSCHaloAlgo::SetMinMaxOuterRadius
void SetMinMaxOuterRadius(float min, float max)
Definition: CSCHaloAlgo.h:118
CSCDBNoiseMatrixRcd.h
L1TEGammaOffline_cfi.triggerNames
triggerNames
Definition: L1TEGammaOffline_cfi.py:40
L1MuGMTReadoutRecord.h
MuonFwd.h
CSCHaloAlgo::max_dt_muon_segment
float max_dt_muon_segment
Definition: CSCHaloAlgo.h:159
CSCHaloAlgo::matching_deta_threshold
float matching_deta_threshold
Definition: CSCHaloAlgo.h:157
CSCHaloAlgo::geo_
const CaloGeometry * geo_
Definition: CSCHaloAlgo.h:173
MuonTimeExtra.h
CSCHaloAlgo::dt_highthresh_segvsrh_ee
float dt_highthresh_segvsrh_ee
Definition: CSCHaloAlgo.h:170
IdealMagneticFieldRecord.h
CSCLayerGeometry.h
CSCHaloAlgo::et_thresh_rh_eb
float et_thresh_rh_eb
Definition: CSCHaloAlgo.h:168
CSCHaloAlgo::vIT_HLTBit
std::vector< edm::InputTag > vIT_HLTBit
Definition: CSCHaloAlgo.h:111
CSCHaloAlgo::dr_lowthresh_segvsrh_ee
float dr_lowthresh_segvsrh_ee
Definition: CSCHaloAlgo.h:170
CSCHaloAlgo::SetExpectedBX
void SetExpectedBX(int x)
Definition: CSCHaloAlgo.h:126
CaloGeometryRecord.h
Vertex.h
CSCHaloAlgo::max_outer_theta
float max_outer_theta
Definition: CSCHaloAlgo.h:145
RPCDetId.h
CSCHaloAlgo::dphi_thresh_segvsrh_ee
float dphi_thresh_segvsrh_ee
Definition: CSCHaloAlgo.h:170
Cone.h
SiPixelRecHitCollection.h
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
CSCHaloAlgo::SetMaxSegmentPhiDiff
void SetMaxSegmentPhiDiff(float x)
Definition: CSCHaloAlgo.h:139
Event.h
CSCDBPedestals.h
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
CSCIndexer.h
CSCHaloAlgo::dphi_thresh_segvsrh_hbhe
float dphi_thresh_segvsrh_hbhe
Definition: CSCHaloAlgo.h:166
L1CSCTrackCollection.h
CSCHaloAlgo::hgeo_
const HcalGeometry * hgeo_
Definition: CSCHaloAlgo.h:174
CSCHaloAlgo::SetRecHitTime0
void SetRecHitTime0(float x)
Definition: CSCHaloAlgo.h:124
CSCHaloAlgo::min_inner_radius
float min_inner_radius
Definition: CSCHaloAlgo.h:147
SiStripRecHit2DCollection.h
CSCDBNoiseMatrix.h
CSCStripDigiCollection.h
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:58
AnalyticalPropagator.h
TrajectorySeedCollection.h
CSCHaloAlgo::SetMinMaxInnerRadius
void SetMinMaxInnerRadius(float min, float max)
Definition: CSCHaloAlgo.h:114
CSCDBCrosstalkRcd.h
CSCHaloAlgo::dr_highthresh_segvsrh_hbhe
float dr_highthresh_segvsrh_hbhe
Definition: CSCHaloAlgo.h:166
CSCHaloAlgo::dt_lowthresh_segvsrh_eb
float dt_lowthresh_segvsrh_eb
Definition: CSCHaloAlgo.h:168
CSCHaloAlgo::getPosition
math::XYZPoint getPosition(const DetId &id, reco::Vertex::Point vtx)
Definition: CSCHaloAlgo.cc:545
CSCHaloAlgo::~CSCHaloAlgo
~CSCHaloAlgo()
Definition: CSCHaloAlgo.h:93
CSCHaloAlgo::expected_BX
int expected_BX
Definition: CSCHaloAlgo.h:155
reco::Vertex::Point
math::XYZPoint Point
point in the space
Definition: Vertex.h:40
DTWireId.h
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:18
CSCHaloAlgo::max_segment_theta
float max_segment_theta
Definition: CSCHaloAlgo.h:164
CSCLayer.h
MuonTransientTrackingRecHitBuilder.h
LocalPoint.h
CSCHaloAlgo::ECALSegmentMatching
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:579
CSCDBGainsRcd.h
CSCHaloAlgo::max_free_inverse_beta
float max_free_inverse_beta
Definition: CSCHaloAlgo.h:160
CSCHaloAlgo::SetMatchingDPhiThreshold
void SetMatchingDPhiThreshold(float x)
Definition: CSCHaloAlgo.h:131
CaloGeometry.h
MuonServiceProxy.h
edm::TriggerNames
Definition: TriggerNames.h:55
CSCHaloAlgo::SetMinMaxOuterMomentumTheta
void SetMinMaxOuterMomentumTheta(float min, float max)
Definition: CSCHaloAlgo.h:127
GlobalVector.h
CSCHaloAlgo::matching_dwire_threshold
int matching_dwire_threshold
Definition: CSCHaloAlgo.h:158
CSCHaloAlgo::norm_chi2_threshold
float norm_chi2_threshold
Definition: CSCHaloAlgo.h:152
HcalRecHitCollections.h
CSCComparatorDigiCollection.h
CSCHaloAlgo::HCALSegmentMatching
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:551
CSCDBGains.h
reco::CSCHaloData
Definition: CSCHaloData.h:24
CSCSegment.h
CSCWireDigiCollection.h
CSCALCTDigiCollection.h
CSCRecHit2D.h
CSCHaloAlgo::SetMaxFreeInverseBeta
void SetMaxFreeInverseBeta(float x)
Definition: CSCHaloAlgo.h:135
CSCChamber.h
CSCHaloAlgo::dr_highthresh_segvsrh_eb
float dr_highthresh_segvsrh_eb
Definition: CSCHaloAlgo.h:168
edm::Event
Definition: Event.h:73
LocalVector.h
CSCDBPedestalsRcd.h
MuonSegmentMatcher
Definition: MuonSegmentMatcher.h:29
RecSegment.h
HcalGeometry
Definition: HcalGeometry.h:17
GlobalPoint.h
CSCHaloData.h
CSCSectorReceiverLUT.h
CSCHaloAlgo::SetNormChi2Threshold
void SetNormChi2Threshold(float x)
Definition: CSCHaloAlgo.h:123
CSCHaloAlgo::recHit_t0
float recHit_t0
Definition: CSCHaloAlgo.h:153
CSCHaloAlgo::SetDphiThreshold
void SetDphiThreshold(float x)
Definition: CSCHaloAlgo.h:122
CSCHaloAlgo::SetMaxSegmentTheta
void SetMaxSegmentTheta(float x)
Definition: CSCHaloAlgo.h:140
CSCGeometry.h
CSCSegmentCollection.h