CMS 3D CMS Logo

Functions
HcalTriggerPrimitiveDigi.cc File Reference
#include "DataFormats/HcalDigi/interface/HcalTriggerPrimitiveDigi.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const HcalTriggerPrimitiveDigi &digi)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const HcalTriggerPrimitiveDigi digi 
)

Definition at line 30 of file HcalTriggerPrimitiveDigi.cc.

30  {
31  s << digi.id() << " " << digi.size() << " samples " << digi.presamples() << " presamples";
32  if (digi.zsUnsuppressed())
33  s << " zsUS";
34  if (digi.zsMarkAndPass())
35  s << " zsM&P";
36  s << std::endl;
37  for (int i = 0; i < digi.size(); i++)
38  s << " " << digi.sample(i) << std::endl;
39  return s;
40 }

References mps_fire::i, HcalTriggerPrimitiveDigi::id(), HcalTriggerPrimitiveDigi::presamples(), alignCSCRings::s, HcalTriggerPrimitiveDigi::sample(), HcalTriggerPrimitiveDigi::size(), HcalTriggerPrimitiveDigi::zsMarkAndPass(), and HcalTriggerPrimitiveDigi::zsUnsuppressed().

mps_fire.i
i
Definition: mps_fire.py:355
HcalTriggerPrimitiveDigi::id
const HcalTrigTowerDetId & id() const
Definition: HcalTriggerPrimitiveDigi.h:20
HcalTriggerPrimitiveDigi::presamples
int presamples() const
Definition: HcalTriggerPrimitiveDigi.h:22
HcalTriggerPrimitiveDigi::zsMarkAndPass
bool zsMarkAndPass() const
was ZS MarkAndPass?
Definition: HcalTriggerPrimitiveDigi.h:25
HcalTriggerPrimitiveDigi::sample
const HcalTriggerPrimitiveSample & sample(int i) const
Definition: HcalTriggerPrimitiveDigi.h:32
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HcalTriggerPrimitiveDigi::zsUnsuppressed
bool zsUnsuppressed() const
was ZS unsuppressed?
Definition: HcalTriggerPrimitiveDigi.h:27
HcalTriggerPrimitiveDigi::size
int size() const
Definition: HcalTriggerPrimitiveDigi.h:21