|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--hep.analysis.EventHandler
|
+--hep.analysis.EventAnalyzer
|
+--hep.lcd.util.driver.Driver
A driver is a steering routine which can call a number of processors It also allows controlling the debug level of the processors being called and handles coordination of random numbers between Monte Carlo processors. Driver also implements Processor, so Drivers can be nested as Processors within other Drivers. When used as a nested driver all parameters such as histogramLevel and debugLevel are inherited from the parent driver.
Processor,
ProcessorContext,
ReconDriver| Fields inherited from class hep.analysis.EventHandler |
out |
| Constructor Summary | |
Driver()
|
|
| Method Summary | |
void |
add(Processor p)
Add a Processor to this Driver |
void |
afterLastEvent()
|
void |
beforeFirstEvent()
|
void |
clearContext()
Called by the Driver when this processor is removed from the Driver |
boolean |
contains(Processor p)
Tests to see if a given Processor is already added to this Driver |
int |
getDebugLevel()
|
int |
getHistogramLevel()
|
String |
getName()
Called by the Driver to get the name of this processor |
long |
getSeed()
|
void |
process(LCDEvent event)
Called by the driver when this processor should process an event. |
void |
processEvent(EventData data)
|
void |
remove(Processor p)
Removes a Processor from this Driver |
void |
setContext(ProcessorContext value)
Called by the Driver when this processor is added to the Driver |
void |
setDebugLevel(int level)
|
void |
setDetector(Detector det)
Called by the driver when a new detector geometry is set. |
void |
setHistogramLevel(int level)
|
void |
setSeed(long newSeed)
|
void |
start()
Called at the beginning of processing |
void |
stop()
Called at the end of processing |
| Methods inherited from class hep.analysis.EventHandler |
histogram, histogram, sendMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Driver()
| Method Detail |
public void add(Processor p)
p - The Processor to be addedpublic void remove(Processor p)
p - The Processor to be removedpublic boolean contains(Processor p)
p - Processor to be checkedpublic void processEvent(EventData data)
processEvent in class EventAnalyzerpublic void setDetector(Detector det)
ProcessorsetDetector in interface Processorpublic void beforeFirstEvent()
beforeFirstEvent in class EventHandlerpublic void afterLastEvent()
afterLastEvent in class EventHandlerpublic long getSeed()
public void setSeed(long newSeed)
public int getDebugLevel()
public void setDebugLevel(int level)
public int getHistogramLevel()
public void setHistogramLevel(int level)
public void process(LCDEvent event)
Processorprocess in interface Processorhep.lcd.util.driver.Processorevent - The event to processpublic void start()
Processorstart in interface Processorpublic void stop()
Processorstop in interface Processorpublic void setContext(ProcessorContext value)
ProcessorsetContext in interface Processorhep.lcd.util.driver.Processorcontext - the new ProcessorContextpublic void clearContext()
ProcessorclearContext in interface Processorpublic String getName()
ProcessorgetName in interface Processorhep.lcd.util.driver.Processor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||