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 
7 #include <string>
8 #include <vector>
9 
10 class DDLogicalPart;
11 class G4Region;
12 class G4LogicalVolume;
13 class G4ProductionCuts;
14 
16 
17 public:
19  const edm::ParameterSet & p);
21  void update();
22  void SetVerbosity( int verb ) { m_Verbosity = verb; return ; }
23 
24 private:
25 
26  void initialize();
27  void setProdCuts(const DDLogicalPart lpart, G4LogicalVolume * lvolume);
28  G4Region * getRegion(const std::string & region);
29  G4ProductionCuts * getProductionCuts(G4Region * region);
30 
36 };
37 
38 #endif
G4LogicalVolumeToDDLogicalPartMap map_
void setProdCuts(const DDLogicalPart lpart, G4LogicalVolume *lvolume)
std::string m_KeywordRegion
return((rh^lh)&mask)
G4ProductionCuts * getProductionCuts(G4Region *region)
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition: DDLogicalPart.h:92
DDG4ProductionCuts(const G4LogicalVolumeToDDLogicalPartMap &, int, const edm::ParameterSet &p)
std::vector< Pair > Vector
usefull typedef
Definition: DDMapper.h:20
G4LogicalVolumeToDDLogicalPartMap::Vector vec_
G4Region * getRegion(const std::string &region)
void SetVerbosity(int verb)