Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Functions
CexmcEnergyDepositDigitizer.hh File Reference
#include <iosfwd>
#include <G4VDigitizerModule.hh>
#include <G4SystemOfUnits.hh>
#include "CexmcEnergyDepositStore.hh"
#include "CexmcSimpleRangeWithValue.hh"
#include "CexmcException.hh"
#include "CexmcCommon.hh"

Go to the source code of this file.

Data Structures

class  CexmcEnergyDepositDigitizer
 

Functions

std::ostream & operator<< (std::ostream &out, const CexmcEnergyDepositCalorimeterCollection &edCollection)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const CexmcEnergyDepositCalorimeterCollection edCollection 
)

Definition at line 340 of file CexmcEnergyDepositDigitizer.cc.

342 {
343  std::streamsize prec( out.precision() );
344 
345  out.precision( 4 );
346 
347  out << std::endl;
348  for ( CexmcEnergyDepositCalorimeterCollection::const_reverse_iterator
349  k( edCollection.rbegin() ); k != edCollection.rend(); ++k )
350  {
351  for ( CexmcEnergyDepositCrystalRowCollection::const_reverse_iterator
352  l( k->rbegin() ); l != k->rend(); ++l )
353  out << std::setw( 10 ) << *l;
354  out << std::endl;
355  }
356 
357  out.precision( prec );
358 
359  return out;
360 }