Geant4  10.02.p03
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 ()
 

Private Attributes

G4bool fIsWorld
 
G4bool fIsTracker
 
G4bool fIsCalorimeter
 

Detailed Description

Definition at line 39 of file RE01RegionInformation.hh.

Constructor & Destructor Documentation

◆ RE01RegionInformation()

RE01RegionInformation::RE01RegionInformation ( )

◆ ~RE01RegionInformation()

RE01RegionInformation::~RE01RegionInformation ( )
virtual

Definition at line 43 of file RE01RegionInformation.cc.

44 {;}

Member Function Documentation

◆ IsCalorimeter()

G4bool RE01RegionInformation::IsCalorimeter ( ) const
inline

Definition at line 49 of file RE01RegionInformation.hh.

Here is the caller graph for this function:

◆ Print()

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:

◆ SetCalorimeter()

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

Definition at line 48 of file RE01RegionInformation.hh.

Here is the caller graph for this function:

◆ SetTracker()

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

Definition at line 47 of file RE01RegionInformation.hh.

Here is the caller graph for this function:

◆ SetWorld()

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

Definition at line 46 of file RE01RegionInformation.hh.

Here is the caller graph for this function:

Member Data Documentation

◆ fIsCalorimeter

G4bool RE01RegionInformation::fIsCalorimeter
private

Definition at line 54 of file RE01RegionInformation.hh.

◆ fIsTracker

G4bool RE01RegionInformation::fIsTracker
private

Definition at line 53 of file RE01RegionInformation.hh.

◆ fIsWorld

G4bool RE01RegionInformation::fIsWorld
private

Definition at line 52 of file RE01RegionInformation.hh.


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