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

#include <CCalHcalOrganization.hh>

Inheritance diagram for CCalHcalOrganization:
Collaboration diagram for CCalHcalOrganization:

Public Member Functions

 CCalHcalOrganization ()
 
 ~CCalHcalOrganization ()
 
virtual unsigned int GetUnitID (const G4Step *aStep) const
 
- Public Member Functions inherited from CCalVOrganization
 CCalVOrganization ()
 
virtual ~CCalVOrganization ()
 
virtual int Levels (const G4Step *) const
 
virtual void DetectorLevel (const G4Step *, int &, int *, G4String *) const
 

Additional Inherited Members

- Protected Attributes inherited from CCalVOrganization
CCaloOrganization theOrg
 

Detailed Description

Definition at line 35 of file CCalHcalOrganization.hh.

Constructor & Destructor Documentation

CCalHcalOrganization::CCalHcalOrganization ( )
inline

Definition at line 38 of file CCalHcalOrganization.hh.

38 {};
CCalHcalOrganization::~CCalHcalOrganization ( )

Definition at line 37 of file CCalHcalOrganization.cc.

37  {
38  G4cout << "CCalHcalOrganization deleted" << G4endl;
39 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61

Member Function Documentation

unsigned int CCalHcalOrganization::GetUnitID ( const G4Step aStep) const
virtual

Implements CCalVOrganization.

Definition at line 42 of file CCalHcalOrganization.cc.

42  {
43 
44  G4TouchableHistory* theTouchable =
46  if ((theTouchable->GetHistoryDepth()) > 0)
47  return theTouchable->GetReplicaNumber( 1 );
48  else
49  return 0;
50 }
G4int GetHistoryDepth() const
const G4VTouchable * GetTouchable() const
G4StepPoint * GetPreStepPoint() const
G4int GetReplicaNumber(G4int depth=0) const

Here is the call graph for this function:


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