ATLAS Offline Software
Functions
SiTotalCharge.cxx File Reference
#include "InDetSimEvent/SiTotalCharge.h"
#include <iterator>
Include dependency graph for SiTotalCharge.cxx:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const SiTotalCharge &totalCharge)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const SiTotalCharge totalCharge 
)

Definition at line 124 of file SiTotalCharge.cxx.

125 {
126  out << "Total charge=" << totalCharge.charge()
127  << " Composition:" << std::endl;
128  copy(totalCharge.chargeComposition().begin(),
129  totalCharge.chargeComposition().end(),
130  std::ostream_iterator<SiCharge>(out,"\n"));
131  return out;
132 }
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
SiTotalCharge::charge
double charge() const
Definition: SiTotalCharge.h:118
SiTotalCharge::chargeComposition
const list_t & chargeComposition() const
Definition: SiTotalCharge.h:123
calibdata.copy
bool copy
Definition: calibdata.py:27