source: trunk/examples/advanced/gammaray_telescope/src/GammaRayTelDigi.cc@ 1313

Last change on this file since 1313 was 1230, checked in by garnier, 16 years ago

update to geant4.9.3

File size: 3.8 KB
RevLine 
[807]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: GammaRayTelDigi.cc,v 1.5 2006/06/29 15:56:28 gunter Exp $
[1230]28// GEANT4 tag $Name: geant4-09-03-cand-01 $
[807]29// ------------------------------------------------------------
30// GEANT 4 class implementation file
31// CERN Geneva Switzerland
32//
33//
34// ------------ GammaRayTelDigi ------
35// by F.Longo, R.Giannitrapani & G.Santin (21 oct 2001)
36//
37// ************************************************************
38
39//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
40#include "GammaRayTelDigi.hh"
41
42G4Allocator<GammaRayTelDigi> GammaRayTelDigiAllocator;
43
44//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
45
46GammaRayTelDigi::GammaRayTelDigi()
47{
48 PlaneType = 0;
49 PlaneNumber = 0;
50 StripNumber=0;
51 DigiType = 0;
52 Energy =0.;
53}
54
55//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
56
57GammaRayTelDigi::~GammaRayTelDigi()
58{;}
59
60//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
61
62GammaRayTelDigi::GammaRayTelDigi(const GammaRayTelDigi& right)
63 :G4VDigi()
64{
65 PlaneType = right.PlaneType;
66 PlaneNumber = right.PlaneNumber;
67 StripNumber = right.StripNumber;
68 DigiType = right.DigiType;
69 Energy= right.Energy;
70}
71
72//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
73
74const GammaRayTelDigi& GammaRayTelDigi::operator=(const GammaRayTelDigi& right)
75{
76 PlaneType = right.PlaneType;
77 PlaneNumber = right.PlaneNumber;
78 StripNumber = right.StripNumber;
79 DigiType = right.DigiType;
80 Energy= right.Energy;
81 return *this;
82}
83
84//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
85
86int GammaRayTelDigi::operator==(const GammaRayTelDigi& right) const
87{
88 return ((PlaneType==right.PlaneType)&&(PlaneNumber==right.PlaneNumber)&&(StripNumber==right.StripNumber)&&(DigiType==right.DigiType)&&(Energy==right.Energy));
89}
90
91//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
92
93void GammaRayTelDigi::Draw()
94{;}
95
96//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
97
98void GammaRayTelDigi::Print()
99{;}
100
101//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
102
103
104
105
106
107
108
109
110
111
112
Note: See TracBrowser for help on using the repository browser.