Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
CCalG4Able.cc File Reference
#include "CCalGeometryConfiguration.hh"
#include "CCalG4Able.hh"
#include "CCalSensitiveConfiguration.hh"
#include "G4Color.hh"
#include "G4VisAttributes.hh"

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.

References CCalG4Able::detPhysicalVolume, G4endl, and CCalG4Able::isSensitive().

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