CMS 3D CMS Logo

CSCALCTCrossCLCT.h
Go to the documentation of this file.
1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCALCTCrossCLCT
2 #define L1Trigger_CSCTriggerPrimitives_CSCALCTCrossCLCT
3 
25 
26 #include <string>
27 #include <array>
28 
29 class CSCALCTDigi;
30 class CSCCLCTDigi;
31 
33 public:
35  unsigned endcap, unsigned station, unsigned ring, bool ignoreAlctCrossClct, const edm::ParameterSet& conf);
36 
37  /*
38  Check if an ALCT can cross a CLCT. Most of the time it can. Only in ME1/1 there are
39  special cases when they do not. This function is typically not used though, as the
40  EMTF prefers to receive all stubs. However, there is an option to discard unphysical matches.
41  */
42  bool doesALCTCrossCLCT(const CSCALCTDigi& a, const CSCCLCTDigi& c) const;
43 
44 private:
45  // check if a wiregroup cross a halfstrip
46  bool doesWiregroupCrossHalfStrip(int wg, int keystrip) const;
47 
48  unsigned endcap_;
49  unsigned station_;
50  unsigned ring_;
53 };
54 #endif
CSCALCTCrossCLCT(unsigned endcap, unsigned station, unsigned ring, bool ignoreAlctCrossClct, const edm::ParameterSet &conf)
double a
Definition: hdecay.h:119
bool doesALCTCrossCLCT(const CSCALCTDigi &a, const CSCCLCTDigi &c) const
bool doesWiregroupCrossHalfStrip(int wg, int keystrip) const