ATLAS Offline Software
Loading...
Searching...
No Matches
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}
const list_t & chargeComposition() const
double charge() const
bool copy
Definition calibdata.py:26