source: trunk/examples/advanced/xray_fluorescence/src/XrayFluoSensorHit.cc@ 809

Last change on this file since 809 was 807, checked in by garnier, 17 years ago

update

File size: 3.4 KB
Line 
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//
27// $Id: XrayFluoSensorHit.cc
28// GEANT4 tag $Name: xray_fluo-V04-01-03
29//
30// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
31//
32// History:
33// -----------
34// 28 Nov 2001 Elena Guardincerri Created
35// 29 Nov 2002 Alfonso Mantero minor modifications (Alfonso.mantero@ge.infn.it)
36// -------------------------------------------------------------------
37
38#include "XrayFluoSensorHit.hh"
39
40G4Allocator<XrayFluoSensorHit> XrayFluoSensorHitAllocator;
41
42//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
43
44XrayFluoSensorHit::XrayFluoSensorHit()
45{
46 EdepTot = 0.;
47 EdepDetect = 0.;
48
49
50 // G4cout << "XrayFluoSensorHit created" << G4endl;
51 }
52
53//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
54
55XrayFluoSensorHit::XrayFluoSensorHit(const XrayFluoSensorHit& right):
56 G4VHit(right)
57{
58 EdepTot = right.EdepTot ;
59
60 EdepDetect = right.EdepDetect;
61
62 //G4cout << "XrayFluoSensorHit created" << G4endl;
63}
64
65//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
66
67XrayFluoSensorHit::~XrayFluoSensorHit()
68{
69 //G4cout << "XrayFluo SensorHit deleted" << G4endl;
70}
71
72
73//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
74
75const XrayFluoSensorHit& XrayFluoSensorHit::operator=(const XrayFluoSensorHit& right)
76{
77 EdepTot = right.EdepTot ;
78 EdepDetect = right.EdepDetect;
79
80 return *this;
81}
82
83//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
84
85int XrayFluoSensorHit::operator==(const XrayFluoSensorHit&) const
86{
87 return 0;
88}
89
90
91void XrayFluoSensorHit::Draw()
92{;}
93
94//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
95
96void XrayFluoSensorHit::Print()
97{;}
98
99//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
100
101
102
103
104
105
106
107
108
109
Note: See TracBrowser for help on using the repository browser.