CMS 3D CMS Logo

Functions | Variables

/data/refman/pasoursint/CMSSW_5_3_6/src/DataFormats/CaloRecHit/src/CaloRecHit.cc File Reference

#include "DataFormats/CaloRecHit/interface/CaloRecHit.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const CaloRecHit &hit)

Variables

static const uint32_t masks []

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const CaloRecHit hit 
)

Definition at line 36 of file CaloRecHit.cc.

References CaloRecHit::aux(), CaloRecHit::detid(), CaloRecHit::energy(), CaloRecHit::flags(), DetId::rawId(), alignCSCRings::s, and CaloRecHit::time().

                                                             {
  s << hit.detid().rawId() << ", " << hit.energy() << " GeV, " << hit.time() << " ns ";
  s << " flags=0x" << std::hex << hit.flags() << std::dec << " ";
  s << " aux=0x" << std::hex << hit.aux() << std::dec << " ";
  return s;
}

Variable Documentation

const uint32_t masks[] [static]
Initial value:
 {
  0x00000000u,0x00000001u,0x00000003u,0x00000007u,0x0000000fu,0x0000001fu,
  0x0000003fu,0x0000007fu,0x000000ffu,0x000001ffu,0x000003ffu,0x000007ffu,
  0x00000fffu,0x00001fffu,0x00003fffu,0x00007fffu,0x0000ffffu,0x0001ffffu,
  0x0003ffffu,0x0007ffffu,0x000fffffu,0x001fffffu,0x003fffffu,0x007fffffu,
  0x00ffffffu,0x01ffffffu,0x03ffffffu,0x07ffffffu,0x0fffffffu,0x1fffffffu,
  0x3fffffffu,0x7fffffffu,0xffffffffu}

Definition at line 12 of file CaloRecHit.cc.

Referenced by CaloRecHit::flagField(), L1GctChannelMaskOnlineProd::newObject(), and CaloRecHit::setFlagField().