Geant4
10.02.p01
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
PurgMagEventAction.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
// * PurgMagEventAction.hh *
32
// * *
33
// ********************************
34
//
35
// $Id: PurgMagEventAction.hh 72967 2013-08-14 14:57:48Z gcosmo $
36
//
37
38
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
39
40
#ifndef PurgMagEventAction_h
41
#define PurgMagEventAction_h 1
42
43
#include "
G4UserEventAction.hh
"
44
#include "
globals.hh
"
45
46
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
47
48
class
PurgMagEventAction
:
public
G4UserEventAction
49
{
50
public
:
51
52
PurgMagEventAction
();
53
~PurgMagEventAction
();
54
55
void
BeginOfEventAction
(
const
G4Event
*);
56
void
EndOfEventAction
(
const
G4Event
*);
57
58
void
SetDrawFlag
(
G4String
val) {
drawFlag
= val;};
59
void
SetPrintModulo
(
G4int
val) {
printModulo
= val;};
60
61
private
:
62
G4String
drawFlag
;
63
G4int
printModulo
;
64
};
65
66
#endif
67
68
PurgMagEventAction
Definition:
PurgMagEventAction.hh:48
PurgMagEventAction::~PurgMagEventAction
~PurgMagEventAction()
Definition:
PurgMagEventAction.cc:57
G4int
int G4int
Definition:
G4Types.hh:78
PurgMagEventAction::printModulo
G4int printModulo
Definition:
PurgMagEventAction.hh:63
G4UserEventAction
Definition:
G4UserEventAction.hh:51
PurgMagEventAction::BeginOfEventAction
void BeginOfEventAction(const G4Event *)
Definition:
PurgMagEventAction.cc:62
PurgMagEventAction::SetDrawFlag
void SetDrawFlag(G4String val)
Definition:
PurgMagEventAction.hh:58
globals.hh
G4UserEventAction.hh
PurgMagEventAction::drawFlag
G4String drawFlag
Definition:
PurgMagEventAction.hh:59
PurgMagEventAction::PurgMagEventAction
PurgMagEventAction()
Definition:
PurgMagEventAction.cc:51
PurgMagEventAction::EndOfEventAction
void EndOfEventAction(const G4Event *)
Definition:
PurgMagEventAction.cc:71
G4Event
Definition:
G4Event.hh:52
PurgMagEventAction::SetPrintModulo
void SetPrintModulo(G4int val)
Definition:
PurgMagEventAction.hh:59
G4String
Definition:
G4String.hh:45
geant4.10.02.p01
examples
advanced
purging_magnet
include
PurgMagEventAction.hh
Generated on Thu Mar 3 2016 14:40:40 for Geant4 by
1.8.8