Athena-Atlfast: User Guide
PrevChapter 2. Run ScriptsNext

The Run Scripts

All the scripts needed to steer the Athena-Atlfast jobs should be situated in the run directory. There are only two scripts that should be altered by the user if they wish to to change the run-time properties of the Athena-Atlfast job. The jobOptions.txt file, used to steer the athena job, and the StandardAtlfastOptions.txt file, which contains the specific Atlfast options. The structure and main features of these files are described in this chapter.


1) jobOptions.txt

When the command athena is typed any file can be defined as the run file, for example: athena myOptions.txt. The default run file is the jobOptions.txt file, and if no other file is defined, this file is used. If there is no jobOptions.txt file and no other file is defined as the run file, then the job will fail to run. Athena-Atlfast comes with a default jobOptions.txt and this will be described in this section.

The jobOptions.txt contains a number of important lines that can be changed to give different behavior of the Athena-Atlfast job. Any of the lines within the standard jobOptions.txt file that are not discussed in this section should only be changed by an experienced user who is confident with what they are doing. Firstly of the lines of interest to all users are lines that change the name of the output histograms and/or ntuple files.:

HistogramPersistencySvc.OutputFile = "atlfast.hbook";
NtupleSvc.Output = {"FILE1 DATAFILE='atlfast.ntup' TYP='HBOOK' OPT='NEW'"};

The first line above sets the file name where any histograms will be put and the second line sets the file name where any ntuples will be put. These files do not need to exist before the job is run and any existing files with the same name will be overwritten.

Next in the jobOptions.txt is the line that sets the number of events the job will run over. If the following line is omitted the default number of events is 10:

ApplicationMgr.EvtMax = 100;

The level at which messages are printed out can also be set. The level of message ranges from 2=DEBUG to 6=FATAL:

MessageSvc.OutputLevel = 3;

The type of Monte Carlo generator used is also set in the jobOptions.txt. Athena-Atlfast supports two generators, Pythia and Isajet. More information on setting the physics processes for these generators can be found here. The following line is used to select a particular generator:

Generator.Members = {"PythiaModule"};

Finally, at the end of the jobOptions.txt, the StandardAtlfastOptions.txt file is included. This is described in the following section.

#include "StandardAtlfastOptions.txt"


2) StandardAtlfastOptions.txt

The StandardAtlfastOptions.txt contains all the Atlfast options that may be changed. At the top of this file we see the command

#include "AtlfastDoNotTouch.txt"

this included file should never need to be changed by the user.

Next are the command lines which give the names of the Atlfast analysis algorithms that will be run when the job is executed. For example:

Atlfast.members +={"Atlfast::StandardNtupleMaker/StandardNtupleMaker"};

Athena-Atlfast comes with a number of standard analysis algorithms. These are StandardNtupleMaker, TrackNtupleMaker and ExampleAnalysis, these are described in more detail inChapter 3: Standard Atlfast Analysis Algorithms. A users own analysis algorithm may also be specified here. Writing your own analysis algorithms will be discussed in Chapter 5: Writing an Analysis Algorithm.

Next come the default settings for the individual Athena-Atlfast algorithms. Firstly there are the Reconstructed Particle Makers, there are three of these, ElectronMaker, Muon Maker and PhotonMaker. The variables that can be set for these particles are shown in Table 2-1, Table 2-2 and Table 2-3 respectively. Also shown in the tables are the equivalent variable names that were used in the Fortran Atlfast-2.0. An example of setting the Athena-Atlfast variables in the StandardAtlfastOptions.txt is shown below:

ElectronMaker.MinimumPt = 5.0;

After the Reconstructed Particle Makers come the CellMaker (Table 2-4), ClusterMaker (Table 2-5), JetMaker (Table 2-6), TrackMaker (Table 2-7), EventHeaderMaker (Table 2-8), and CommonDataMaker (Table 2-9). Care should be taken when changing any of these values from their defaults. Next in the StandardAtlfastOptions.txt the identifiers of some Histograms and output files are set. These are used for debugging and the user should not change these. Finally there are examples of setting the message output level of various individual algorithms:

PythiaModule.OutputLevel = 4;

At the end of the script are a number of commented-out lines that are used by debugging programs and should be of no interest to the user.


VARIABLE
DEFAULT VALUE
ATLFASTF EQUIVALENT
ElectronMaker.ParticleType
11
-
ElectronMaker.mcMinimumPt
0.000
-
ElectronMaker.mcMaximumEta
100.0
-
ElectronMaker.MinimumPt
5.000
YPAR(40)
ElectronMaker.MaximumEta
2.500
YPAR(41)
ElectronIsolator.rClusterMatch
0.150
YPAR(45)
ElectronIsolator.rClusterIsolation
0.400
YPAR(47)
ElectronIsolator.eClusterIsolation
0.000
-
ElectronIsolator.rCellIsolation
0.200
YPAR(48)
ElectronIsolator.eCellIsolation
10.000
YPAR(49)
ElectronMaker.DoSmearing
true
LPAR(4)

Table 2-1. The ElectronMaker Default Settings


