Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CCalG4Able.cc File Reference
Include dependency graph for CCalG4Able.cc:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CCalG4Able &det)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CCalG4Able det 
)

Definition at line 144 of file CCalG4Able.cc.

144  {
145  if (det.detPhysicalVolume)
146  os << "Physical volume already constructed." << G4endl;
147  else
148  os << "Physical volume still not constructed." << G4endl;
149 
150  if (det.isSensitive())
151  os << "and it is Sensitive" << G4endl;
152  else
153  os << "and it is not Sensitive" << G4endl;
154 
155  return os;
156 }
G4bool isSensitive() const
Definition: CCalG4Able.hh:75
G4VPhysicalVolume * detPhysicalVolume
Definition: CCalG4Able.hh:99
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function: