CMS 3D CMS Logo

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

Go to the source code of this file.

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

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

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

Definition at line 117 of file RPCData.cc.

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

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