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 133 of file RPCData.cc.

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

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

Definition at line 119 of file RPCData.cc.

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

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