CMS 3D CMS Logo

EcalDumpGeometry.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_Calo_EcalDumpGeometry_H
2 #define SimG4CMS_Calo_EcalDumpGeometry_H
8 
9 #include "G4Box.hh"
10 #include "G4LogicalVolumeStore.hh"
11 #include "G4PhysicalVolumeStore.hh"
12 #include "G4Run.hh"
13 #include "G4TransportationManager.hh"
14 #include "G4Trap.hh"
15 #include "G4LogicalVolume.hh"
16 #include "G4VPhysicalVolume.hh"
17 #include "G4VSolid.hh"
18 
19 #include <string>
20 #include <vector>
21 
23 public:
24  explicit EcalDumpGeometry(const std::vector<std::string_view> &, const std::string &, const std::string &, int);
25  ~EcalDumpGeometry() = default;
26 
27  void update();
28 
29 private:
30  void dumpTouch(G4VPhysicalVolume *pv, unsigned int leafDepth);
32 
37  std::vector<std::string> names_;
38  int type_;
39  G4NavigationHistory fHistory_;
40  std::vector<CaloDetInfo> infoVec_;
41 };
42 #endif
EcalBarrelNumberingScheme
Definition: EcalBarrelNumberingScheme.h:11
EcalDumpGeometry::fHistory_
G4NavigationHistory fHistory_
Definition: EcalDumpGeometry.h:39
EcalDumpGeometry::infoVec_
std::vector< CaloDetInfo > infoVec_
Definition: EcalDumpGeometry.h:40
EcalDumpGeometry::eeNumbering_
EcalEndcapNumberingScheme eeNumbering_
Definition: EcalDumpGeometry.h:35
EcalDumpGeometry::names_
std::vector< std::string > names_
Definition: EcalDumpGeometry.h:37
EcalDumpGeometry::update
void update()
Definition: EcalDumpGeometry.cc:35
EcalDumpGeometry::name1_
const std::string name1_
Definition: EcalDumpGeometry.h:33
EcalDumpGeometry::ebNumbering_
EcalBarrelNumberingScheme ebNumbering_
Definition: EcalDumpGeometry.h:34
CaloDetInfo.h
EcalDumpGeometry::name2_
const std::string name2_
Definition: EcalDumpGeometry.h:33
EcalPreshowerNumberingScheme
Definition: EcalPreshowerNumberingScheme.h:10
EcalDumpGeometry::type_
int type_
Definition: EcalDumpGeometry.h:38
EcalBarrelNumberingScheme.h
EcalDumpGeometry::~EcalDumpGeometry
~EcalDumpGeometry()=default
MetAnalyzer.pv
def pv(vc)
Definition: MetAnalyzer.py:7
EcalDumpGeometry::esNumbering_
EcalPreshowerNumberingScheme esNumbering_
Definition: EcalDumpGeometry.h:36
EcalBaseNumber.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalDumpGeometry::noRefl
std::string noRefl(const std::string &name)
Definition: EcalDumpGeometry.cc:120
EcalDumpGeometry::EcalDumpGeometry
EcalDumpGeometry(const std::vector< std::string_view > &, const std::string &, const std::string &, int)
Definition: EcalDumpGeometry.cc:14
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
EcalPreshowerNumberingScheme.h
EcalEndcapNumberingScheme
Definition: EcalEndcapNumberingScheme.h:10
EcalDumpGeometry::dumpTouch
void dumpTouch(G4VPhysicalVolume *pv, unsigned int leafDepth)
Definition: EcalDumpGeometry.cc:55
EcalEndcapNumberingScheme.h
EcalDumpGeometry
Definition: EcalDumpGeometry.h:22