GGS(GenericGEANT4Simulation)Software
2.7.0
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Macros
include
montecarlo
scoring
GGSUniqueTouchableIDComputer.h
1
/*
2
* GGSUniqueTouchableIDComputer.h
3
*
4
* Created on: 3 Jun 2020
5
* Author: Nicola Mori
6
*/
7
8
#ifndef GGSUNIQUETOUCHABLEIDCOMPUTER_H_
9
#define GGSUNIQUETOUCHABLEIDCOMPUTER_H_
10
11
#include "montecarlo/scoring/GGSTouchableIDComputer.h"
12
13
class
G4VPhysicalVolume;
14
15
#include <unordered_map>
16
32
class
GGSUniqueTouchableIDComputer
:
public
GGSTouchableIDComputer
{
33
public
:
45
int
ComputeTouchableID
(G4Step *aStep);
46
47
private
:
48
std::unordered_map<G4VPhysicalVolume *, int> _multMap;
49
};
50
51
#endif
/* GGSUNIQUETOUCHABLEIDCOMPUTER_H_ */
GGSUniqueTouchableIDComputer
A class that computes unique IDs for each touchable.
Definition:
GGSUniqueTouchableIDComputer.h:32
GGSUniqueTouchableIDComputer::ComputeTouchableID
int ComputeTouchableID(G4Step *aStep)
Computes the touchable ID in a unique way.
Definition:
GGSUniqueTouchableIDComputer.cpp:14
GGSTouchableIDComputer
Interface for volume ID calculator classes.
Definition:
GGSTouchableIDComputer.h:20
Generated on Wed Jul 8 2020 07:29:44 for GGS(GenericGEANT4Simulation)Software by
1.8.5