ATLAS Offline Software
Classes | Functions
SiTotalCharge.h File Reference
#include <list>
#include "InDetSimEvent/SiCharge.h"
#include "AthAllocators/ArenaSharedHeapSTLAllocator.h"
Include dependency graph for SiTotalCharge.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SiTotalCharge
 

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