CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HcalDumpGeometry.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_Calo_HcalDumpGeometry_H
2 #define SimG4CMS_Calo_HcalDumpGeometry_H
6 
7 #include "G4Box.hh"
8 #include "G4LogicalVolumeStore.hh"
9 #include "G4PhysicalVolumeStore.hh"
10 #include "G4Run.hh"
11 #include "G4TransportationManager.hh"
12 #include "G4Trap.hh"
13 #include "G4LogicalVolume.hh"
14 #include "G4VPhysicalVolume.hh"
15 #include "G4VSolid.hh"
16 
17 #include <string>
18 #include <vector>
19 
21 public:
22  explicit HcalDumpGeometry(const std::vector<std::string_view> &,
23  const HcalNumberingFromDDD *,
24  bool,
25  bool flag = false);
26  ~HcalDumpGeometry() = default;
27 
28  void update();
29 
30 private:
31  void dumpTouch(G4VPhysicalVolume *pv, unsigned int leafDepth);
33 
35  std::unique_ptr<HcalNumberingScheme> numberingScheme_;
36  std::vector<std::string> names_;
37  const bool flag_;
38  G4NavigationHistory fHistory_;
39  std::vector<CaloDetInfo> infoVec_;
40 };
41 #endif
~HcalDumpGeometry()=default
std::vector< std::string > names_
std::string getNameNoNS(const std::string &name)
std::vector< CaloDetInfo > infoVec_
G4NavigationHistory fHistory_
HcalDumpGeometry(const std::vector< std::string_view > &, const HcalNumberingFromDDD *, bool, bool flag=false)
const HcalNumberingFromDDD * numberingFromDDD_
std::unique_ptr< HcalNumberingScheme > numberingScheme_
void dumpTouch(G4VPhysicalVolume *pv, unsigned int leafDepth)