CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
TrackerG4SimHitNumberingScheme Class Reference

#include <TrackerG4SimHitNumberingScheme.h>

Public Types

typedef std::vector< int > nav_type
 

Public Member Functions

void clear ()
 
unsigned int g4ToNumberingScheme (const G4VTouchable *)
 
 TrackerG4SimHitNumberingScheme (const DDCompactView &, const GeometricDet &)
 
 ~TrackerG4SimHitNumberingScheme ()
 

Private Attributes

TouchableToHistoryts
 

Detailed Description

Definition at line 12 of file TrackerG4SimHitNumberingScheme.h.

Member Typedef Documentation

typedef std::vector<int> TrackerG4SimHitNumberingScheme::nav_type

Definition at line 15 of file TrackerG4SimHitNumberingScheme.h.

Constructor & Destructor Documentation

TrackerG4SimHitNumberingScheme::TrackerG4SimHitNumberingScheme ( const DDCompactView cpv,
const GeometricDet det 
)

Definition at line 12 of file TrackerG4SimHitNumberingScheme.cc.

References ts.

TrackerG4SimHitNumberingScheme::~TrackerG4SimHitNumberingScheme ( )
inline

Member Function Documentation

void TrackerG4SimHitNumberingScheme::clear ( void  )

Definition at line 16 of file TrackerG4SimHitNumberingScheme.cc.

References ts.

Referenced by ~TrackerG4SimHitNumberingScheme().

16  {
17  if (ts) delete ts;
18 }
unsigned int TrackerG4SimHitNumberingScheme::g4ToNumberingScheme ( const G4VTouchable *  pv)

Definition at line 9 of file TrackerG4SimHitNumberingScheme.cc.

References TouchableToHistory::touchableToInt(), and ts.

Referenced by TkAccumulatingSensitiveDetector::setDetUnitId().

9  {
10  return ts->touchableToInt(pv);
11 }
int touchableToInt(const G4VTouchable *)

Member Data Documentation

TouchableToHistory* TrackerG4SimHitNumberingScheme::ts
private