44 #ifndef CCML2SDWithVoxelsH
45 #define CCML2SDWithVoxelsH
52 class CML2ReadOutGeometryVoxels;
67 inline void setVolumeNameIdLink(std::vector <SvolumeNameId> volNameIdLink){volumeNameIdLink=volNameIdLink;}
76 G4double halfXVoxelDimensionX, halfXVoxelDimensionY, halfXVoxelDimensionZ;
77 G4int NumberOfVoxelsAlongX, NumberOfVoxelsAlongY, NumberOfVoxelsAlongZ;
78 Svoxel ***voxelsSum, ***voxelsSingle;
79 G4String fullOutFileData, fullOutFileDataSingle;
80 G4int nTotalEvents, nSingleTotalEvents, nParticle, nParticleValatile, saving_in_ROG_Voxels_every_events, nRecycling;
82 G4double voxelMass, density, voxelVolume;
83 std::vector <SvolumeNameId> volumeNameIdLink;
void EndOfEvent(G4HCofThisEvent *)
void setVolumeNameIdLink(std::vector< SvolumeNameId > volNameIdLink)
void Initialize(G4HCofThisEvent *)
void setRecycling(int recycling)
CML2SDWithVoxels(G4String name, G4int saving_in_ROG_Voxels_every_events, G4int seed, G4String ROGOutFile, G4bool bSaveROG, G4ThreeVector centre, G4ThreeVector halfSize, G4int NumberOfVoxelsAlongX, G4int NumberOfVoxelsAlongY, G4int NumberOfVoxelsAlongZ)
void setActive(G4bool act)
void setFullOutFileDataSingle(G4String val)
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROHist)
G4int getTotalNumberOfEvents()