SimG4CMS
Calo
interface
HcalDumpGeometry.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_Calo_HcalDumpGeometry_H
2
#define SimG4CMS_Calo_HcalDumpGeometry_H
3
#include "
Geometry/HcalCommonData/interface/HcalNumberingFromDDD.h
"
4
#include "
SimG4CMS/Calo/interface/HcalTestNumberingScheme.h
"
5
#include "
SimG4CMS/Calo/interface/CaloDetInfo.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
20
class
HcalDumpGeometry
{
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);
32
std::string
getNameNoNS
(
const
std::string
&
name
);
33
34
const
HcalNumberingFromDDD
*
numberingFromDDD_
;
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::getNameNoNS
std::string getNameNoNS(const std::string &name)
Definition:
HcalDumpGeometry.cc:104
HcalDumpGeometry::update
void update()
Definition:
HcalDumpGeometry.cc:37
HcalNumberingFromDDD
Definition:
HcalNumberingFromDDD.h:16
HcalDumpGeometry::fHistory_
G4NavigationHistory fHistory_
Definition:
HcalDumpGeometry.h:38
HcalDumpGeometry::infoVec_
std::vector< CaloDetInfo > infoVec_
Definition:
HcalDumpGeometry.h:39
HcalDumpGeometry::HcalDumpGeometry
HcalDumpGeometry(const std::vector< std::string_view > &, const HcalNumberingFromDDD *, bool, bool flag=false)
Definition:
HcalDumpGeometry.cc:10
HcalDumpGeometry::numberingScheme_
std::unique_ptr< HcalNumberingScheme > numberingScheme_
Definition:
HcalDumpGeometry.h:35
HcalNumberingFromDDD.h
CaloDetInfo.h
HcalDumpGeometry::numberingFromDDD_
const HcalNumberingFromDDD * numberingFromDDD_
Definition:
HcalDumpGeometry.h:34
HcalDumpGeometry::dumpTouch
void dumpTouch(G4VPhysicalVolume *pv, unsigned int leafDepth)
Definition:
HcalDumpGeometry.cc:57
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
MetAnalyzer.pv
def pv(vc)
Definition:
MetAnalyzer.py:7
HcalDumpGeometry::~HcalDumpGeometry
~HcalDumpGeometry()=default
HcalDumpGeometry::names_
std::vector< std::string > names_
Definition:
HcalDumpGeometry.h:36
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
HcalTestNumberingScheme.h
HcalDumpGeometry
Definition:
HcalDumpGeometry.h:20
HcalDumpGeometry::flag_
const bool flag_
Definition:
HcalDumpGeometry.h:37
RemoveAddSevLevel.flag
flag
Definition:
RemoveAddSevLevel.py:116
Generated for CMSSW Reference Manual by
1.8.16