Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:04:29

0001 #ifndef SimG4Core_DDG4Dispatchable_H
0002 #define SimG4Core_DDG4Dispatchable_H
0003 
0004 #include "DetectorDescription/Core/interface/DDLogicalPart.h"
0005 
0006 #include "G4LogicalVolume.hh"
0007 
0008 class DDG4Dispatchable {
0009 public:
0010   DDG4Dispatchable(const DDLogicalPart* ddL, G4LogicalVolume* g4L) : ddLogical(ddL), g4Logical(g4L) {}
0011   const DDLogicalPart* getDDLogicalPart() const { return ddLogical; }
0012   G4LogicalVolume* getG4LogicalVolume() const { return g4Logical; }
0013 
0014 private:
0015   const DDLogicalPart* ddLogical;
0016   G4LogicalVolume* g4Logical;
0017 };
0018 
0019 #endif