source: trunk/examples/advanced/cosmicray_charging/include/LISAAnalysisManager.hh @ 1309

Last change on this file since 1309 was 807, checked in by garnier, 16 years ago

update

File size: 3.5 KB
Line 
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
27// ********************************************************************
28// *                                                                  *
29// * cosmicray_charging advanced example for Geant4                   *
30// * (adapted simulation of test-mass charging in the LISA mission)   *
31// *                                                                  *
32// * Henrique Araujo (h.araujo@imperial.ac.uk) & Peter Wass           *
33// * Imperial College London                                          *
34// *                                                                  *
35// ********************************************************************
36
37
38#ifdef G4ANALYSIS_USE
39#ifndef LISAAnalysisManager_h
40#define LISAAnalysisManager_h 1
41
42#include "globals.hh"
43
44#include <AIDA/AIDA.h>
45
46namespace AIDA {
47  class IAnalysisFactory;
48  class ITree;
49  class IHistogramFactory;
50  class ITupleFactory;
51  class ITuple;
52  class IHistogram1D;
53  class IHistogram2D;
54  class IPlotter;
55  class IFitter;
56  class IFitResult;
57  class IFitData;
58  class IRangeSet;
59  class IFitParameterSettings;
60  class IFunctionFactory;
61  class IFunction;
62  class IFitFactory;
63}
64
65
66
67//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
68
69class LISAAnalysisManager {
70
71  public:
72    virtual ~LISAAnalysisManager();
73    void Init();
74    void Dispose();
75
76
77    // Run analysis
78    void bookRun(G4String);
79    void FinishRun();
80    void analyseRun
81     (G4int evt, G4int tm, G4double energy, G4int charge, 
82      G4int in, G4int out, long seed1, long seed2);
83
84    // grab instance
85    static LISAAnalysisManager* getInstance();
86 
87
88  private:
89 
90    // private constructor for singleton
91    LISAAnalysisManager();
92 
93    static LISAAnalysisManager* instance;
94 
95 
96    AIDA::IAnalysisFactory  *af;
97    AIDA::ITreeFactory      *tf; 
98    AIDA::ITree             *run_tree;
99    AIDA::ITupleFactory     *run_tpf;
100    AIDA::ITuple            *run_tuple;
101
102
103};
104#endif
105#endif
106
107
108
Note: See TracBrowser for help on using the repository browser.