ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
FPTracker::Stringer Class Reference
Collaboration diagram for FPTracker::Stringer:

Public Member Functions

 Stringer ()
 
void operator() (const IBeamElement::ConstPtr_t &ib)
 
std::string str () const
 

Private Attributes

std::shared_ptr< std::stringstream > m_ost
 

Detailed Description

Definition at line 146 of file FPTracker/src/Beamline.cxx.

Constructor & Destructor Documentation

◆ Stringer()

FPTracker::Stringer::Stringer ( )
inline

Definition at line 148 of file FPTracker/src/Beamline.cxx.

148  :m_ost(new std::stringstream){
149  (*m_ost)<<"\n\n--Beamline--\n";
150  }

Member Function Documentation

◆ operator()()

void FPTracker::Stringer::operator() ( const IBeamElement::ConstPtr_t ib)
inline

Definition at line 151 of file FPTracker/src/Beamline.cxx.

151  {
152  (*m_ost)<<fixLabel(ib->label())<<" "<<ib->side()<<" "<<ib->frontFace()<<" "<<ib->rearFace()<<'\n';
153  }

◆ str()

std::string FPTracker::Stringer::str ( ) const
inline

Definition at line 154 of file FPTracker/src/Beamline.cxx.

154 {return m_ost->str();}

Member Data Documentation

◆ m_ost

std::shared_ptr< std::stringstream > FPTracker::Stringer::m_ost
private

Definition at line 156 of file FPTracker/src/Beamline.cxx.


The documentation for this class was generated from the following file:
PlotCalibFromCool.ib
ib
Definition: PlotCalibFromCool.py:419
FPTracker::Stringer::m_ost
std::shared_ptr< std::stringstream > m_ost
Definition: FPTracker/src/Beamline.cxx:156
FPTracker::fixLabel
std::string fixLabel(const std::string &label)
Definition: FPTracker/src/Beamline.cxx:139