CMS 3D CMS Logo

Functions | Variables
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

constexpr 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(), TauDecayModes::dec, CaloRecHit::detid(), CaloRecHit::energy(), CaloRecHit::flags(), DetId::rawId(), alignCSCRings::s, and CaloRecHit::time().

36  {
37  s << hit.detid().rawId() << ", " << hit.energy() << " GeV, " << hit.time() << " ns ";
38  s << " flags=0x" << std::hex << hit.flags() << std::dec << " ";
39  s << " aux=0x" << std::hex << hit.aux() << std::dec << " ";
40  return s;
41 }
uint32_t aux() const
Definition: CaloRecHit.h:27
const DetId & detid() const
Definition: CaloRecHit.h:21
float time() const
Definition: CaloRecHit.h:19
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
float energy() const
Definition: CaloRecHit.h:17
uint32_t flags() const
Definition: CaloRecHit.h:22

Variable Documentation

constexpr uint32_t masks[]
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 L1TGlobalPrescalesVetosViewer::analyze(), L1TGlobalSummary::analyze(), l1t::GtRecordDump::analyze(), L1TMuonBarrelParamsHelper::configFromDB(), HcalLutManager::createLutXmlFiles_HBEFFromCoder_HOFromAscii_ZDC(), cvtChar(), egHLT::EleHLTFilterMon::EleHLTFilterMon(), L1TGlobalSummary::endRun(), CaloRecHit::flagField(), egHLT::MonElemFuncs::getIB(), HcalLutManager::getMasks(), L1GctChannelMaskOnlineProd::newObject(), egHLT::PhoHLTFilterMon::operator=(), egHLT::EleHLTFilterMon::operator=(), egHLT::PhoHLTFilterMon::PhoHLTFilterMon(), SiPixelDynamicInefficiency::putDetIdmasks(), and CaloRecHit::setFlagField().