CMS 3D CMS Logo

DDG4ProductionCuts.h
Go to the documentation of this file.
1 #ifndef SimG4Core_DDG4ProductionCuts_H
2 #define SimG4Core_DDG4ProductionCuts_H
3 
6 #include "DDG4/Geant4GeometryInfo.h"
7 
8 #include <string>
9 #include <vector>
10 
11 class DDLogicalPart;
12 class G4Region;
13 class G4LogicalVolume;
14 
16 public:
17  explicit DDG4ProductionCuts(const G4LogicalVolumeToDDLogicalPartMap*, int, bool);
18 
19  // ---------------------------------
20  // DD4hep specific constructor...
22  const dd4hep::sim::Geant4GeometryMaps::VolumeMap*,
23  int,
24  bool);
25 
27 
28 private:
29  void initialize();
30  void setProdCuts(const DDLogicalPart, G4Region*);
31 
34 
35  // ---------------------------------
36  // DD4hep specific initialization,
37  // methods, and local variables...
38  void dd4hepInitialize();
39  void setProdCuts(const cms::DDSpecPar*, G4Region*);
40 
41  const dd4hep::sim::Geant4GeometryMaps::VolumeMap* dd4hepMap_ = nullptr;
42  std::vector<std::pair<G4LogicalVolume*, const cms::DDSpecPar*>> dd4hepVec_;
44  // ... end here.
45  // ---------------------------------
46 
48  const int verbosity_;
49  const bool protonCut_;
50 };
51 
52 #endif
DDG4ProductionCuts::verbosity_
const int verbosity_
Definition: DDG4ProductionCuts.h:48
DDMapper< G4LogicalVolume *, DDLogicalPart >
DDG4ProductionCuts::~DDG4ProductionCuts
~DDG4ProductionCuts()
Definition: DDG4ProductionCuts.cc:63
DDG4ProductionCuts::DDG4ProductionCuts
DDG4ProductionCuts(const G4LogicalVolumeToDDLogicalPartMap *, int, bool)
Definition: DDG4ProductionCuts.cc:50
cms::DDSpecParRegistry
Definition: DDSpecParRegistry.h:32
G4LogicalVolumeToDDLogicalPartMap.h
DDG4ProductionCuts::dd4hepMap_
const dd4hep::sim::Geant4GeometryMaps::VolumeMap * dd4hepMap_
Definition: DDG4ProductionCuts.h:41
DDG4ProductionCuts::protonCut_
const bool protonCut_
Definition: DDG4ProductionCuts.h:49
DDG4ProductionCuts::map_
const G4LogicalVolumeToDDLogicalPartMap * map_
Definition: DDG4ProductionCuts.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DDSpecParRegistry.h
DDG4ProductionCuts::dd4hepVec_
std::vector< std::pair< G4LogicalVolume *, const cms::DDSpecPar * > > dd4hepVec_
Definition: DDG4ProductionCuts.h:42
DDMapper< G4LogicalVolume *, DDLogicalPart >::Vector
std::vector< Pair > Vector
usefull typedef
Definition: DDMapper.h:19
DDG4ProductionCuts::keywordRegion_
const std::string keywordRegion_
Definition: DDG4ProductionCuts.h:47
DDLogicalPart
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
Definition: DDLogicalPart.h:93
DDG4ProductionCuts
Definition: DDG4ProductionCuts.h:15
DDG4ProductionCuts::specPars_
const cms::DDSpecParRegistry * specPars_
Definition: DDG4ProductionCuts.h:43
cms::DDSpecPar
Definition: DDSpecParRegistry.h:14
DDG4ProductionCuts::vec_
G4LogicalVolumeToDDLogicalPartMap::Vector vec_
Definition: DDG4ProductionCuts.h:33
DDG4ProductionCuts::initialize
void initialize()
Definition: DDG4ProductionCuts.cc:65
DDG4ProductionCuts::setProdCuts
void setProdCuts(const DDLogicalPart, G4Region *)
Definition: DDG4ProductionCuts.cc:151
DDG4ProductionCuts::dd4hepInitialize
void dd4hepInitialize()
Definition: DDG4ProductionCuts.cc:111