CMS 3D CMS Logo

Classes | Functions
IntegerCaloSamples.h File Reference
#include "DataFormats/DetId/interface/DetId.h"
#include <ostream>

Go to the source code of this file.

Classes

class  IntegerCaloSamples
 

Functions

std::ostream & operator<< (std::ostream &s, const IntegerCaloSamples &samps)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const IntegerCaloSamples samps 
)

Definition at line 15 of file IntegerCaloSamples.cc.

References mps_fire::i, alignCSCRings::s, and EgammaValidation_cff::samples.

15  {
16  s << "DetId=" << samples.id().rawId();
17  s << ", " << samples.size() << "samples" << std::endl;
18  for (int i = 0; i < samples.size(); i++)
19  s << i << ":" << samples[i] << std::endl;
20  return s;
21 }