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 
16 
17 class ME0Geometry;
18 
20 {
21  public:
23  ME0Motherboard(unsigned endcap, unsigned chamber,
24  const edm::ParameterSet& conf);
25 
28 
31 
33  void setME0Geometry(const ME0Geometry *g) { me0_g = g; }
34 
36  void run(const ME0PadDigiCollection*);
37 
39  void run(const ME0PadDigiClusterCollection*);
40 
42  std::vector<ME0TriggerDigi> readoutTriggers();
43 
45  std::vector<ME0TriggerDigi> getTriggers();
46 
48  void clear();
49 
50  // declusterizes the clusters into single pad digis
52 
53  private:
54 
57  int infoV;
58 
60  const unsigned theEndcap;
61  const unsigned theChamber;
62 
64 
66  enum {MAX_TRIGGER_BINS = 1, MAX_TRIGGERS = 8};
67 
70 
71  // utilities for sorting
72  static bool sortByQuality(const ME0TriggerDigi&, const ME0TriggerDigi&);
73  static bool sortByME0Dphi(const ME0TriggerDigi&, const ME0TriggerDigi&);
74 };
75 #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
void declusterize(const ME0PadDigiClusterCollection *, ME0PadDigiCollection &)
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 *)