CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SimBeamSpotObjects.cc
Go to the documentation of this file.
2 
3 #include <iostream>
4 
5 void SimBeamSpotObjects::print(std::stringstream& ss) const {
6  ss << "-----------------------------------------------------\n" << fX0 << std::endl;
7 }
8 
9 std::ostream& operator<<(std::ostream& os, SimBeamSpotObjects beam) {
10  std::stringstream ss;
11  beam.print(ss);
12  os << ss.str();
13  return os;
14 }
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
void print(std::stringstream &ss) const