CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
GEMAMCStatus.h File Reference
#include "GEMAMC13.h"
#include "GEMAMC.h"
#include <bitset>
#include <ostream>

Go to the source code of this file.

Classes

union  GEMAMCStatus::Errors
 
class  GEMAMCStatus
 
union  GEMAMCStatus::Warnings
 

Functions

std::ostream & operator<< (std::ostream &out, const GEMAMCStatus &status)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const GEMAMCStatus status 
)
inline

Definition at line 72 of file GEMAMCStatus.h.

References GEMAMCStatus::errors(), submitPVResolutionJobs::out, and GEMAMCStatus::warnings().

72  {
73  out << "GEMAMCStatus errors " << std::bitset<16>(status.errors()) << " warnings "
74  << std::bitset<8>(status.warnings());
75  return out;
76 }
uint8_t warnings() const
Definition: GEMAMCStatus.h:64
uint16_t errors() const
Definition: GEMAMCStatus.h:63