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

#include <CCalVOrganization.hh>

Inheritance diagram for CCalVOrganization:
Collaboration diagram for CCalVOrganization:

Public Member Functions

 CCalVOrganization ()
 
virtual ~CCalVOrganization ()
 
virtual unsigned int GetUnitID (const G4Step *aStep) const =0
 
virtual int Levels (const G4Step *) const
 
virtual void DetectorLevel (const G4Step *, int &, int *, G4String *) const
 

Protected Attributes

CCaloOrganization theOrg
 

Detailed Description

Definition at line 36 of file CCalVOrganization.hh.

Constructor & Destructor Documentation

CCalVOrganization::CCalVOrganization ( )
inline

Definition at line 39 of file CCalVOrganization.hh.

39 {};
virtual CCalVOrganization::~CCalVOrganization ( )
inlinevirtual

Definition at line 40 of file CCalVOrganization.hh.

40 {};

Member Function Documentation

void CCalVOrganization::DetectorLevel ( const G4Step aStep,
int level,
int copyno,
G4String name 
) const
virtual

Definition at line 43 of file CCalVOrganization.cc.

44  {
45 
46  //Get name and copy numbers
47  G4TouchableHistory* theTouchable =
49  for ( int ii = 0; ii < level; ii++ ) {
50  name[ level - ii - 1 ] = theTouchable->GetVolume(ii)->GetName();
51  copyno[ level - ii - 1 ] = theTouchable->GetReplicaNumber(ii);
52  }
53 
54 }
G4VPhysicalVolume * GetVolume(G4int depth=0) const
const G4VTouchable * GetTouchable() const
G4StepPoint * GetPreStepPoint() const
const G4String & GetName() const
G4int GetReplicaNumber(G4int depth=0) const

Here is the call graph for this function:

virtual unsigned int CCalVOrganization::GetUnitID ( const G4Step aStep) const
pure virtual
int CCalVOrganization::Levels ( const G4Step aStep) const
virtual

Definition at line 34 of file CCalVOrganization.cc.

34  {
35 
36  //Find number of levels
37  G4TouchableHistory* theTouchable =
39  return ((theTouchable->GetHistoryDepth()) + 1);
40 }
G4int GetHistoryDepth() const
const G4VTouchable * GetTouchable() const
G4StepPoint * GetPreStepPoint() const

Here is the call graph for this function:

Member Data Documentation

CCaloOrganization CCalVOrganization::theOrg
protected

Definition at line 47 of file CCalVOrganization.hh.


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