CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
RPCData.cc File Reference
#include "L1Trigger/RPCTechnicalTrigger/interface/RPCData.h"

Go to the source code of this file.

Namespaces

 l1trigger
 

Functions

std::ostream & operator<< (std::ostream &ostr, RPCData &rhs)
 
std::istream & operator>> (std::istream &istr, RPCData &rhs)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  ostr,
RPCData rhs 
)

Definition at line 132 of file RPCData.cc.

References relval_2017::k, RPCData::m_orsignals, RPCData::m_sec1, RPCData::m_sec2, and RPCData::m_wheel.

133 {
134 
135  ostr << rhs.m_wheel << '\t';
136  for(int k=0; k < 6; ++k)
137  {
138  ostr << rhs.m_sec1[k] << '\t' << rhs.m_sec2[k] << '\n';
139  ostr << rhs.m_orsignals[k];
140  }
141 
142  return ostr;
143 
144 }
RBCInput * m_orsignals
Definition: RPCData.h:55
int * m_sec2
Definition: RPCData.h:54
int m_wheel
Definition: RPCData.h:52
int * m_sec1
Definition: RPCData.h:53
std::istream& operator>> ( std::istream &  istr,
RPCData rhs 
)

Definition at line 118 of file RPCData.cc.

References relval_2017::k, RPCData::m_orsignals, RPCData::m_sec1, RPCData::m_sec2, and RPCData::m_wheel.

119 {
120 
121  (istr) >> rhs.m_wheel;
122  for(int k=0; k < 6; ++k)
123  {
124  (istr) >> rhs.m_sec1[k] >> rhs.m_sec2[k];
125  (istr) >> rhs.m_orsignals[k];
126  }
127 
128  return istr;
129 
130 }
RBCInput * m_orsignals
Definition: RPCData.h:55
int * m_sec2
Definition: RPCData.h:54
int m_wheel
Definition: RPCData.h:52
int * m_sec1
Definition: RPCData.h:53