CMS 3D CMS Logo

Functions
EcalTriggerPrimitiveSample.cc File Reference
#include "DataFormats/EcalDigi/interface/EcalTriggerPrimitiveSample.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 14 of file EcalTriggerPrimitiveSample.cc.

14  {
15  return s << "ET=" << samp.compressedEt() << ", FG=" << samp.fineGrain() << ", sFGVB=" << samp.sFGVB()
16  << ", TTF=" << samp.ttFlag();
17 }

References EcalTriggerPrimitiveSample::compressedEt(), EcalTriggerPrimitiveSample::fineGrain(), alignCSCRings::s, EcalTriggerPrimitiveSample::sFGVB(), and EcalTriggerPrimitiveSample::ttFlag().

EcalTriggerPrimitiveSample::ttFlag
int ttFlag() const
get the Trigger tower Flag (3 bits)
Definition: EcalTriggerPrimitiveSample.h:28
EcalTriggerPrimitiveSample::fineGrain
bool fineGrain() const
get the fine-grain bit (1 bit)
Definition: EcalTriggerPrimitiveSample.h:26
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalTriggerPrimitiveSample::sFGVB
int sFGVB() const
Definition: EcalTriggerPrimitiveSample.h:39
EcalTriggerPrimitiveSample::compressedEt
int compressedEt() const
get the encoded/compressed Et (8 bits)
Definition: EcalTriggerPrimitiveSample.h:24