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.

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 }

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

◆ operator>>()

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

Definition at line 82 of file RPCData.cc.

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 }

References cms::cuda::for(), dqmdumpme::k, RPCData::m_orsignals, RPCData::m_sec1, RPCData::m_sec2, and RPCData::m_wheel.

RPCData::m_wheel
int m_wheel
Definition: RPCData.h:48
RPCData::m_sec2
std::array< int, 6 > m_sec2
Definition: RPCData.h:50
dqmdumpme.k
k
Definition: dqmdumpme.py:60
RPCData::m_sec1
std::array< int, 6 > m_sec1
Definition: RPCData.h:49
cms::cuda::for
for(int i=first, nt=offsets[nh];i< nt;i+=gridDim.x *blockDim.x)
Definition: HistoContainer.h:27
RPCData::m_orsignals
std::array< RBCInput, 6 > m_orsignals
Definition: RPCData.h:51