CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/CondFormats/L1TObjects/src/L1GctChannelMask.cc File Reference

#include "CondFormats/L1TObjects/interface/L1GctChannelMask.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const L1GctChannelMask obj)

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const L1GctChannelMask  obj 
)

Definition at line 86 of file L1GctChannelMask.cc.

References L1GctChannelMask::regionMask().

                                                                     {
  os << "L1GctChannelMask :" << std::endl;
//   os << "  EM crate mask    = " << obj.emCrateMask_ << std::endl;
//   os << "  EtTot mask       = " << obj.tetMask_ << std::endl;
//   os << "  EtMiss mask      = " << obj.metMask_ << std::endl;
//   os << "  HtTot mask       = " << obj.htMask_ << std::endl;
//   os << "  HtMiss mask      = " << obj.mhtMask_ << std::endl;
  for (unsigned ieta=0; ieta<22; ++ieta) {
    for (unsigned iphi=0; iphi<18; ++iphi) {
      if ( obj.regionMask(ieta, iphi) )  {
        os << "  Region mask      : " << ieta << ", " << iphi << std::endl;
      }
    }
  }
  return os;
}