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(const G4LogicalVolumeToDDLogicalPartMap *, int, bool)
std::vector< std::pair< G4LogicalVolume *, const cms::DDSpecPar * > > dd4hepVec_
const std::string keywordRegion_
const G4LogicalVolumeToDDLogicalPartMap * map_
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition: DDLogicalPart.h:93
std::vector< Pair > Vector
usefull typedef
Definition: DDMapper.h:19
G4LogicalVolumeToDDLogicalPartMap::Vector vec_
void setProdCuts(const DDLogicalPart, G4Region *)
const dd4hep::sim::Geant4GeometryMaps::VolumeMap * dd4hepMap_
const cms::DDSpecParRegistry * specPars_