Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE01RegionInformation Class Reference

#include <RE01RegionInformation.hh>

Inheritance diagram for RE01RegionInformation:
Collaboration diagram for RE01RegionInformation:

Public Member Functions

 RE01RegionInformation ()
 
virtual ~RE01RegionInformation ()
 
virtual void Print () const
 
void SetWorld (G4bool v=true)
 
void SetTracker (G4bool v=true)
 
void SetCalorimeter (G4bool v=true)
 
G4bool IsCalorimeter () const
 
- Public Member Functions inherited from G4VUserRegionInformation
 G4VUserRegionInformation ()
 
virtual ~G4VUserRegionInformation ()
 

Detailed Description

Definition at line 39 of file RE01RegionInformation.hh.

Constructor & Destructor Documentation

RE01RegionInformation::RE01RegionInformation ( )

Definition at line 37 of file RE01RegionInformation.cc.

39  fIsWorld(false),fIsTracker(false),fIsCalorimeter(false)
40 {;}
RE01RegionInformation::~RE01RegionInformation ( )
virtual

Definition at line 43 of file RE01RegionInformation.cc.

44 {;}

Member Function Documentation

G4bool RE01RegionInformation::IsCalorimeter ( ) const
inline

Definition at line 49 of file RE01RegionInformation.hh.

49 {return fIsCalorimeter;}

Here is the caller graph for this function:

void RE01RegionInformation::Print ( void  ) const
virtual

Implements G4VUserRegionInformation.

Definition at line 47 of file RE01RegionInformation.cc.

48 {
49  G4cout << "I'm ";
50  if(fIsWorld) { G4cout << "World."; }
51  else if(fIsTracker) { G4cout << "Tracker."; }
52  else if(fIsCalorimeter) { G4cout << "Calorimeter."; }
53  else { G4cout << "unknown."; }
54  G4cout << G4endl;
55 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61

Here is the caller graph for this function:

void RE01RegionInformation::SetCalorimeter ( G4bool  v = true)
inline

Definition at line 48 of file RE01RegionInformation.hh.

48 {fIsCalorimeter = v;}
tuple v
Definition: test.py:18

Here is the caller graph for this function:

void RE01RegionInformation::SetTracker ( G4bool  v = true)
inline

Definition at line 47 of file RE01RegionInformation.hh.

47 {fIsTracker = v;}
tuple v
Definition: test.py:18

Here is the caller graph for this function:

void RE01RegionInformation::SetWorld ( G4bool  v = true)
inline

Definition at line 46 of file RE01RegionInformation.hh.

46 {fIsWorld = v;}
tuple v
Definition: test.py:18

Here is the caller graph for this function:


The documentation for this class was generated from the following files: