CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ME0Motherboard.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGEM_ME0Motherboard_h
2 #define L1Trigger_L1TGEM_ME0Motherboard_h
3 
15 
16 class ME0Geometry;
17 
19 public:
21  ME0Motherboard(unsigned endcap, unsigned chamber, const edm::ParameterSet& conf);
22 
25 
28 
30  void setME0Geometry(const ME0Geometry* g) { me0_g = g; }
31 
33  void run(const ME0PadDigiCollection*);
34 
36  std::vector<ME0TriggerDigi> readoutTriggers();
37 
39  std::vector<ME0TriggerDigi> getTriggers();
40 
42  void clear();
43 
44 private:
47  int infoV;
48 
50  const unsigned theEndcap;
51  const unsigned theChamber;
52 
54 
56  enum { MAX_TRIGGER_BINS = 1, MAX_TRIGGERS = 8 };
57 
60 
61  // utilities for sorting
62  static bool sortByQuality(const ME0TriggerDigi&, const ME0TriggerDigi&);
63  static bool sortByME0Dphi(const ME0TriggerDigi&, const ME0TriggerDigi&);
64 };
65 #endif
static bool sortByME0Dphi(const ME0TriggerDigi &, const ME0TriggerDigi &)
static bool sortByQuality(const ME0TriggerDigi &, const ME0TriggerDigi &)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
const ME0Geometry * me0_g
std::vector< ME0TriggerDigi > getTriggers()
const unsigned theEndcap
void setME0Geometry(const ME0Geometry *g)
std::vector< ME0TriggerDigi > readoutTriggers()
const unsigned theChamber
ME0TriggerDigi Triggers[MAX_TRIGGER_BINS][MAX_TRIGGERS]
void run(const ME0PadDigiCollection *)