Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:40

0001 #include "SimDataFormats/CaloHit/interface/MaterialInformation.h"
0002 #include <iomanip>
0003 #include <iostream>
0004 
0005 std::ostream& operator<<(std::ostream& o, const MaterialInformation& info) {
0006   o << info.vname() << " ID " << info.id() << " Eta:Phi " << info.trackEta() << ":" << info.trackPhi()
0007     << " Step Length " << std::setw(10) << info.stepLength() << " Radiation Length " << std::setw(10)
0008     << info.radiationLength() << " Interaction Length " << std::setw(10) << info.interactionLength();
0009 
0010   return o;
0011 }