CMS 3D CMS Logo

ME0Digi.cc
Go to the documentation of this file.
2 #include <iostream>
3 
4 ME0Digi::ME0Digi(int strip, int bx) : strip_(strip), bx_(bx) {}
5 
6 ME0Digi::ME0Digi() : strip_(0), bx_(0) {}
7 
8 bool ME0Digi::operator==(const ME0Digi& digi) const { return strip_ == digi.strip() and bx_ == digi.bx(); }
9 
10 bool ME0Digi::operator!=(const ME0Digi& digi) const { return strip_ != digi.strip() or bx_ != digi.bx(); }
11 
12 bool ME0Digi::operator<(const ME0Digi& digi) const {
13  if (digi.bx() == bx_)
14  return digi.strip() < strip_;
15  else
16  return digi.bx() < bx_;
17 }
18 
19 std::ostream& operator<<(std::ostream& o, const ME0Digi& digi) {
20  return o << " strip: " << digi.strip() << " bx: " << digi.bx();
21 }
ME0Digi
Definition: ME0Digi.h:15
ME0Digi::operator==
bool operator==(const ME0Digi &digi) const
Definition: ME0Digi.cc:8
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
ME0Digi::strip_
uint16_t strip_
Definition: ME0Digi.h:29
ME0Digi::operator!=
bool operator!=(const ME0Digi &digi) const
Definition: ME0Digi.cc:10
operator<<
std::ostream & operator<<(std::ostream &o, const ME0Digi &digi)
Definition: ME0Digi.cc:19
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
ME0Digi::strip
int strip() const
Definition: ME0Digi.h:25
ME0Digi::operator<
bool operator<(const ME0Digi &digi) const
Definition: ME0Digi.cc:12
ME0Digi::bx_
int16_t bx_
Definition: ME0Digi.h:30
ME0Digi::bx
int bx() const
Definition: ME0Digi.h:26
ME0Digi::ME0Digi
ME0Digi()
Definition: ME0Digi.cc:6
or
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< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
ME0Digi.h