CMS 3D CMS Logo

Functions
MaterialInformation.cc File Reference
#include "SimDataFormats/CaloHit/interface/MaterialInformation.h"
#include <iomanip>
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &o, const MaterialInformation &info)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  o,
const MaterialInformation info 
)

Definition at line 5 of file MaterialInformation.cc.

References info(), and EcalTangentSkim_cfg::o.

5  {
6  o << info.vname() << " ID " << info.id() << " Eta:Phi " << info.trackEta() << ":" << info.trackPhi()
7  << " Step Length " << std::setw(10) << info.stepLength() << " Radiation Length " << std::setw(10)
8  << info.radiationLength() << " Interaction Length " << std::setw(10) << info.interactionLength();
9 
10  return o;
11 }
static const TGPicture * info(bool iBackgroundIsBlack)