CMS 3D CMS Logo

DDG4Dispatchable.h
Go to the documentation of this file.
1 #ifndef SimG4Core_DDG4Dispatchable_H
2 #define SimG4Core_DDG4Dispatchable_H
3 
5 
6 #include "G4LogicalVolume.hh"
7 
9 {
10 public:
11  DDG4Dispatchable(const DDLogicalPart * ddL, G4LogicalVolume * g4L)
12  : ddLogical(ddL), g4Logical(g4L) {}
13  const DDLogicalPart * getDDLogicalPart() const { return ddLogical; }
14  G4LogicalVolume * getG4LogicalVolume() const{ return g4Logical; }
15 private:
17  G4LogicalVolume * g4Logical;
18 };
19 
20 #endif
21 
22 
const DDLogicalPart * getDDLogicalPart() const
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition: DDLogicalPart.h:93
G4LogicalVolume * g4Logical
G4LogicalVolume * getG4LogicalVolume() const
DDG4Dispatchable(const DDLogicalPart *ddL, G4LogicalVolume *g4L)
const DDLogicalPart * ddLogical