test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:26
const DetId & detid() const
Definition: CaloRecHit.h:20
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:21

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(), L1TGlobalSummary::endRun(), CaloRecHit::flagField(), L1TMuonGlobalParamsHelper::loadFromOnline(), L1GctChannelMaskOnlineProd::newObject(), SiPixelDynamicInefficiency::putDetIdmasks(), and CaloRecHit::setFlagField().