CMS 3D CMS Logo

Classes | Functions
EcalTrigTowerDetId.h File Reference
#include <iosfwd>
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/EcalDetId/interface/EcalSubdetector.h"

Go to the source code of this file.

Classes

class  EcalTrigTowerDetId
 

Functions

std::ostream & operator<< (std::ostream &, const EcalTrigTowerDetId &id)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ,
const EcalTrigTowerDetId id 
)

Definition at line 139 of file EcalTrigTowerDetId.cc.

References EcalBarrel, and alignCSCRings::s.

139  {
140  return s << "(EcalTT subDet " << ((id.subDet() == EcalBarrel) ? ("Barrel") : ("Endcap")) << " iz "
141  << ((id.zside() > 0) ? ("+ ") : ("- ")) << " ieta " << id.ietaAbs() << " iphi " << id.iphi() << ')';
142 }
int zside(DetId const &)
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t ietaAbs(uint32_t id)