~9marusia6/maus/beamlinesimulation

« back to all changes in this revision

Viewing changes to src/common_cpp/Simulation/MAUSGeant4Manager.hh

  • Committer: Chris Rogers
  • Date: 2012-03-19 16:58:18 UTC
  • mfrom: (659.1.14 release-candidate)
  • Revision ID: chris.rogers@stfc.ac.uk-20120319165818-phqgtdhvj210d44d
ReleaseĀ 0.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
     */
140
140
    MAUSVisManager* GetVisManager() {return _visManager;}
141
141
 
 
142
    /** Delete the manager and close any existing simulation
 
143
     *
 
144
     *  Note that it is a feature of Geant4 that the geometry cannot be reopened
 
145
     */
 
146
    ~MAUSGeant4Manager();
142
147
 
143
148
  private:
144
149
    MAUSGeant4Manager();
145
 
    ~MAUSGeant4Manager();
146
150
 
147
151
    G4RunManager* _runManager;
148
152
    MAUSPhysicsList* _physList;
157
161
    void SetVisManager();
158
162
 
159
163
    Json::Value Tracking(MAUSPrimaryGeneratorAction::PGParticle p);
 
164
 
 
165
    static MAUSGeant4Manager* _instance;
 
166
    static bool _isClosed;
160
167
};
161
168
 
162
169
}  // namespace MAUS