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

◆ operator<<()

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

Definition at line 92 of file RPCData.cc.

References dqmdumpme::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 }

◆ operator>>()

std::istream& operator>> ( std::istream &  istr,
RPCData rhs 
)

Definition at line 82 of file RPCData.cc.

References cms::cuda::for(), dqmdumpme::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
for(int i=first, nt=offsets[nh];i< nt;i+=gridDim.x *blockDim.x)
int m_wheel
Definition: RPCData.h:48
std::array< RBCInput, 6 > m_orsignals
Definition: RPCData.h:51
std::array< int, 6 > m_sec2
Definition: RPCData.h:50