CMS 3D CMS Logo

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
ME0Motherboard::readoutTriggers
std::vector< ME0TriggerDigi > readoutTriggers()
Definition: ME0Motherboard.cc:29
ME0Motherboard::infoV
int infoV
Definition: ME0Motherboard.h:47
ME0Motherboard::theEndcap
const unsigned theEndcap
Definition: ME0Motherboard.h:50
ME0TriggerDigi.h
ME0Motherboard::MAX_TRIGGERS
Definition: ME0Motherboard.h:56
ME0PadDigiCollection
ME0Motherboard::~ME0Motherboard
~ME0Motherboard()
Definition: ME0Motherboard.cc:14
ME0Motherboard::Triggers
ME0TriggerDigi Triggers[MAX_TRIGGER_BINS][MAX_TRIGGERS]
Definition: ME0Motherboard.h:59
ME0Geometry
Definition: ME0Geometry.h:12
makeMuonMisalignmentScenario.endcap
endcap
Definition: makeMuonMisalignmentScenario.py:320
ME0Motherboard::sortByQuality
static bool sortByQuality(const ME0TriggerDigi &, const ME0TriggerDigi &)
Definition: ME0Motherboard.cc:53
ME0Motherboard::clear
void clear()
Definition: ME0Motherboard.cc:16
ME0Motherboard::getTriggers
std::vector< ME0TriggerDigi > getTriggers()
Definition: ME0Motherboard.cc:41
ME0Motherboard::run
void run(const ME0PadDigiCollection *)
Definition: ME0Motherboard.cc:24
ME0Motherboard::MAX_TRIGGER_BINS
Definition: ME0Motherboard.h:56
ME0PadDigiCollection.h
edm::ParameterSet
Definition: ParameterSet.h:36
ME0Motherboard::setME0Geometry
void setME0Geometry(const ME0Geometry *g)
Definition: ME0Motherboard.h:30
ME0Motherboard::sortByME0Dphi
static bool sortByME0Dphi(const ME0TriggerDigi &, const ME0TriggerDigi &)
Definition: ME0Motherboard.cc:58
ME0TriggerDigi
Definition: ME0TriggerDigi.h:28
ME0Motherboard::me0_g
const ME0Geometry * me0_g
Definition: ME0Motherboard.h:53
ME0Motherboard::ME0Motherboard
ME0Motherboard()
Definition: ME0Motherboard.cc:12
relativeConstraints.chamber
chamber
Definition: relativeConstraints.py:53
ME0Motherboard::theChamber
const unsigned theChamber
Definition: ME0Motherboard.h:51
ParameterSet.h
ME0Motherboard
Definition: ME0Motherboard.h:18
g
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