CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
59 
79 
80 namespace edm {
81  class TriggerNames;
82 }
83 
84 class CSCHaloAlgo {
85 
86  public:
87  CSCHaloAlgo();
89  reco::CSCHaloData Calculate(const CSCGeometry& TheCSCGeometry,edm::Handle<reco::MuonCollection>& TheCosmicMuons,
90  const edm::Handle<reco::MuonTimeExtraMap> TheCSCTimeMap,
93  edm::Handle<edm::TriggerResults>& TheHLTResults, const edm::TriggerNames * triggerNames,
94  const edm::Handle<CSCALCTDigiCollection>& TheALCTs, MuonSegmentMatcher *TheMatcher,
95  const edm::Event &TheEvent);
96 
97  std::vector<edm::InputTag> vIT_HLTBit;
98 
99  void SetDetaThreshold(float x ){ deta_threshold = x;}
102  void SetDphiThreshold(float x) { dphi_threshold = x;}
104  void SetRecHitTime0(float x) { recHit_t0 = x;}
106  void SetExpectedBX(int x) { expected_BX = x ;}
113 
114  // MLR
118  // End MLR
119 
120  private:
130  float recHit_t0;
138  // MLR
142  // End MLR
143 };
144 
145 #endif
float recHit_t0
Definition: CSCHaloAlgo.h:130
void SetMaxSegmentTheta(float x)
Definition: CSCHaloAlgo.h:117
float max_segment_r_diff
Definition: CSCHaloAlgo.h:139
void SetMatchingDEtaThreshold(float x)
Definition: CSCHaloAlgo.h:109
float min_outer_radius
Definition: CSCHaloAlgo.h:126
float recHit_twindow
Definition: CSCHaloAlgo.h:131
float max_outer_radius
Definition: CSCHaloAlgo.h:127
void SetMaxDtMuonSegment(float x)
Definition: CSCHaloAlgo.h:111
float dphi_threshold
Definition: CSCHaloAlgo.h:128
void SetRecHitTimeWindow(float x)
Definition: CSCHaloAlgo.h:105
float deta_threshold
Definition: CSCHaloAlgo.h:121
float max_inner_radius
Definition: CSCHaloAlgo.h:125
float min_outer_theta
Definition: CSCHaloAlgo.h:123
void SetMatchingDWireThreshold(int x)
Definition: CSCHaloAlgo.h:110
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< edm::TriggerResults > &TheHLTResults, const edm::TriggerNames *triggerNames, const edm::Handle< CSCALCTDigiCollection > &TheALCTs, MuonSegmentMatcher *TheMatcher, const edm::Event &TheEvent)
Definition: CSCHaloAlgo.cc:37
void SetMaxSegmentRDiff(float x)
Definition: CSCHaloAlgo.h:115
void SetMinMaxOuterRadius(float min, float max)
Definition: CSCHaloAlgo.h:101
float max_segment_phi_diff
Definition: CSCHaloAlgo.h:140
float matching_dphi_threshold
Definition: CSCHaloAlgo.h:133
float matching_deta_threshold
Definition: CSCHaloAlgo.h:134
void SetDetaThreshold(float x)
Definition: CSCHaloAlgo.h:99
std::vector< edm::InputTag > vIT_HLTBit
Definition: CSCHaloAlgo.h:97
float max_outer_theta
Definition: CSCHaloAlgo.h:122
float max_dt_muon_segment
Definition: CSCHaloAlgo.h:136
void SetExpectedBX(int x)
Definition: CSCHaloAlgo.h:106
T min(T a, T b)
Definition: MathUtil.h:58
float min_inner_radius
Definition: CSCHaloAlgo.h:124
void SetMaxSegmentPhiDiff(float x)
Definition: CSCHaloAlgo.h:116
void SetMinMaxInnerRadius(float min, float max)
Definition: CSCHaloAlgo.h:100
void SetRecHitTime0(float x)
Definition: CSCHaloAlgo.h:104
float max_segment_theta
Definition: CSCHaloAlgo.h:141
float max_free_inverse_beta
Definition: CSCHaloAlgo.h:137
int matching_dwire_threshold
Definition: CSCHaloAlgo.h:135
float norm_chi2_threshold
Definition: CSCHaloAlgo.h:129
void SetMaxFreeInverseBeta(float x)
Definition: CSCHaloAlgo.h:112
void SetMatchingDPhiThreshold(float x)
Definition: CSCHaloAlgo.h:108
void SetMinMaxOuterMomentumTheta(float min, float max)
Definition: CSCHaloAlgo.h:107
void SetNormChi2Threshold(float x)
Definition: CSCHaloAlgo.h:103
void SetDphiThreshold(float x)
Definition: CSCHaloAlgo.h:102