public class FixedConeClusterDriver extends Driver
Driver.AbortRunException, Driver.NextEventException
Modifier and Type | Field and Description |
---|---|
private FixedConeClusterer |
_clusterer |
private String[] |
_collNames |
(package private) IDDecoder |
_decoder |
private boolean |
_doall |
private double |
_minEnergy |
private String |
_nameExt |
private double |
_radius |
private double |
_seedEnergy |
HLEVEL_DEFAULT, HLEVEL_FULL, HLEVEL_HIGH, HLEVEL_NORMAL, HLEVEL_OFF
Constructor and Description |
---|
FixedConeClusterDriver(double radius,
double seed,
double minE)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
process(EventHeader event)
Processes an Event to find CalorimeterClusters
|
void |
setClusterAllCollections()
Set a flag to cluster all CalorimeterHit collections
|
void |
setClusterNameExtension(String ext)
Set the extension of the hit collection name to use
when writing the cluster collection to event
|
void |
setCollectionNames(String[] names)
Set the names of the CalorimeterHit collections to cluster
|
String |
toString() |
add, clearStatistics, contains, detectorChanged, drivers, endOfData, getConditionsManager, getHistogramLevel, getLogger, getName, getRandom, printStatistics, processChildren, remove, resume, setHistogramLevel, setLogLevel, setRandom, startOfData, suspend
private double _radius
private double _seedEnergy
private double _minEnergy
private FixedConeClusterer _clusterer
private String[] _collNames
private boolean _doall
private String _nameExt
IDDecoder _decoder
public FixedConeClusterDriver(double radius, double seed, double minE)
radius
- The cone radius in q-f spaceseed
- The minimum energy for a cone seed cell (in GeV)minE
- The minimum energy for a cluster (in GeV)protected void process(EventHeader event)
process
in class Driver
event
- The Event to processDriver.NextEventException
,
Driver.AbortRunException
public void setClusterNameExtension(String ext)
ext
- - the extension to add to the hit collection namepublic void setCollectionNames(String[] names)
names
- - an array of Strings containing the names of the
hit collections to clusterpublic void setClusterAllCollections()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.