Geant4
10.02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
PhantomSD.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
// $Id: PhantomSD.hh 67994 2013-03-13 11:05:39Z gcosmo $
27
//
30
//
31
#ifndef PhantomSD_h
32
#define PhantomSD_h 1
33
34
// -------------------------------------------------------------
35
//
36
// ---------- PhantomSD -------------
37
//
38
// Modified:
39
//
40
// -------------------------------------------------------------
41
42
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
43
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
44
45
#include "
G4VSensitiveDetector.hh
"
46
#include "
globals.hh
"
47
48
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
49
50
class
G4Step
;
51
class
G4TouchableHistory
;
52
class
G4HCofThisEvent
;
53
class
Histo
;
54
55
class
PhantomSD
:
public
G4VSensitiveDetector
56
{
57
public
:
58
59
PhantomSD
(
const
G4String
&);
60
virtual
~PhantomSD
();
61
62
// virtual methods
63
void
Initialize
(
G4HCofThisEvent
*);
64
G4bool
ProcessHits
(
G4Step
*,
G4TouchableHistory
*);
65
void
EndOfEvent
(
G4HCofThisEvent
*);
66
void
clear
();
67
void
PrintAll
();
68
69
inline
void
SetShiftZ
(
G4double
val) {
fShiftZ
= val;};
70
71
private
:
72
73
PhantomSD
&
operator=
(
const
PhantomSD
&
right
);
74
PhantomSD
(
const
PhantomSD
&);
75
76
Histo
*
fHisto
;
77
G4double
fShiftZ
;
78
G4int
fCounter
;
79
};
80
81
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
82
83
#endif
84
PhantomSD::PhantomSD
PhantomSD(const G4String &)
Definition:
PhantomSD.cc:52
PhantomSD::~PhantomSD
virtual ~PhantomSD()
Definition:
PhantomSD.cc:59
PhantomSD::clear
void clear()
Definition:
PhantomSD.cc:115
PhantomSD::SetShiftZ
void SetShiftZ(G4double val)
Definition:
PhantomSD.hh:69
right
Definition:
F04UserTrackInformation.hh:37
PhantomSD::ProcessHits
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
Definition:
PhantomSD.cc:74
PhantomSD::fCounter
G4int fCounter
Definition:
PhantomSD.hh:78
Histo
Definition:
Histo.hh:56
PhantomSD
Definition:
PhantomSD.hh:55
G4VSensitiveDetector
Definition:
G4VSensitiveDetector.hh:50
PhantomSD::EndOfEvent
void EndOfEvent(G4HCofThisEvent *)
Definition:
PhantomSD.cc:110
PhantomSD::fHisto
Histo * fHisto
Definition:
PhantomSD.hh:76
G4int
int G4int
Definition:
G4Types.hh:78
G4VSensitiveDetector.hh
PhantomSD::fShiftZ
G4double fShiftZ
Definition:
PhantomSD.hh:77
G4bool
bool G4bool
Definition:
G4Types.hh:79
PhantomSD::PrintAll
void PrintAll()
Definition:
PhantomSD.cc:121
G4Step
Definition:
G4Step.hh:76
globals.hh
PhantomSD::operator=
PhantomSD & operator=(const PhantomSD &right)
G4TouchableHistory
Definition:
G4TouchableHistory.hh:53
G4HCofThisEvent
Definition:
G4HCofThisEvent.hh:64
G4double
double G4double
Definition:
G4Types.hh:76
G4String
Definition:
G4String.hh:45
PhantomSD::Initialize
void Initialize(G4HCofThisEvent *)
Definition:
PhantomSD.cc:64
geant4.10.02
examples
extended
medical
GammaTherapy
include
PhantomSD.hh
Generated on Thu Dec 31 2015 10:44:03 for Geant4 by
1.8.8