8 #ifndef GGSTOUCHABLEIDCOMPUTER_H_
9 #define GGSTOUCHABLEIDCOMPUTER_H_
36 #define RegisterTIDC(className) \
37 GGSTouchableIDComputer *className##Builder() { return new className(); } \
38 class className##Proxy { \
40 className##Proxy() { \
41 GGSFactory<GGSTouchableIDComputer>::GetInstance().RegisterBuilder(#className, className##Builder); \
44 className##Proxy proxyFor##className
virtual ~GGSTouchableIDComputer()
Destructor.
virtual int ComputeTouchableID(G4Step *aStep)=0
Computes the numeric ID for the touchable.
Interface for volume ID calculator classes.