Geant4  10.00.p01
exGPSHistoManager.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
28 //
29 //
30 // $Id: exGPSHistoManager.hh 74272 2013-10-02 14:48:50Z gcosmo $
31 //
32 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
33 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
34 
35 #ifndef exGPSHistoManager_h
36 #define exGPSHistoManager_h 1
37 
38 #include "globals.hh"
39 #include "g4root.hh"
43 
44 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
45 
46 
47 
48 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
49 
51 {
52  public:
53 
56 
57  void book();
58  void save();
59 
60  void Fill(G4int PDGid, G4double e,
62  G4double t, G4double p, G4double w);
63 
64  void PrintStatistic();
65 
66  private:
67 
74 
75  public:
76  inline void SetEMin(G4double emin) {fMineng = emin;}
77  inline void SetEMax(G4double emax) {fMaxeng = emax;}
78  inline void SetPosMin(G4double posmin) {fMinpos = posmin;}
79  inline void SetPosMax(G4double posmax) {fMaxpos = posmax;}
80  inline void SetFileName(G4String name) {fFileName[0] = name;}
81 
82 };
83 
84 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
85 
86 #endif
87 
tools::histo::h2d G4AnaH2
Definition: g4root_defs.hh:41
G4double z
Definition: TRTMaterials.hh:39
G4String name
Definition: TRTMaterials.hh:40
int G4int
Definition: G4Types.hh:78
void SetFileName(G4String name)
void SetEMax(G4double emax)
exGPSHistoMessenger * fMessenger
void Fill(G4int PDGid, G4double e, G4double x, G4double y, G4double z, G4double t, G4double p, G4double w)
bool G4bool
Definition: G4Types.hh:79
tools::histo::h1d G4AnaH1
Definition: g4root_defs.hh:40
void SetPosMin(G4double posmin)
double G4double
Definition: G4Types.hh:76
void SetPosMax(G4double posmax)
void SetEMin(G4double emin)