Geant4
10.00.p01
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
"
42
class
exGPSHistoMessenger
;
43
44
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
45
46
47
48
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
49
50
class
exGPSHistoManager
51
{
52
public
:
53
54
exGPSHistoManager
();
55
~exGPSHistoManager
();
56
57
void
book
();
58
void
save
();
59
60
void
Fill
(
G4int
PDGid,
G4double
e,
61
G4double
x,
G4double
y,
G4double
z
,
62
G4double
t,
G4double
p,
G4double
w);
63
64
void
PrintStatistic
();
65
66
private
:
67
68
G4String
fFileName
[2];
69
G4bool
fFactoryOn
;
70
G4double
fMinpos
,
fMaxpos
,
fMineng
,
fMaxeng
;
71
G4AnaH1
*
fEnerHisto
;
72
G4AnaH2
*
fPosiXY
, *
fPosiZX
, *
fPosiYZ
, *
fAnglCTP
, *
fAnglTP
;
73
exGPSHistoMessenger
*
fMessenger
;
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
exGPSHistoManager::fPosiXY
G4AnaH2 * fPosiXY
Definition:
exGPSHistoManager.hh:72
exGPSHistoManager::save
void save()
Definition:
exGPSHistoManager.cc:128
exGPSHistoManager::fMaxpos
G4double fMaxpos
Definition:
exGPSHistoManager.hh:70
exGPSHistoManager::fMinpos
G4double fMinpos
Definition:
exGPSHistoManager.hh:70
G4Root::G4AnaH2
tools::histo::h2d G4AnaH2
Definition:
g4root_defs.hh:41
exGPSHistoManager::fPosiZX
G4AnaH2 * fPosiZX
Definition:
exGPSHistoManager.hh:72
exGPSHistoManager::fMaxeng
G4double fMaxeng
Definition:
exGPSHistoManager.hh:70
z
G4double z
Definition:
TRTMaterials.hh:39
name
G4String name
Definition:
TRTMaterials.hh:40
exGPSHistoManager::~exGPSHistoManager
~exGPSHistoManager()
Definition:
exGPSHistoManager.cc:53
G4int
int G4int
Definition:
G4Types.hh:78
exGPSHistoManager::SetFileName
void SetFileName(G4String name)
Definition:
exGPSHistoManager.hh:80
exGPSHistoManager::SetEMax
void SetEMax(G4double emax)
Definition:
exGPSHistoManager.hh:77
exGPSHistoManager::fMessenger
exGPSHistoMessenger * fMessenger
Definition:
exGPSHistoManager.hh:73
exGPSHistoManager
Definition:
exGPSHistoManager.hh:50
exGPSHistoManager::Fill
void Fill(G4int PDGid, G4double e, G4double x, G4double y, G4double z, G4double t, G4double p, G4double w)
Definition:
exGPSHistoManager.cc:141
exGPSHistoManager::PrintStatistic
void PrintStatistic()
Definition:
exGPSHistoManager.cc:167
G4bool
bool G4bool
Definition:
G4Types.hh:79
exGPSHistoManager::exGPSHistoManager
exGPSHistoManager()
Definition:
exGPSHistoManager.cc:42
exGPSHistoManager::fMineng
G4double fMineng
Definition:
exGPSHistoManager.hh:70
g4root.hh
globals.hh
exGPSHistoManager::book
void book()
Definition:
exGPSHistoManager.cc:58
G4Root::G4AnaH1
tools::histo::h1d G4AnaH1
Definition:
g4root_defs.hh:40
exGPSHistoManager::fPosiYZ
G4AnaH2 * fPosiYZ
Definition:
exGPSHistoManager.hh:72
exGPSHistoManager::fFactoryOn
G4bool fFactoryOn
Definition:
exGPSHistoManager.hh:69
exGPSHistoMessenger
Definition:
exGPSHistoMessenger.hh:47
exGPSHistoManager::SetPosMin
void SetPosMin(G4double posmin)
Definition:
exGPSHistoManager.hh:78
G4double
double G4double
Definition:
G4Types.hh:76
exGPSHistoManager::SetPosMax
void SetPosMax(G4double posmax)
Definition:
exGPSHistoManager.hh:79
exGPSHistoManager::fEnerHisto
G4AnaH1 * fEnerHisto
Definition:
exGPSHistoManager.hh:71
exGPSHistoManager::fAnglTP
G4AnaH2 * fAnglTP
Definition:
exGPSHistoManager.hh:72
exGPSHistoManager::fAnglCTP
G4AnaH2 * fAnglCTP
Definition:
exGPSHistoManager.hh:72
exGPSHistoManager::SetEMin
void SetEMin(G4double emin)
Definition:
exGPSHistoManager.hh:76
exGPSHistoManager::fFileName
G4String fFileName[2]
Definition:
exGPSHistoManager.hh:68
G4String
Definition:
G4String.hh:45
geant4.10.00.p01
examples
extended
eventgenerator
exgps
include
exGPSHistoManager.hh
Generated on Thu Dec 31 2015 17:39:55 for Geant4 by
1.8.8