Class Reference for E1039 Core & Analysis Software
Home page
Related Pages
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Settings.hh
Go to the documentation of this file.
1
#ifndef Settings_h
2
#define Settings_h 1
3
4
#include <G4String.hh>
5
#include <G4Event.hh>
6
#include <G4SteppingManager.hh>
7
#include <G4Track.hh>
8
#include <G4Trajectory.hh>
9
#include <G4TrajectoryPoint.hh>
10
#include <G4Step.hh>
11
#include <G4StepPoint.hh>
12
#include <G4TrackStatus.hh>
13
#include <G4VPhysicalVolume.hh>
14
#include <G4ParticleDefinition.hh>
15
#include <G4ParticleTypes.hh>
16
#include <G4ThreeVector.hh>
17
#include <globals.hh>
18
#include <G4SystemOfUnits.hh>
19
20
class
Settings
21
{
22
public
:
23
Settings
();
24
25
int
seed
;
// The seed for the random number generator
26
double
beamMomentum
;
// The momentum of the beam
27
double
beamCurrent
;
// protons/sec of the beam
28
bool
asciiFieldMap
;
// True if the magnetic field is loaded from the ascii files, false if from SQL
29
G4String
generator
;
// The type of event generator running, i.e. gun or dimuon
30
int
target
;
// The material the target is made of
31
double
energyCut
;
// How much energy a particle must have to be recorded. All particles that cause hits are recorded anyway.
32
G4String
recordMethod
;
// Hits if a hit is required to record an event, Energy if not
33
G4String
eventPos
;
// Where the event is generated, target, dump or both. Doesn't affect gun generator
34
G4String
dimuonSource
;
// Whether the dimuons come from Drell-Yan, J/Psi, or both
35
G4String
login
;
// The login for the SQL server
36
G4String
outputFileName
;
// The database name that output goes to
37
G4String
password
;
// The password for the SQL server
38
G4String
fMagName
;
// Name of the ascii text file that contains the fmag map
39
G4String
kMagName
;
// Name of the ascii text file that contains the kmag map
40
G4String
sqlServer
;
// Address of the SQL Server, shouldn't need to modify
41
int
sqlPort
;
// Port of SQL server
42
int
dimuonRepeat
;
// Usually one. Number of times the same dimuon is generated each event
43
bool
ironOn
;
// True if the magnet iron is in the run
44
double
trackingEnergyCut
;
// The energy threshold a particle has to fall below before GMC considers killing the track
45
double
trackingZCut
;
// No particles to the left of this position will be killed
46
double
fMagMultiplier
;
// Multiplies the strength of FMAG's field
47
double
kMagMultiplier
;
// Multiplies the strength of KMAG's field
48
G4String
geometrySchema
;
// The sql schema that GMC pulls the geometry information from
49
G4String
magnetSchema
;
// The sql schema that GMC pulls the magnetic field information from
50
G4String
customSchema
;
// The sql schema that GMC pulls the event generation information for the custom generator from
51
bool
pythia_shower
;
// If set to false, Pythia doesn't simulate QCD showers
52
int
bucket_size
;
53
54
};
55
#endif
Settings::recordMethod
G4String recordMethod
Definition:
Settings.hh:32
Settings::sqlServer
G4String sqlServer
Definition:
Settings.hh:40
Settings::sqlPort
int sqlPort
Definition:
Settings.hh:41
Settings::magnetSchema
G4String magnetSchema
Definition:
Settings.hh:49
Settings::kMagName
G4String kMagName
Definition:
Settings.hh:39
Settings::fMagMultiplier
double fMagMultiplier
Definition:
Settings.hh:46
Settings::ironOn
bool ironOn
Definition:
Settings.hh:43
Settings::outputFileName
G4String outputFileName
Definition:
Settings.hh:36
Settings::geometrySchema
G4String geometrySchema
Definition:
Settings.hh:48
Settings::generator
G4String generator
Definition:
Settings.hh:29
Settings::password
G4String password
Definition:
Settings.hh:37
Settings::eventPos
G4String eventPos
Definition:
Settings.hh:33
Settings::beamMomentum
double beamMomentum
Definition:
Settings.hh:26
Settings::trackingZCut
double trackingZCut
Definition:
Settings.hh:45
Settings::asciiFieldMap
bool asciiFieldMap
Definition:
Settings.hh:28
Settings::bucket_size
int bucket_size
Definition:
Settings.hh:52
Settings::Settings
Settings()
Definition:
Settings.cc:6
Settings::beamCurrent
double beamCurrent
Definition:
Settings.hh:27
Settings::energyCut
double energyCut
Definition:
Settings.hh:31
Settings
Definition:
Settings.hh:20
Settings::kMagMultiplier
double kMagMultiplier
Definition:
Settings.hh:47
Settings::dimuonRepeat
int dimuonRepeat
Definition:
Settings.hh:42
Settings::pythia_shower
bool pythia_shower
Definition:
Settings.hh:51
Settings::fMagName
G4String fMagName
Definition:
Settings.hh:38
Settings::login
G4String login
Definition:
Settings.hh:35
Settings::dimuonSource
G4String dimuonSource
Definition:
Settings.hh:34
Settings::seed
int seed
Definition:
Settings.hh:25
Settings::target
int target
Definition:
Settings.hh:30
Settings::customSchema
G4String customSchema
Definition:
Settings.hh:50
Settings::trackingEnergyCut
double trackingEnergyCut
Definition:
Settings.hh:44
e1039-core
packages
db2g4
Settings.hh
Built by
Haiwang Yu
. updated:
Wed May 26 2021 21:44:03
using
1.8.5 with
SeaQuest GitHub integration