public class StrategyDriver extends Driver
Driver.AbortRunException, Driver.NextEventException
Modifier and Type | Field and Description |
---|---|
(package private) String |
outputFile |
(package private) String |
prototypeFile |
(package private) boolean |
verbose |
HLEVEL_DEFAULT, HLEVEL_FULL, HLEVEL_HIGH, HLEVEL_NORMAL, HLEVEL_OFF
Constructor and Description |
---|
StrategyDriver() |
Modifier and Type | Method and Description |
---|---|
void |
process(EventHeader event)
Called by the framework to process an event.
|
void |
setOutputFile(String outputFile)
Set the output file path for the generated strategies.
|
void |
setPrototypeStrategyFile(String prototypeFile)
Set a strategy file to use as a prototype for the output strategies.
|
void |
setVerbose(boolean verbose)
Set verbose flag for debugging.
|
void |
startOfData()
Called before the first event is processed, or after a rewind.
|
add, clearStatistics, contains, detectorChanged, drivers, endOfData, getConditionsManager, getHistogramLevel, getLogger, getName, getRandom, printStatistics, processChildren, remove, resume, setHistogramLevel, setLogLevel, setRandom, suspend
String outputFile
String prototypeFile
boolean verbose
public void setOutputFile(String outputFile)
outputFile
- The output file path.public void setVerbose(boolean verbose)
verbose
- True to turn on debug output; false to turn off.public void setPrototypeStrategyFile(String prototypeFile)
prototypeFile
- The prototype strategy file.public void startOfData()
Driver
startOfData
in class Driver
public void process(EventHeader event)
Driver
super.process(event)
to cause the child processes to be executed.
In addition the process event call can throw some special exceptions:
process
in class Driver
event
- The event to be processedDriver.NextEventException
,
Driver.AbortRunException
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.