CMS 3D CMS Logo

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 const &rhs)
 
std::istream & operator>> (std::istream &istr, RPCData &rhs)
 

Function Documentation

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

Definition at line 112 of file RPCData.cc.

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

113 {
114 
115  ostr << rhs.m_wheel << '\t';
116  for(int k=0; k < 6; ++k)
117  {
118  ostr << rhs.m_sec1[k] << '\t' << rhs.m_sec2[k] << '\n';
119  ostr << rhs.m_orsignals[k];
120  }
121 
122  return ostr;
123 
124 }
int k[5][pyjets_maxn]
std::istream& operator>> ( std::istream &  istr,
RPCData rhs 
)

Definition at line 98 of file RPCData.cc.

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

99 {
100 
101  (istr) >> rhs.m_wheel;
102  for(int k=0; k < 6; ++k)
103  {
104  (istr) >> rhs.m_sec1[k] >> rhs.m_sec2[k];
105  (istr) >> rhs.m_orsignals[k];
106  }
107 
108  return istr;
109 
110 }
std::array< RBCInput, 6 > m_orsignals
Definition: RPCData.h:52
int m_wheel
Definition: RPCData.h:49
int k[5][pyjets_maxn]
std::array< int,6 > m_sec2
Definition: RPCData.h:51
std::array< int, 6 > m_sec1
Definition: RPCData.h:50