GGS(GenericGEANT4Simulation)Software  2.7.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
Public Member Functions
GGSTouchableIDComputer Class Referenceabstract

Interface for volume ID calculator classes. More...

#include <GGSTouchableIDComputer.h>

Inheritance diagram for GGSTouchableIDComputer:
Inheritance graph
[legend]

Public Member Functions

virtual ~GGSTouchableIDComputer ()
 Destructor.
 
virtual int ComputeTouchableID (G4Step *aStep)=0
 Computes the numeric ID for the touchable. More...
 

Detailed Description

Interface for volume ID calculator classes.

This class provides an interface for computing the ID of a given volume/touchable during the processing of a particle step in the ProcessHits method of a sensitive detector class.

Definition at line 20 of file GGSTouchableIDComputer.h.

Member Function Documentation

virtual int GGSTouchableIDComputer::ComputeTouchableID ( G4Step *  aStep)
pure virtual

Computes the numeric ID for the touchable.

Parameters
aStepthe current step.
Returns
the ID of the touchable where the current step is happening.

Implemented in GGSUniqueTouchableIDComputer.


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