CMS 3D CMS Logo

Classes | Functions
HcalTriggerPrimitiveSample.h File Reference
#include <ostream>
#include <cstdint>

Go to the source code of this file.

Classes

class  HcalTriggerPrimitiveSample
 

Functions

std::ostream & operator<< (std::ostream &s, const HcalTriggerPrimitiveSample &samp)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const HcalTriggerPrimitiveSample samp 
)

Definition at line 14 of file HcalTriggerPrimitiveSample.cc.

14  {
15  return s << "Value=" << samp.compressedEt() << ", FG=" << samp.fineGrain();
16 }

References HcalTriggerPrimitiveSample::compressedEt(), HcalTriggerPrimitiveSample::fineGrain(), and alignCSCRings::s.

HcalTriggerPrimitiveSample::compressedEt
int compressedEt() const
get the encoded/compressed Et
Definition: HcalTriggerPrimitiveSample.h:21
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HcalTriggerPrimitiveSample::fineGrain
bool fineGrain(int i=0) const
get fine-grain bit (traditional)
Definition: HcalTriggerPrimitiveSample.h:23