LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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 106 of file LArVoxelReadout.h.
typedef IDTYPE larg4::G4PVPlacementWithID< IDTYPE >::ID_t |
Definition at line 108 of file LArVoxelReadout.h.
|
inline |
Constructor.
Definition at line 113 of file LArVoxelReadout.h.
|
inlinevirtual |
ID_t larg4::G4PVPlacementWithID< IDTYPE >::ID |
Physical Volume identificator.
Definition at line 110 of file LArVoxelReadout.h.
Referenced by larg4::LArVoxelReadout::ProcessHits().