CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 const &rhs)
 
std::istream & operator>> (std::istream &istr, RPCData &rhs)
 

Function Documentation

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

Definition at line 92 of file RPCData.cc.

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

92  {
93  ostr << rhs.m_wheel << '\t';
94  for (int k = 0; k < 6; ++k) {
95  ostr << rhs.m_sec1[k] << '\t' << rhs.m_sec2[k] << '\n';
96  ostr << rhs.m_orsignals[k];
97  }
98 
99  return ostr;
100 }
std::istream& operator>> ( std::istream &  istr,
RPCData rhs 
)

Definition at line 82 of file RPCData.cc.

References for(), isotrackApplyRegressor::k, RPCData::m_orsignals, RPCData::m_sec1, RPCData::m_sec2, and RPCData::m_wheel.

82  {
83  (istr) >> rhs.m_wheel;
84  for (int k = 0; k < 6; ++k) {
85  (istr) >> rhs.m_sec1[k] >> rhs.m_sec2[k];
86  (istr) >> rhs.m_orsignals[k];
87  }
88 
89  return istr;
90 }
std::array< int, 6 > m_sec1
Definition: RPCData.h:49
int m_wheel
Definition: RPCData.h:48
for(Iditer=Id.begin();Iditer!=Id.end();Iditer++)
std::array< RBCInput, 6 > m_orsignals
Definition: RPCData.h:51
std::array< int, 6 > m_sec2
Definition: RPCData.h:50