public class StdhepDriver extends Driver
Driver.AbortRunException, Driver.NextEventException
Modifier and Type | Field and Description |
---|---|
private String |
comment |
private int |
expectedEvents |
private String |
file |
private String |
title |
private hep.io.stdhep.StdhepWriter |
writer |
HLEVEL_DEFAULT, HLEVEL_FULL, HLEVEL_HIGH, HLEVEL_NORMAL, HLEVEL_OFF
Constructor and Description |
---|
StdhepDriver(File file,
String title,
String comment,
int expectedEvents) |
StdhepDriver(String file,
String title,
String comment,
int expectedEvents) |
Modifier and Type | Method and Description |
---|---|
protected void |
endOfData()
Called when all data processing is finished.
|
protected void |
process(EventHeader event)
Called by the framework to process an event.
|
protected void |
startOfData()
Called before the first event is processed, or after a rewind.
|
protected void |
suspend()
Called by the framework when event processing is suspended.
|
add, clearStatistics, contains, detectorChanged, drivers, getConditionsManager, getHistogramLevel, getLogger, getName, getRandom, printStatistics, processChildren, remove, resume, setHistogramLevel, setLogLevel, setRandom
private hep.io.stdhep.StdhepWriter writer
private String file
private String title
private String comment
private int expectedEvents
protected void startOfData()
Driver
startOfData
in class Driver
protected 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
protected void endOfData()
Driver
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.