Geant4  10.00.p03
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 
56 {
57 public:
58 
59  PhantomSD(const G4String&);
60  virtual ~PhantomSD();
61 
62  // virtual methods
66  void clear();
67  void PrintAll();
68 
69  inline void SetShiftZ(G4double val) { fShiftZ = val;};
70 
71 private:
72 
74  PhantomSD(const PhantomSD&);
75 
79 };
80 
81 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
82 
83 #endif
84 
PhantomSD(const G4String &)
Definition: PhantomSD.cc:52
virtual ~PhantomSD()
Definition: PhantomSD.cc:59
void clear()
Definition: PhantomSD.cc:115
void SetShiftZ(G4double val)
Definition: PhantomSD.hh:69
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
Definition: PhantomSD.cc:74
G4int fCounter
Definition: PhantomSD.hh:78
Definition: Histo.hh:56
void EndOfEvent(G4HCofThisEvent *)
Definition: PhantomSD.cc:110
Histo * fHisto
Definition: PhantomSD.hh:76
int G4int
Definition: G4Types.hh:78
G4double fShiftZ
Definition: PhantomSD.hh:77
bool G4bool
Definition: G4Types.hh:79
void PrintAll()
Definition: PhantomSD.cc:121
Definition: G4Step.hh:76
PhantomSD & operator=(const PhantomSD &right)
double G4double
Definition: G4Types.hh:76
void Initialize(G4HCofThisEvent *)
Definition: PhantomSD.cc:64