Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimG4CMS
Tracker
src
TrackerG4SimHitNumberingScheme.cc
Go to the documentation of this file.
1
#include "
SimG4CMS/Tracker/interface/TrackerG4SimHitNumberingScheme.h
"
2
#include "
SimG4CMS/Tracker/interface/TouchableToHistory.h
"
3
4
#include "G4VTouchable.hh"
5
#include "G4TransportationManager.hh"
6
#include "G4Navigator.hh"
7
#include "G4TouchableHistory.hh"
8
9
unsigned
int
TrackerG4SimHitNumberingScheme::g4ToNumberingScheme
(
const
G4VTouchable*
pv
){
10
return
ts
->
touchableToInt
(pv);
11
}
12
TrackerG4SimHitNumberingScheme::TrackerG4SimHitNumberingScheme
(
const
DDCompactView
& cpv,
13
const
GeometricDet
& det ){
14
ts
=
new
TouchableToHistory
(cpv,det);
15
}
16
void
TrackerG4SimHitNumberingScheme::clear
(){
17
if
(
ts
)
delete
ts
;
18
}
MetAnalyzer.pv
def pv
Definition:
MetAnalyzer.py:6
TrackerG4SimHitNumberingScheme::TrackerG4SimHitNumberingScheme
TrackerG4SimHitNumberingScheme(const DDCompactView &, const GeometricDet &)
Definition:
TrackerG4SimHitNumberingScheme.cc:12
TouchableToHistory
Definition:
TouchableToHistory.h:16
DDCompactView
type of data representation of DDCompactView
Definition:
DDCompactView.h:77
TouchableToHistory.h
TrackerG4SimHitNumberingScheme.h
TrackerG4SimHitNumberingScheme::g4ToNumberingScheme
unsigned int g4ToNumberingScheme(const G4VTouchable *)
Definition:
TrackerG4SimHitNumberingScheme.cc:9
GeometricDet
Definition:
GeometricDet.h:30
TrackerG4SimHitNumberingScheme::clear
void clear()
Definition:
TrackerG4SimHitNumberingScheme.cc:16
TouchableToHistory::touchableToInt
int touchableToInt(const G4VTouchable *)
Definition:
TouchableToHistory.cc:133
TrackerG4SimHitNumberingScheme::ts
TouchableToHistory * ts
Definition:
TrackerG4SimHitNumberingScheme.h:24
Generated for CMSSW Reference Manual by
1.8.5