VARIABLE
DEFAULT VALUE
ATLFASTF EQUIVALENT
MuonMaker.ParticleType
13
-
MuonMaker.mcMinimumPt
0.500
YPAR(100)
MuonMaker.mcMaximumEta
2.500
YPAR(21)
MuonMaker.MinimumPt
6.000
YPAR(20)
MuonMaker.MaximumEta
100.0
-
MuonIsolator.rClusterMatch
0.000
-
MuonIsolator.rClusterIsolation
0.400
YPAR(27)
MuonIsolator.eClusterIsolation
0.000
-
MuonIsolator.rCellIsolation
0.200
YPAR(28)
MuonIsolator.eCellIsolation
10.000
YPAR(29)
MuonMaker.DoSmearing
true
LPAR(4)

Table 2-2. The MuonMaker Default Settings


VARIABLE
DEFAULT VALUE
ATLFASTF EQUIVALENT
PhotonMaker.ParticleType
22
-
PhotonMaker.mcMinimumPt
0.000
-
PhotonMaker.mcMaximumEta
100.0
-
PhotonMaker.MinimumPt
5.000
YPAR(30)
PhotonMaker.MaximumEta
2.500
YPAR(31)
PhotonIsolator.rClusterMatch
0.150
YPAR(35)
PhotonIsolator.rClusterIsolation
0.400
YPAR(37)
PhotonIsolator.eClusterIsolation
0.000
-
PhotonIsolator.rCellIsolation
0.200
YPAR(38)
PhotonIsolator.eCellIsolation
10.000
YPAR(39)
PhotonMaker.DoSmearing
true
LPAR(4)

Table 2-3. The PhotonMaker Default Settings


VARIABLE
DEFAULT VALUE
ATLFASTF EQUIVALENT
CellMaker.EtaCoverage
5.000
YPAR(12)
CellMaker.MinETCell
0.000
YPAR(15)
CellMaker.GranBarrelEta
0.100
YPAR(18)
CellMaker.GranBarrelPhi
0.100
YPAR(19)
CellMaker.GranForwardEta
0.200
YPAR(18)*2
CellMaker.GranForwardPhi
0.200
YPAR(19)*2

Table 2-4. The CellMaker Default Settings


VARIABLE
DEFAULT VALUE
ATLFASTF EQUIVALENT
ClusterMaker.RConeBarrel
0.401
YPAR(11)
ClusterMaker.RConeForward
0.401
YPAR(16)
ClusterMaker.minInitiatorET
1.500
YPAR(13)
ClusterMaker.minClusterET
5.000
YPAR(10)
ClusterMaker.Strategy
"Cone"
-

Table 2-5. The ClusterMaker Default Settings


VARIABLE
DEFAULT VALUE
ATLFASTF EQUIVALENT
JetMaker.MinimumPT
10.000
YPAR(51)
JetMaker.MaximumEta
5.000
YPAR(52)
JetMaker.DoSmearing
true
LPAR(4)
JetMaker.RconeB
0.401
YPAR(11)
JetMaker.RconeF
0.401
YPAR(16)
JetMaker.bPtMin
5.000
YPAR(63)
JetMaker.bMaxDeltaR
0.200
YPAR(65)
JetMaker.cPtMin
5.000
YPAR(73)
JetMaker.cMaxDeltaR
0.200
YPAR(75)
JetMaker.tauPtMin
10.000
YPAR(90)
JetMaker.tauMaxDeltaR
0.300
YPAR(92)
JetMaker.tauJetPtRatio
0.900
YPAR(93)
JetMaker.etaTagMax
2.5
YPAR(64,74,91)

Table 2-6. The JetMaker Default Settings


VARIABLE
DEFAULT VALUE
ATLFASTF EQUIVALENT
TrackMaker.McPtMinimum
0.500
YPAR(100)
TrackMaker.McEtaMaximum
2.500
YPAR(101)
TrackMaker.DoSmearing
true
LPAR(4)
TrackMaker.BField
2.000
-
TrackMaker.vlMaximum
3.000
-
TrackMaker.vtMaximum
40.000
-
TrackMaker.MuonConfiguration
000
LPAR(12)

Table 2-7. The TrackMaker Default Settings


VARIABLE
DEFAULT VALUE
ATLFASTF EQUIVALENT
EventHeaderMaker.BeamEnergy
7000.0
-
EventHeaderMaker.RunNumber
1000
-
EventHeaderMaker.EventNumber
0
-
EventHeaderMaker.TestMode
0
-

Table 2-8. The EventHeaderMaker Default Settings


VARIABLE
DEFAULT VALUE
ATLFASTF EQUIVALENT
CommonDataMaker.Luminosity
2
LPAR(2)
CommonDataMaker.Invisables
12,14,16
-
CommonDataMaker.RandSeed
12345
-
CommonDataMaker.BFieldOn
true
LPAR(3)
CommonDataMaker.BarrelForwardEta
3.2
YPAR(17)

Table 2-9. The CommonDataMaker Default Settings

IMPORTANT NOTES
1) ParticleTypes should never be changed by the user.
2) MuonIsolator.rClusterMatch should never be changed from zero.
3) Cone is the only available ClusterMaker.Strategy at the moment.
4) CommonDataMaker.BarrelForwardEta only available for change in Atlfast-00-00-19.
5) Track Smearing is only available for Atlfast-00-00-19 and later. Thus it is not in release 2.x.x.
6) The neutrinos are hardwired into CommonDataMaker as invisibles.



GETTING STARTED PrevhomeNext STANDERD ATLFAST ANALYSIS ALGORITHMS