All Packages Class Hierarchy This Package Previous Next Index
Class hep.analysis.EventHandler
java.lang.Object
|
+----hep.analysis.EventHandler
- public abstract class EventHandler
- extends Object
The base class for EventAnalyzer and EventGenerator.
- See Also:
- EventAnalyzer, EventGenerator
-
out
- The log stream used to send messages.
-
EventHandler()
-
-
afterLastEvent()
- Called after the last event is handled.
-
beforeFirstEvent()
- Called before the first event is handled.
-
histogram(String)
- Returns the Histogram object with the given name.
-
histogram(String, HistogramFolder)
- Returns the Histogram object with the given name.
-
sendMessage(String)
- Displays a message.
out
protected PrintWriter out
- The log stream used to send messages.
EventHandler
public EventHandler()
beforeFirstEvent
public void beforeFirstEvent()
- Called before the first event is handled. Does nothing by default. Override
to have something happen.
afterLastEvent
public void afterLastEvent()
- Called after the last event is handled. Does nothing by default. Override
to have something happen.
sendMessage
public void sendMessage(String message)
- Displays a message.
- Parameters:
- message - the message to display
histogram
protected final Histogram histogram(String name)
- Returns the Histogram object with the given name. Looks
in the default folder.
- Parameters:
- name - the name of the histogram to find
- Returns:
- the Histogram object with the name given by the parameter
name
.
histogram
protected final Histogram histogram(String name,
HistogramFolder parent)
- Returns the Histogram object with the given name. Looks
in the given folder.
- Parameters:
- name - the name of the histogram to find
- parent - the folder to look in
- Returns:
- the Histogram object with the name given by the parameter
name
.
All Packages Class Hierarchy This Package Previous Next Index