Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
examples
advanced
ChargeExchangeMC
include
CexmcCommon.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
/*
27
* =============================================================================
28
*
29
* Filename: CexmcCommon.hh
30
*
31
* Description: common declarations
32
*
33
* Version: 1.0
34
* Created: 01.11.2009 00:09:04
35
* Revision: none
36
* Compiler: gcc
37
*
38
* Author: Alexey Radkov (),
39
* Company: PNPI
40
*
41
* =============================================================================
42
*/
43
44
#ifndef CEXMC_COMMON_HH
45
#define CEXMC_COMMON_HH
46
47
#include <vector>
48
#include <limits>
49
#include <G4String.hh>
50
#include <
G4Types.hh
>
51
52
#define CEXMC_LINE_START "--- Cexmc --- "
53
54
55
typedef
std::vector< G4double >
CexmcEnergyDepositCrystalRowCollection
;
56
57
typedef
std::vector< CexmcEnergyDepositCrystalRowCollection >
58
CexmcEnergyDepositCalorimeterCollection
;
59
60
61
const
G4double
CexmcDblMax
( std::numeric_limits< double >::max() );
62
63
const
G4String
CexmcStudiedProcessFirstName
(
"studiedProcess_"
);
64
const
G4String
CexmcStudiedProcessLastName
(
"Cexmc"
);
65
const
G4String
CexmcStudiedProcessFullName
(
CexmcStudiedProcessFirstName
+
66
CexmcStudiedProcessLastName
);
67
const
G4String
CexmcChargeExchangeProductionModelName
(
"ChargeExchange"
);
68
const
G4String
CexmcChargeExchangeInteractionName
(
"Cexmc"
+
69
CexmcChargeExchangeProductionModelName
);
70
71
const
G4String
CexmcEDDigitizerName
(
"EDDig"
);
72
const
G4String
CexmcTPDigitizerName
(
"TPDig"
);
73
74
const
G4String
CexmcScenePrimitivesDescription
(
"CexmcScenePrimitives"
);
75
76
const
G4double
CexmcFwhmToStddev
( 0.42466 );
77
const
G4double
CexmcInvalidCosTheta
( 2.0 );
78
79
const
G4int
CexmcInvalidTrackId
( -1 );
80
81
82
enum
CexmcBasePhysicsUsed
83
{
84
CexmcNoBasePhysics
,
85
Cexmc_QGSP_BERT
,
86
Cexmc_QGSP_BIC_EMY
87
};
88
89
90
enum
CexmcProductionModelType
91
{
92
CexmcUnknownProductionModel
,
93
CexmcPionZeroProduction
,
94
CexmcEtaProduction
95
};
96
97
98
enum
CexmcTriggerType
99
{
100
CexmcTPT
,
101
CexmcEDT
,
102
CexmcRT
103
};
104
105
106
enum
CexmcEventCountPolicy
107
{
108
CexmcCountAllEvents
,
109
CexmcCountEventsWithInteraction
,
110
CexmcCountEventsWithTrigger
111
};
112
113
114
enum
CexmcTrackType
115
{
116
CexmcInsipidTrack
,
117
CexmcBeamParticleTrack
,
118
CexmcOutputParticleTrack
,
119
CexmcNucleusParticleTrack
,
120
CexmcOutputParticleDecayProductTrack
121
};
122
123
124
enum
CexmcTrackTypeInfo
125
{
126
CexmcBasicTrackType
,
127
CexmcIncidentParticleTrackType
128
};
129
130
131
enum
CexmcSide
132
{
133
CexmcLeft
,
134
CexmcRight
135
};
136
137
138
enum
CexmcOuterCrystalsVetoAlgorithm
139
{
140
CexmcNoOuterCrystalsVeto
,
141
CexmcMaximumEDInASingleOuterCrystalVeto
,
142
CexmcFractionOfEDInOuterCrystalsVeto
143
};
144
145
146
enum
CexmcCalorimeterTriggerAlgorithm
147
{
148
CexmcAllCrystalsMakeEDTriggerThreshold
,
149
CexmcInnerCrystalsMakeEDTriggerThreshold
150
};
151
152
153
enum
CexmcCalorimeterEntryPointDefinitionAlgorithm
154
{
155
CexmcEntryPointInTheCenter
,
156
CexmcEntryPointInTheCenterOfCrystalWithMaxED
,
157
CexmcEntryPointByLinearEDWeights
,
158
CexmcEntryPointBySqrtEDWeights
159
};
160
161
162
enum
CexmcCalorimeterEntryPointDepthDefinitionAlgorithm
163
{
164
CexmcEntryPointDepthPlain
,
165
CexmcEntryPointDepthSphere
166
};
167
168
169
enum
CexmcCrystalSelectionAlgorithm
170
{
171
CexmcSelectAllCrystals
,
172
CexmcSelectAdjacentCrystals
173
};
174
175
176
enum
CexmcEDCollectionAlgoritm
177
{
178
CexmcCollectEDInAllCrystals
,
179
CexmcCollectEDInAdjacentCrystals
180
};
181
182
183
enum
CexmcEventDataVerboseLevel
184
{
185
CexmcWriteNoEventData
,
186
CexmcWriteEventDataOnEveryEDT
,
187
CexmcWriteEventDataOnEveryTPT
188
};
189
190
191
enum
CexmcOutputDataType
192
{
193
CexmcOutputRun
,
194
CexmcOutputGeometry
,
195
CexmcOutputEvents
196
};
197
198
199
#endif
200
Generated on Sat May 25 2013 14:32:05 for Geant4 by
1.8.4