CMS 3D CMS Logo

ME0Motherboard.h
Go to the documentation of this file.
1 #ifndef L1Trigger_ME0TriggerPrimitives_ME0Motherboard_h
2 #define L1Trigger_ME0TriggerPrimitives_ME0Motherboard_h
3 
7 
8 class ME0Geometry;
9 
11 {
12  public:
14  ME0Motherboard(unsigned endcap, unsigned chamber,
15  const edm::ParameterSet& conf);
16 
19 
22 
24  void setME0Geometry(const ME0Geometry *g) { me0_g = g; }
25 
27  void run(const ME0PadDigiCollection*);
28 
30  std::vector<ME0TriggerDigi> readoutTriggers();
31 
33  std::vector<ME0TriggerDigi> getTriggers();
34 
36  void clear();
37 
38  private:
39 
42  int infoV;
43 
45  const unsigned theEndcap;
46  const unsigned theChamber;
47 
49 
51  enum {MAX_TRIGGER_BINS = 1, MAX_TRIGGERS = 8};
52 
55 
56  // utilities for sorting
57  static bool sortByQuality(const ME0TriggerDigi&, const ME0TriggerDigi&);
58  static bool sortByME0Dphi(const ME0TriggerDigi&, const ME0TriggerDigi&);
59 };
60 #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 *)