public class HitMakingDriver extends Driver
TrackerHit
collection given TrackerCluster
collection.Modifier and Type | Class and Description |
---|---|
protected static class |
HitMakingDriver.UsedClusters |
Driver.AbortRunException, Driver.NextEventException
Modifier and Type | Field and Description |
---|---|
private String |
_clusterMapName |
protected TrackerHitMaker |
_hitMaker |
private String |
_hitMapName |
protected boolean |
_registerHitsWithClusters |
protected HitMakingDriver.UsedClusters |
_usedClusters |
HLEVEL_DEFAULT, HLEVEL_FULL, HLEVEL_HIGH, HLEVEL_NORMAL, HLEVEL_OFF
Constructor and Description |
---|
HitMakingDriver(TrackerHitMaker hitMaker) |
Modifier and Type | Method and Description |
---|---|
void |
process(EventHeader event)
Called by the framework to process an event.
|
void |
set(String name,
boolean value)
Set any boolean parameter.
|
void |
set(String name,
String value)
Set any String parameter.
|
add, clearStatistics, contains, detectorChanged, drivers, endOfData, getConditionsManager, getHistogramLevel, getLogger, getName, getRandom, printStatistics, processChildren, remove, resume, setHistogramLevel, setLogLevel, setRandom, startOfData, suspend
private String _clusterMapName
private String _hitMapName
protected boolean _registerHitsWithClusters
protected TrackerHitMaker _hitMaker
protected HitMakingDriver.UsedClusters _usedClusters
public HitMakingDriver(TrackerHitMaker hitMaker)
public void set(String name, String value)
name
- Name of parameter to be set. Case is ignored.value
- Value to be assigned to the parameter.NoSuchParameterException
- Thrown if the supplied parameter name is unknown.
Subclasses may catch this exception after a call to super.set()
and set their own parameters.public void set(String name, boolean value)
TrackerCluster.getTrackerHits()
method.
name
- Name of parameter to be set. Case is ignored.value
- Value to be assigned to the parameter.NoSuchParameterException
- Thrown if the supplied parameter name is unknown.
Subclasses may catch this exception after a call to super.set()
and set their own parameters.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.