CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_6_1_1/src/L1Trigger/RPCTechnicalTrigger/src/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.

{
  
  ostr << rhs.m_wheel << '\t';
  for(int k=0; k < 6; ++k)
  {
    ostr << rhs.m_sec1[k] << '\t' <<  rhs.m_sec2[k] << '\n';
    ostr << rhs.m_orsignals[k];
  }
  
  return ostr;
  
}
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.

{
  
  (istr) >> rhs.m_wheel;
  for(int k=0; k < 6; ++k)
  {
    (istr) >> rhs.m_sec1[k] >> rhs.m_sec2[k];
    (istr) >> rhs.m_orsignals[k];
  }

  return istr;
    
}