Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
exGPSAnalysisManager.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 #ifndef exGPSAnalysisManager_h
30 #define exGPSAnalysisManager_h 1
31 
32 #ifdef G4ANALYSIS_USE
33 
34 #include "globals.hh"
35 
36 namespace AIDA {
37 
38 class IAnalysisFactory;
39 class ITree;
40 class IPlotter;
41 class IHistogram1D;
42 class IHistogram2D;
43 class ITuple;
44 }
45 
46 class exGPSAnalysisMessenger;
47 
48 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
49 
50 class exGPSAnalysisManager
51 {
52 
53 private:
54  exGPSAnalysisManager ();
55  virtual ~exGPSAnalysisManager ();
56 
57 public:
58  static exGPSAnalysisManager* GetInstance ();
59  static void Dispose();
60 
61 public:
62  void BeginOfRun();
63  void EndOfRun();
64 
65  void SetFileName(G4String filename) {fIleName = filename;};
66  void SetFileType(G4String filetype) {fIleType = filetype;};
67 
68  void SetPosMax(G4double pmax) {fMaxpos = pmax;};
69  void SetPosMin(G4double pmin) {fMinpos = pmin;};
70  void SetEngMax(G4double emax) {fMaxeng = emax;};
71  void SetEngMin(G4double emin) {fMineng = emin;};
72 
75 
76 private:
77 
78  static exGPSAnalysisManager* fInstance;
79 
80  G4String fIleName;
81  G4String fIleType;
82 
83  AIDA::IAnalysisFactory* fAnalysisFactory;
84  AIDA::ITree* fTree;
85  AIDA::IPlotter* fPlotter;
86 
87  G4double fMinpos, fMaxpos;
88  G4double fMineng, fMaxeng;
89 
90  AIDA::IHistogram1D* fEnerHisto;
91  AIDA::IHistogram2D* fPosiXY;
92  AIDA::IHistogram2D* fPosiXZ;
93  AIDA::IHistogram2D* fPosiYZ;
94  AIDA::IHistogram2D* fAnglCTP;
95  AIDA::IHistogram2D* fAnglTP;
96  AIDA::ITuple* fTuple;
97 
98  exGPSAnalysisMessenger* fAnalysisMessenger;
99 
100 };
101 
102 #endif // G4ANALYSIS_USE
103 
104 #endif
105 
106 
107 
108 
109 
110 
111 
112 
113 
114 
115