Finding correct type name for a histogram through Geant4

Hello,

I have been unable to find the correct type name for this microdosimetry example of Geant4.
Here is what I have been using in the HistoManager.cc and it never compiles.

// create histograms
TH1F *histo1 = new TH1F(“histo1”,“z”,100, 0., 5.);
////////////
histo1->Fill(z);

Here is the preset for creating ntuples:

// create ntuple

analysisManager->SetFirstHistoId(1);

analysisManager->CreateNtuple(“ntuple”,“micro”);

analysisManager->CreateNtupleDColumn(“flagParticle”);
analysisManager->CreateNtupleDColumn(“flagProcess”);
analysisManager->CreateNtupleDColumn(“x”);
analysisManager->CreateNtupleDColumn(“y”);
analysisManager->CreateNtupleDColumn(“z”);
analysisManager->CreateNtupleDColumn(“edep”);
analysisManager->CreateNtupleDColumn(“stepLength”);
analysisManager->CreateNtupleDColumn(“edep_z”);

factoryOn = true;

G4cout << "\n----> Histogram file is opened in " << fileName[1] << G4endl;

Can someone help me please?

Thank you

[color=#FF0000]TH1F[/color] is the type name that I have been having problems with.