Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
examples
advanced
purging_magnet
include
PurgMagAnalysisManager.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
//
26
// Code developed by:
27
// S.Larsson
28
//
29
// ************************************
30
// * *
31
// * PurgMagAnalysisManager.hh *
32
// * *
33
// ************************************
34
//
35
// $Id$
36
//
37
38
#ifdef G4ANALYSIS_USE
39
#ifndef G4PROCESSTESTANALYSIS_HH
40
#define G4PROCESSTESTANALYSIS_HH
41
42
#include "
globals.hh
"
43
#include <vector>
44
#include "
G4ThreeVector.hh
"
45
#include "AIDA/IHistogram1D.h"
46
#include "AIDA/IHistogram2D.h"
47
#include "AIDA/IAnalysisFactory.h"
48
49
namespace
AIDA
50
{
51
class
ITree;
52
class
IHistogramFactory;
53
class
IAnalysisFactory;
54
class
ITupleFactory;
55
class
ITuple;
56
class
ITreeFactory;
57
}
58
59
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
60
class
PurgMagAnalysisManager
61
62
{
63
public
:
64
65
~PurgMagAnalysisManager();
66
67
void
book();
68
69
void
finish();
70
71
static
PurgMagAnalysisManager* getInstance();
72
73
void
fill_Tuple_Electrons(
G4double
,
G4double
,
G4double
,
G4double
,
G4double
,
G4double
,
G4double
);
74
void
fill_Tuple_Gamma(
G4double
,
G4double
,
G4double
,
G4double
,
G4double
,
G4double
,
G4double
);
75
void
fill_Tuple_Positrons(
G4double
,
G4double
,
G4double
,
G4double
,
G4double
,
G4double
,
G4double
);
76
77
private
:
78
79
G4double
ex,ey,ez,ee,epx,epy,epz,gx,gy,gz,ge,gpx,gpy,gpz,px,py,pz,pe,ppx,ppy,ppz;
80
81
static
PurgMagAnalysisManager* instance;
82
83
private
:
84
PurgMagAnalysisManager();
85
86
private
:
87
88
AIDA::IAnalysisFactory* aFact;
89
AIDA::ITree* theTree;
90
AIDA::IHistogramFactory *histFact;
91
AIDA::ITupleFactory *tupFact;
92
AIDA::ITreeFactory *treeFact;
93
AIDA::ITuple *
ntuple1
;
94
AIDA::ITuple *
ntuple2
;
95
AIDA::ITuple *
ntuple3
;
96
};
97
98
#endif
99
#endif
100
101
102
Generated on Sat May 25 2013 14:32:14 for Geant4 by
1.8.4