156 G4cout <<
"Opening output file " << histoFileName <<
" ... ";
167 int N = Nstrip*Ntile;
174 man->
CreateH1(
"1",
"Edep in the last X plane (keV)", 100, 50, 200);
177 man->
CreateH1(
"2",
"Hits dist in TKR X planes",Nplane, 0, Nplane-1);
184 if (histo2DMode ==
"strip")
186 man->
CreateH2(
"1",
"Tracker Hits XZ (strip,plane)",
188 2*Nplane, 0, Nplane-1);
192 man->
CreateH2(
"1",
"Tracker Hits XZ (x,z) in mm",
193 int(sizexy/5), -sizexy/2, sizexy/2,
194 int(sizez/5), -sizez/2, sizez/2);
198 if (histo2DMode ==
"strip")
200 man->
CreateH2(
"2",
"Tracker Hits YZ (strip,plane)",
202 2*Nplane, 0, Nplane-1);
206 man->
CreateH2(
"2",
"Tracker Hits YZ (x,z) in mm",
207 int(sizexy/5), -sizexy/2, sizexy/2,
208 int(sizez/5), -sizez/2, sizez/2);
G4bool SetFirstHistoId(G4int firstId)
G4int CreateH1(const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")
G4double GetTKRSizeXY() const
G4int CreateNtuple(const G4String &name, const G4String &title)
G4int GetNbOfTKRLayers() const
G4bool OpenFile(const G4String &fileName="")
G4GLOB_DLL std::ostream G4cout
G4int GetNbOfTKRTiles() const
G4double GetTKRSizeZ() const
G4int GetNbOfTKRStrips() const
G4int CreateNtupleDColumn(const G4String &name)
G4int CreateH2(const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear")