Geant4
10.03
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
GammaRayTelDigi.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
//
26
//
27
// $Id: GammaRayTelDigi.cc 82268 2014-06-13 13:47:30Z gcosmo $
28
// ------------------------------------------------------------
29
// GEANT 4 class implementation file
30
// CERN Geneva Switzerland
31
//
32
//
33
// ------------ GammaRayTelDigi ------
34
// by F.Longo, R.Giannitrapani & G.Santin (21 oct 2001)
35
//
36
// ************************************************************
37
38
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
39
#include "
GammaRayTelDigi.hh
"
40
41
G4ThreadLocal
G4Allocator<GammaRayTelDigi>
*
GammaRayTelDigiAllocator
= 0;
42
43
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
44
45
GammaRayTelDigi::GammaRayTelDigi
()
46
{
47
PlaneType
= 0;
48
PlaneNumber
= 0;
49
StripNumber
=0;
50
DigiType
= 0;
51
Energy
=0.;
52
}
53
54
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
55
56
GammaRayTelDigi::~GammaRayTelDigi
()
57
{;}
58
59
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
60
61
GammaRayTelDigi::GammaRayTelDigi
(
const
GammaRayTelDigi
&
right
)
62
:
G4VDigi
()
63
{
64
PlaneType
= right.
PlaneType
;
65
PlaneNumber
= right.
PlaneNumber
;
66
StripNumber
= right.
StripNumber
;
67
DigiType
= right.
DigiType
;
68
Energy
= right.
Energy
;
69
}
70
71
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
72
73
const
GammaRayTelDigi
&
GammaRayTelDigi::operator=
(
const
GammaRayTelDigi
&
right
)
74
{
75
PlaneType
= right.
PlaneType
;
76
PlaneNumber
= right.
PlaneNumber
;
77
StripNumber
= right.
StripNumber
;
78
DigiType
= right.
DigiType
;
79
Energy
= right.
Energy
;
80
return
*
this
;
81
}
82
83
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
84
85
int
GammaRayTelDigi::operator==
(
const
GammaRayTelDigi
&
right
)
const
86
{
87
return
((
PlaneType
==right.
PlaneType
)&&(
PlaneNumber
==right.
PlaneNumber
)&&(
StripNumber
==right.
StripNumber
)&&(
DigiType
==right.
DigiType
)&&(
Energy
==right.
Energy
));
88
}
89
90
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
91
92
void
GammaRayTelDigi::Draw
()
93
{;}
94
95
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
96
97
void
GammaRayTelDigi::Print
()
98
{;}
99
100
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
101
102
103
104
105
106
107
108
109
110
111
GammaRayTelDigi::PlaneType
G4int PlaneType
Definition:
GammaRayTelDigi.hh:70
GammaRayTelDigiAllocator
G4ThreadLocal G4Allocator< GammaRayTelDigi > * GammaRayTelDigiAllocator
Definition:
GammaRayTelDigi.cc:41
right
Definition:
F04UserTrackInformation.hh:37
GammaRayTelDigi::StripNumber
G4int StripNumber
Definition:
GammaRayTelDigi.hh:71
GammaRayTelDigi::operator=
const GammaRayTelDigi & operator=(const GammaRayTelDigi &)
Definition:
GammaRayTelDigi.cc:73
GammaRayTelDigi::Print
void Print()
Definition:
GammaRayTelDigi.cc:97
GammaRayTelDigi::DigiType
G4int DigiType
Definition:
GammaRayTelDigi.hh:72
G4ThreadLocal
#define G4ThreadLocal
Definition:
tls.hh:89
GammaRayTelDigi::operator==
int operator==(const GammaRayTelDigi &) const
Definition:
GammaRayTelDigi.cc:85
GammaRayTelDigi.hh
GammaRayTelDigi::PlaneNumber
G4int PlaneNumber
Definition:
GammaRayTelDigi.hh:69
G4VDigi
Definition:
G4VDigi.hh:48
GammaRayTelDigi::~GammaRayTelDigi
~GammaRayTelDigi()
Definition:
GammaRayTelDigi.cc:56
GammaRayTelDigi
Definition:
GammaRayTelDigi.hh:50
GammaRayTelDigi::GammaRayTelDigi
GammaRayTelDigi()
Definition:
GammaRayTelDigi.cc:45
G4Allocator
Definition:
G4Allocator.hh:67
GammaRayTelDigi::Energy
G4double Energy
Definition:
GammaRayTelDigi.hh:73
GammaRayTelDigi::Draw
void Draw()
Definition:
GammaRayTelDigi.cc:92
geant4.10.03
examples
advanced
gammaray_telescope
src
GammaRayTelDigi.cc
Generated on Thu Feb 14 2002 02:27:33 for Geant4 by
1.8.8