Dose visualization from the G4PSDoseDeposit

I’m new to Geant4 and I’m trying to calculate the dose in a volume. I used the scorers G4PSDoseDeposit but I cannot request to view the calculated dose. I made a hit file but in the G4Step class there is no Getdose member. How do I get to see the dose value?