LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
A G4PVPlacement with an additional identificator. More...
#include "LArVoxelReadout.h"
Public Types | |
typedef IDTYPE | ID_t |
Public Member Functions | |
G4PVPlacementWithID (const G4Transform3D &Transform3D, const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pMother, G4bool pMany, G4int pCopyNo, G4bool pSurfChk=false, ID_t id=ID_t()) | |
Constructor. More... | |
virtual | ~G4PVPlacementWithID () |
Virtual destructor: does nothing more. More... | |
Public Attributes | |
ID_t | ID |
Physical Volume identificator. More... | |
A G4PVPlacement with an additional identificator.
IDTYPE | type of ID class |
This class is a G4PVPlacement with in addition an ID parameter. The ID type is an object which can be default-constructed and copied, better to be a POD.
This being a very stupid utility class, only the constructor that we actually use is available. The others can be implemented in the same way. Also the merry company of copy and move constuctors and operators is left to the good will of the compiler, despite the destructor is specified.
Definition at line 94 of file LArVoxelReadout.h.
typedef IDTYPE larg4::G4PVPlacementWithID< IDTYPE >::ID_t |
Definition at line 96 of file LArVoxelReadout.h.
|
inline |
Constructor.
Definition at line 101 of file LArVoxelReadout.h.
|
inlinevirtual |
ID_t larg4::G4PVPlacementWithID< IDTYPE >::ID |
Physical Volume identificator.
Definition at line 98 of file LArVoxelReadout.h.
Referenced by larg4::LArVoxelReadout::ProcessHits().