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 public:
10  DDG4Dispatchable(const DDLogicalPart* ddL, G4LogicalVolume* g4L) : ddLogical(ddL), g4Logical(g4L) {}
11  const DDLogicalPart* getDDLogicalPart() const { return ddLogical; }
12  G4LogicalVolume* getG4LogicalVolume() const { return g4Logical; }
13 
14 private:
16  G4LogicalVolume* g4Logical;
17 };
18 
19 #endif
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