CMS 3D CMS Logo

Functions | Variables
EcalEBPhase2TriggerPrimitiveDigi.cc File Reference
#include "DataFormats/EcalDigi/interface/EcalEBPhase2TriggerPrimitiveDigi.h"
#include <iostream>
#include <algorithm>

Go to the source code of this file.

Functions

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

Variables

static constexpr int MAXSAMPLES = 20
 

Function Documentation

◆ operator<<()

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

Definition at line 56 of file EcalEBPhase2TriggerPrimitiveDigi.cc.

References mps_fire::i, EcalEBPhase2TriggerPrimitiveDigi::id(), alignCSCRings::s, EcalEBPhase2TriggerPrimitiveDigi::sample(), and EcalEBPhase2TriggerPrimitiveDigi::size().

56  {
57  s << digi.id() << " " << digi.size() << " samples " << std::endl;
58  for (int i = 0; i < digi.size(); i++)
59  s << " " << digi.sample(i) << std::endl;
60  return s;
61 }
const EcalEBPhase2TriggerPrimitiveSample & sample(int i) const

Variable Documentation

◆ MAXSAMPLES

constexpr int MAXSAMPLES = 20
static