43 fMinpos(-10.),fMaxpos(10),fMineng(0.),fMaxeng(1000.),
44 fEnerHisto(0),fPosiXY(0),fPosiZX(0),fPosiYZ(0),fAnglCTP(0),fAnglTP(0)
76 G4cout <<
"\n---> exGPSHistoManager::book(): cannot open " <<
fFileName[1]
101 id =analysisManager->
CreateH2(
"5",
"Source phi-std::cos(theta) distribution",
102 360,0,360,100, -1, 1);
105 id =analysisManager->
CreateH2(
"6",
"Source phi-theta distribution",
106 360,0,360,180,0,180);
111 analysisManager->
CreateNtuple(
"MyTuple",
"Primary Particle Tuple");
132 analysisManager->
Write();
136 delete G4AnalysisManager::Instance();
170 G4cout <<
"\n ----> print histograms statistic \n" <<
G4endl;
G4bool SetHistoDirectoryName(const G4String &dirName)
Definition of the exGPSHistoMessenger class.
G4int CreateNtupleIColumn(const G4String &name)
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")
void SetVerboseLevel(G4int verboseLevel)
G4int CreateNtuple(const G4String &name, const G4String &title)
G4bool SetNtupleDirectoryName(const G4String &dirName)
exGPSHistoMessenger * fMessenger
G4bool FillNtupleIColumn(G4int id, G4int value)
void Fill(G4int PDGid, G4double e, G4double x, G4double y, G4double z, G4double t, G4double p, G4double w)
G4GLOB_DLL std::ostream G4cout
G4bool FillNtupleDColumn(G4int id, G4double value)
G4String GetFileType() const
Definition of the exGPSHistoManager class.
G4bool SetFirstNtupleId(G4int firstId)
G4int CreateNtupleDColumn(const G4String &name)
tools::histo::h1d * GetH1(G4int id, G4bool warn=true, G4bool onlyIfActive=true) const
tools::histo::h2d * GetH2(G4int id, G4bool warn=true, G4bool onlyIfActive=true) const
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 &xbinScheme="linear", const G4String &ybinScheme="linear")