CMS 3D CMS Logo

TrackerG4SimHitNumberingScheme.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_TrackerG4SimHitNumberingScheme_H
2 #define SimG4CMS_TrackerG4SimHitNumberingScheme_H
3 
4 #include <vector>
5 #include <map>
6 #include <string>
7 
8 class G4VTouchable;
9 class G4VPhysicalVolume;
10 class GeometricDet;
11 
13 public:
14  // Nav_Story is G4
15  using Nav_Story = std::vector<std::pair<int, std::string> >;
16  using DirectMapType = std::map<Nav_Story, unsigned int>;
17 
19 
20  unsigned int g4ToNumberingScheme(const G4VTouchable*);
21 
22 private:
23  void touchToNavStory(const G4VTouchable*, Nav_Story&);
24  void dumpG4VPV(const G4VTouchable*);
25 
26  void buildAll();
27 
31 };
32 
33 #endif
unsigned int g4ToNumberingScheme(const G4VTouchable *)
std::vector< std::pair< int, std::string > > Nav_Story
std::map< Nav_Story, unsigned int > DirectMapType
void touchToNavStory(const G4VTouchable *, Nav_Story &)