Appendix B
Options for standard components
The following is a list of options that may be set for the standard components: e.g. data files for input, print-out level for the message service, etc. The options are listed in tabular form for each component along with the default value and a short explanation. The component name is given in the table caption thus: [ComponentName].
Table B.1 Standard Options for the Application manager [ApplicationMgr]
Option name
|
Default value
|
Meaning
|
EvtSel1
|
""
|
"NONE"; (if no event input)2
|
EvtMax
|
-1
|
Maximum number of events to process. The default is -1 (infinite) unless EvtSel = "NONE"; in which case it is 10.
|
TopAlg
|
{}
|
List of top level algorithms. Format:
{<Type>/<Name>[, <Type2>/<Name2>,...]};
|
ExtSvc
|
{}
|
List of external services names (not known to the ApplicationMgr, see section 12.2). Format:
{<Type>/<Name>[, <Type2>/<Name2>,...]};
|
OutStream
|
{}
|
Declares an output stream object for writing data to a persistent store, e.g. {"DstWriter"};
See also Table B.10
|
DLLs
|
{}
|
Search list of libraries for dynamic loading. Format: {<dll1>[,<dll2>,...]};
|
HistogramPersistency
|
"NONE"
|
Histogram persistency mechanism. Available options are "HBOOK", "ROOT", "NONE"
|
Runable
|
"AppMgrRunable"
|
Type of runable object to be created by Application manager
|
EventLoop
|
"GaudiEventLoopMgr"
|
Type of event loop:
"GaudiEventLoopMgr" is standard event loop
"MinimalEventLoop" exceutes algorithms but does not read events
|
The last two options define the source of the job options file and so they cannot be defined in the job options file itself. There are two possibilities to set these options, the first one is using a environment variable called JOBOPTPATH or setting the option to the application manager directly from the main program3. The coded option takes precedence.
|
JobOptionsType
|
"FILE"
|
Type of file (FILE implies ascii)
|
JobOptionsPath
|
"jobOptions.txt"
|
Path for job options source
|
1
The "EvtSel" property of ApplicationMgr is replaced by the property "Input" of EventSelector. Only the value "NONE" is still valid.
2
A basic DataObject object is created as event root ("/Event")
3
The setting of properties from the main program is discussed in Chapter 4.
|
Table B.2 Standard Options for the message service [MessageSvc]
Option name
|
Default value
|
Meaning
|
OutputLevel
|
0
|
Verboseness threshold level:
0=NIL,1=VERBOSE, 2=DEBUG, 3=INFO,
4=WARNING, 5=ERROR, 6=FATAL
|
Format
|
"% F%18W%S%7W%R%T %0W%M"
|
Format string.
|
Table B.3 Standard Options for all algorithms [<myAlgorithm>]
Any algorithm derived from the Algorithm base class can override the global Algorithm options thus:
|
Option name
|
Default value
|
Meaning
|
OutputLevel
|
0
|
Message Service Verboseness threshold level:
0=NIL,1=VERBOSE, 2=DEBUG, 3=INFO,4=WARNING, 5=ERROR, 6=FATAL
|
Enable
|
true
|
If false, application manager skips execution of this algorithm
|
ErrorMax
|
1
|
Job stops when this number of errors is reached
|
ErrorCount
|
0
|
Current error count
|
AuditInitialize
|
false
|
Enable/Disable auditing of Algorithm initialisation
|
AuditExecute
|
true
|
Enable/Disable auditing of Algorithm execution
|
AuditFinalize
|
false
|
Enable/Disable auditing of Algorithm finalisation
|
Table B.4 Standard Options for all services [<myService>]
Any service derived from the Service base class can override the global MessageSvc.OutputLevel thus:
|
Option name
|
Default value
|
Meaning
|
OutputLevel
|
0
|
Message Service Verboseness threshold level:
0=NIL,1=VERBOSE, 2=DEBUG, 3=INFO,4=WARNING, 5=ERROR, 6=FATAL
|
Table B.5 Standard Options for all Tools [<myTool>]
Any tool derived from the AlgTool base class can override the global MessageSvc.OutputLevel thus:
|
Option name
|
Default value
|
Meaning
|
OutputLevel
|
0
|
Message Service Verboseness threshold level:
0=NIL,1=VERBOSE, 2=DEBUG, 3=INFO,4=WARNING, 5=ERROR, 6=FATAL
|
Table B.6 Standard Options for all Associators [<myAssociator>]
Option name
|
Default value
|
Meaning
|
FollowLinks
|
true
|
Instruct the associator to follow the links instead of using cached information
|
DataLocation
|
""
|
Location where to get association information in the data store
|
Table B.7 Standard Options for Auditor service [AuditorSvc]
Option name
|
Default value
|
Meaning
|
Auditors
|
{};
|
List of Auditors to be loaded and to be used.
See section 12.7 for list of possible auditors
|
Table B.8 Standard Options for all Auditors [<myAuditor>]
Any Auditor derived from the Auditor base class can override the global Auditor options thus:
|
Option name
|
Default value
|
Meaning
|
OutputLevel
|
0
|
Message Service Verboseness threshold level:
0=NIL,1=VERBOSE, 2=DEBUG, 3=INFO,4=WARNING, 5=ERROR, 6=FATAL
|
Enable
|
true
|
If false, application manager skips execution of the auditor
|
Table B.9 Options of Algorithms in GaudiAlg package
Algorithm name
|
Option Name
|
Default value
|
Meaning
|
EventCounter
|
Frequency
|
1;
|
Frequency with which number of events should be reported
|
Prescaler
|
PercentPass
|
100.0;
|
Percentage of events that should be passed
|
Sequencer
|
Members
|
|
Names of members of the sequence
|
Sequencer
|
StopOverride
|
false;
|
If true, do not stop sequence if a filter fails
|
Table B.10 Options available for output streams (e.g. DstWriter)
Output stream objects are used for writing user created data into data files or databases. They are created and named by setting the option ApplicationMgr.OutStream. For each output stream the following options are available
|
Option name
|
Default value
|
Meaning
|
ItemList
|
{}
|
The list of data objects to be written to this stream, e.g.
{"/Event#1","Event/MyTracks/#1"};
|
EvtDataSvc
|
"EventDataSvc"
|
The service from which to retrieve objects.
|
Output
|
{}
|
Output data stream specification. Format:
{"DATAFILE='mydst.root' TYP='ROOT'"};
|
AcceptAlgs
|
{}
|
If any of these algorithms sets filterflag=true; the event is accepted
|
RequireAlgs
|
{}
|
If any of these algorthms is not executed, the event is rejected
|
VetoAlgs
|
{}
|
If any of these algorithms does not set filterflag = true; the event is rejected
|
Table B.11 Standard Options for persistency services (e.g. EventPersistencySvc)
Option name
|
Default value
|
Meaning
|
CnvServices
|
{}
|
Conversion services to be used by the service to load or store persistent data (e.g. "RootEvtCnvSvc")
|
Table B.12 Standard Options for conversion services (e.g. RootEvtCnvSvc)
Option name
|
Default value
|
Meaning
|
DbType
|
""
|
Persistency technology (e.g. "ROOT")
|
Table B.13 Standard Options for the histogram service [HistogramPersistencySvc]
Option name
|
Default value
|
Meaning
|
OutputFile
|
""
|
Output file for histograms. No output if not defined
|
Table B.14 Standard Options for the N-tuple service [NTupleSvc] (see section 11.2.3.1)
Option name
|
Default value
|
Meaning
|
Input
|
{}
|
Input file(s) for n-tuples. Format:
{"FILE1 DATAFILE='tuple.hbook' OPT='OLD' TYP='HBOOK'",
["FILE2 DATAFILE='tuple.root' OPT='OLD' TYP='ROOT'",...]}
|
Output
|
{}
|
Output file fInput file(s) for n-tuples. Format:
{"FILE1 DATAFILE='tuple.hbook' OPT='NEW' TYP='HBOOK'",
["FILE2 DATAFILE='tuple.root' OPT='NEW' TYP='ROOT'",...]}
|
StoreName
|
"/NTUPLES"
|
Name of top level entry
|
Table B.15 Standard Options for the standard event selector [EventSelector]
Option name
|
Default value
|
Meaning
|
Input
|
{}
|
Input data stream specification.
Format: "<tagname> = '<tagvalue>' <opt>"
Possible <tagname>:
DATAFILE = 'filename', TYP = 'technology type' OPT = 'new'|'update'|'old', SVC = 'CnvSvcName', AUTH = 'login'
|
FirstEvent
|
1
|
First event to process (allows skipping of preceding events)
|
EvtMax
|
All events on ApplicationMgr.EvtSel input stream
|
Maximum number of events to process
|
PrintFreq
|
10
|
Frequency with which event number is reported
|
JobInput
|
""
|
String of input files (same format as ApplicationMgr.EvtSel), used only for pileup event selector(s)
|
Table B.16 Event Tag Collection Selector [EventCollectionSelector]
Option name
|
Default value
|
Meaning
|
CnvService
|
"EvtTupleSvc"
|
Conversion service to be used
|
Authentication
|
""
|
Authentication to be used
|
Container
|
"B2PiPi"
|
Container name
|
Item
|
"Address"
|
Item name
|
Criteria
|
""
|
Selection criteria
|
DB
|
""
|
Database name
|
DbType
|
""
|
Database type
|
Function
|
"NTuple::Selector"
|
Selection function
|
Table B.17 Standard Options for Sicb Event Conversion service [SicbEventCnvSvc]
Option name
|
Default value
|
Meaning
|
enableSpillover
|
"false;"
|
If true, spillover is enabled. See also Table B.19
|
Table B.18 Standard Options for Sicb Pileup Algorithm [PileUpAlg]
Option name
|
Default value
|
Meaning
|
PileUpMode
|
""
|
Pileup mode. Possible values:
"LUMISIGNAL" : Luminosity weighted for signal leading event
"LUMIMINBIAS","LUMI" : Luminosity weighted for minimum bias leading event
|
Table B.19 Standard Options for Sicb Spillover Algorithm [SpillOverAlg]
Option name
|
Default value
|
Meaning
|
SpillOverMode
|
"LUMI"
|
Spillover mode. Possible value:
"LUMI" : Luminosity weighted
|
SpillOverPrev
|
1
|
Number of preceding bunch crossings to be considered for spillover.
Possible values: 0,1,2
|
SpillOverNext
|
0
|
Number of following bunch crossings to be considered for spillover.
Possible values: 0,1,2
|
Table B.20 Standard Options for Detector Data service [DetDataSvc]
Option name
|
Default value
|
Meaning
|
DetStorageType
|
0
|
Detector database storage type: 7=XML
|
DetDbLocation
|
"empty"
|
Detector database location (filename,URL). If empty then the environment valiable XMLDDDBROOT is used.
|
DetDbRootName
|
"/dd"
|
Name of the root node of the detector transient store
|
UsePersistency
|
false;
|
If true, load from persistent medium.
|
Table B.21 Standard Options for XML conversion service [XmlCnvSvc]
Option name
|
Default value
|
Meaning
|
AllowGenericConversion
|
false;
|
Switch for generic detector element conversion1
|
1
The XML conversion service allows the possibility to convert user defined detector elements to generic detector elements. This means that only the generic part of the detector element, and its associated geometry, will be converted but not the user defined detector element data. This feature can be used when the user defined detector element data are not needed (e.g. visualization) or when the corresponding user defined XML converters are not available (testing). When this feature is switched ON, the Gaudi application will run successfully with an information message saying that this feature is enabled, and will print out the information about all the detector elements to which this generic conversion is applied. The limitation of this feature is that after the generic conversion the returned reference points to a DetectorElement object and not to the user defined class. This means that SmartDataPtr class can be parameterized only by DetectorElement class and not by the user defined class.
|
Table B.22 Standard Options for Particle Property Service [ParticlePropertySvc]
Option name
|
Default value
|
Meaning
|
ParticlePropertiesFile
|
"($LHCBDBASE)/cdf/particle.cdf"
|
Particle properties database location
|
Table B.23 Standard Options for Random Numbers Generator Service [RndmGenSvc]
Option name
|
Default value
|
Meaning
|
Engine
|
"HepRndm::Engine<RanluxEngine>"
|
Random number generator engine
|
Seeds
|
|
Table of generator seeds
|
Column
|
0
|
Number of columns in seed table -1
|
Row
|
1
|
Number of rows in seed table -1
|
Luxury
|
3
|
Luxury value for the generator
|
UseTable
|
false
|
Switch to use seeds table
|
Table B.24 Standard Options for Chrono and Stat Service [ChronoStatSvc]
Option name
|
Default value
|
Meaning
|
ChronoPrintOutTable
|
true
|
Global switch for profiling printout
|
PrintUserTime
|
true
|
Switch to print User Time
|
PrintSystemTime
|
false
|
Switch to print System Time
|
PrintEllapsedTime
|
false
|
Switch to print Elapsed time (Note typo in option name!)
|
ChronoDestinationCout
|
false
|
If true, printout goes to cout rather than MessageSvc
|
ChronoPrintLevel
|
3
|
Print level for profiling (values as for MessageSvc)
|
ChronoTableToBeOrdered
|
true
|
Switch to order printed table
|
StatPrintOutTable
|
true
|
Global switch for statistics printout
|
StatDestinationCout
|
false
|
If true, printout goes to cout rather than MessageSvc
|
StatPrintLevel
|
3
|
Print level for profiling (values as for MessageSvc)
|
StatTableToBeOrdered
|
true
|
Switch to order printed table
|