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
DDG4Dispatchable::ddLogical
const DDLogicalPart * ddLogical
Definition: DDG4Dispatchable.h:15
DDG4Dispatchable::DDG4Dispatchable
DDG4Dispatchable(const DDLogicalPart *ddL, G4LogicalVolume *g4L)
Definition: DDG4Dispatchable.h:10
DDG4Dispatchable::getG4LogicalVolume
G4LogicalVolume * getG4LogicalVolume() const
Definition: DDG4Dispatchable.h:12
DDG4Dispatchable::getDDLogicalPart
const DDLogicalPart * getDDLogicalPart() const
Definition: DDG4Dispatchable.h:11
DDG4Dispatchable::g4Logical
G4LogicalVolume * g4Logical
Definition: DDG4Dispatchable.h:16
DDG4Dispatchable
Definition: DDG4Dispatchable.h:8
DDLogicalPart
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
Definition: DDLogicalPart.h:93
DDLogicalPart.h