File indexing completed on 2025-01-31 09:21:49
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044 #ifndef CEXMC_COMMON_HH
0045 #define CEXMC_COMMON_HH
0046
0047 #include <vector>
0048 #include <limits>
0049 #include <G4String.hh>
0050 #include <G4Types.hh>
0051
0052 #define CEXMC_LINE_START "--- Cexmc --- "
0053
0054
0055 typedef std::vector< G4double > CexmcEnergyDepositCrystalRowCollection;
0056
0057 typedef std::vector< CexmcEnergyDepositCrystalRowCollection >
0058 CexmcEnergyDepositCalorimeterCollection;
0059
0060
0061 const G4double CexmcDblMax( std::numeric_limits< double >::max() );
0062
0063 const G4String CexmcStudiedProcessFirstName( "studiedProcess_" );
0064 const G4String CexmcStudiedProcessLastName( "Cexmc" );
0065 const G4String CexmcStudiedProcessFullName( CexmcStudiedProcessFirstName +
0066 CexmcStudiedProcessLastName );
0067 const G4String CexmcChargeExchangeProductionModelName( "ChargeExchange" );
0068 const G4String CexmcChargeExchangeInteractionName( "Cexmc" +
0069 CexmcChargeExchangeProductionModelName );
0070
0071 const G4String CexmcEDDigitizerName( "EDDig" );
0072 const G4String CexmcTPDigitizerName( "TPDig" );
0073
0074 const G4String CexmcScenePrimitivesDescription( "CexmcScenePrimitives" );
0075
0076 const G4double CexmcFwhmToStddev( 0.42466 );
0077 const G4double CexmcInvalidCosTheta( 2.0 );
0078
0079 const G4int CexmcInvalidTrackId( -1 );
0080
0081
0082 enum CexmcBasePhysicsUsed
0083 {
0084 CexmcNoBasePhysics,
0085 Cexmc_QGSP_BERT,
0086 Cexmc_QGSP_BIC_EMY,
0087 Cexmc_FTFP_BERT
0088 };
0089
0090
0091 enum CexmcProductionModelType
0092 {
0093 CexmcUnknownProductionModel,
0094 CexmcPionZeroProduction,
0095 CexmcEtaProduction
0096 };
0097
0098
0099 enum CexmcTriggerType
0100 {
0101 CexmcTPT,
0102 CexmcEDT,
0103 CexmcRT
0104 };
0105
0106
0107 enum CexmcEventCountPolicy
0108 {
0109 CexmcCountAllEvents,
0110 CexmcCountEventsWithInteraction,
0111 CexmcCountEventsWithTrigger
0112 };
0113
0114
0115 enum CexmcTrackType
0116 {
0117 CexmcInsipidTrack,
0118 CexmcBeamParticleTrack,
0119 CexmcOutputParticleTrack,
0120 CexmcNucleusParticleTrack,
0121 CexmcOutputParticleDecayProductTrack
0122 };
0123
0124
0125 enum CexmcTrackTypeInfo
0126 {
0127 CexmcBasicTrackType,
0128 CexmcIncidentParticleTrackType
0129 };
0130
0131
0132 enum CexmcSide
0133 {
0134 CexmcLeft,
0135 CexmcRight
0136 };
0137
0138
0139 enum CexmcOuterCrystalsVetoAlgorithm
0140 {
0141 CexmcNoOuterCrystalsVeto,
0142 CexmcMaximumEDInASingleOuterCrystalVeto,
0143 CexmcFractionOfEDInOuterCrystalsVeto
0144 };
0145
0146
0147 enum CexmcCalorimeterTriggerAlgorithm
0148 {
0149 CexmcAllCrystalsMakeEDTriggerThreshold,
0150 CexmcInnerCrystalsMakeEDTriggerThreshold
0151 };
0152
0153
0154 enum CexmcCalorimeterEntryPointDefinitionAlgorithm
0155 {
0156 CexmcEntryPointInTheCenter,
0157 CexmcEntryPointInTheCenterOfCrystalWithMaxED,
0158 CexmcEntryPointByLinearEDWeights,
0159 CexmcEntryPointBySqrtEDWeights
0160 };
0161
0162
0163 enum CexmcCalorimeterEntryPointDepthDefinitionAlgorithm
0164 {
0165 CexmcEntryPointDepthPlain,
0166 CexmcEntryPointDepthSphere
0167 };
0168
0169
0170 enum CexmcCrystalSelectionAlgorithm
0171 {
0172 CexmcSelectAllCrystals,
0173 CexmcSelectAdjacentCrystals
0174 };
0175
0176
0177 enum CexmcEDCollectionAlgoritm
0178 {
0179 CexmcCollectEDInAllCrystals,
0180 CexmcCollectEDInAdjacentCrystals
0181 };
0182
0183
0184 enum CexmcEventDataVerboseLevel
0185 {
0186 CexmcWriteNoEventData,
0187 CexmcWriteEventDataOnEveryEDT,
0188 CexmcWriteEventDataOnEveryTPT
0189 };
0190
0191
0192 enum CexmcOutputDataType
0193 {
0194 CexmcOutputRun,
0195 CexmcOutputGeometry,
0196 CexmcOutputEvents
0197 };
0198
0199
0200 #endif
0201