Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CexmcEnergyDepositDigitizer.hh File Reference
#include <iosfwd>
#include <G4VDigitizerModule.hh>
#include <G4SystemOfUnits.hh>
#include "CexmcEnergyDepositStore.hh"
#include "CexmcSimpleRangeWithValue.hh"
#include "CexmcException.hh"
#include "CexmcCommon.hh"
Include dependency graph for CexmcEnergyDepositDigitizer.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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 }
static const double prec
Definition: RanecuEngine.cc:58