Geant4
10.02.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
G04SensitiveDetector.cc
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
//
30
// $Id: G04SensitiveDetector.cc 68025 2013-03-13 13:43:46Z gcosmo $
31
//
32
33
#include "
G04SensitiveDetector.hh
"
34
#include "G4HCofThisEvent.hh"
35
#include "
G4Step.hh
"
36
#include "
G4ThreeVector.hh
"
37
#include "
G4SDManager.hh
"
38
#include "
G4ios.hh
"
39
40
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
41
42
G04SensitiveDetector::G04SensitiveDetector
(
const
G4String
&
name
)
43
:
G4VSensitiveDetector
(name)
44
{
45
}
46
47
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
48
49
G04SensitiveDetector::~G04SensitiveDetector
()
50
{
51
}
52
53
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
54
55
void
G04SensitiveDetector::Initialize
(
G4HCofThisEvent
*)
56
{
57
}
58
59
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
60
61
G4bool
G04SensitiveDetector::ProcessHits
(
G4Step
*,
G4TouchableHistory
*)
62
{
63
G4cout
<<
"Processing hits ...."
<<
G4endl
;
64
return
true
;
65
}
66
67
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
68
69
void
G04SensitiveDetector::EndOfEvent
(
G4HCofThisEvent
*)
70
{
71
}
name
G4String name
Definition:
TRTMaterials.hh:40
G4VSensitiveDetector
Definition:
G4VSensitiveDetector.hh:50
G4Step.hh
G04SensitiveDetector::EndOfEvent
virtual void EndOfEvent(G4HCofThisEvent *)
Definition:
G04SensitiveDetector.cc:69
G04SensitiveDetector::~G04SensitiveDetector
~G04SensitiveDetector()
Definition:
G04SensitiveDetector.cc:49
G4cout
G4GLOB_DLL std::ostream G4cout
G04SensitiveDetector.hh
Definition of the G04SensitiveDetector class.
G4SDManager.hh
G4bool
bool G4bool
Definition:
G4Types.hh:79
G04SensitiveDetector::G04SensitiveDetector
G04SensitiveDetector(const G4String &)
Definition:
G04SensitiveDetector.cc:42
G4Step
Definition:
G4Step.hh:76
G04SensitiveDetector::Initialize
virtual void Initialize(G4HCofThisEvent *)
Definition:
G04SensitiveDetector.cc:55
G4TouchableHistory
Definition:
G4TouchableHistory.hh:53
G4ios.hh
G4HCofThisEvent
Definition:
G4HCofThisEvent.hh:64
G4endl
#define G4endl
Definition:
G4ios.hh:61
G4ThreeVector.hh
G04SensitiveDetector::ProcessHits
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
Definition:
G04SensitiveDetector.cc:61
G4String
Definition:
G4String.hh:45
geant4.10.02.p02
examples
extended
persistency
gdml
G04
src
G04SensitiveDetector.cc
Generated on Fri Jul 1 2016 14:10:56 for Geant4 by
1.8.8