public class EcalOnlineRawConverterDriver
extends org.lcsim.util.Driver
RawCalorimeterHit
and RawTrackerHit
, objects with ADC/sample information, and
collections of CalorimeterHit
, objects with energy/time information.
org.hps.recon.ecal.EcalRawConverter is called to do most of the lower level work.Modifier and Type | Field and Description |
---|---|
private EcalOnlineRawConverter |
converter |
private String |
ecalCollectionName
The output LCIO collection name.
|
private String |
ecalReadoutName
ecalCollectionName "type" (must match detector-data)
|
private static String |
extraDataRelationsName
Output relation between ecalCollectionName and Mode-7 pedestals.
|
private String |
rawCollectionName
The input LCIO collection name.
|
Constructor and Description |
---|
EcalOnlineRawConverterDriver()
Instantiates the
EcalOnlineRawConverter2 for this
driver. |
Modifier and Type | Method and Description |
---|---|
void |
process(org.lcsim.event.EventHeader event) |
void |
setEcalCollectionName(String ecalCollectionName)
Sets the output
CalorimeterHit LCIO
collection name. |
void |
setIsReadoutSimulation(boolean state)
Sets whether to use a constant integration window for the the
purpose of determining the correct pedestal.
|
void |
setRawCollectionName(String rawCollectionName)
Sets the input raw hit data LCIO collection name.
|
void |
startOfData()
Checks that the required LCIO collection names are defined.
|
private EcalOnlineRawConverter converter
private String rawCollectionName
RawTrackerHit
or
RawCalorimeterHit
. These have ADC and
sample time information.private String ecalCollectionName
CalorimeterHit
with energy (GeV) and
ns time information.private final String ecalReadoutName
private static final String extraDataRelationsName
public EcalOnlineRawConverterDriver()
EcalOnlineRawConverter2
for this
driver.public void startOfData()
startOfData
in class org.lcsim.util.Driver
public void process(org.lcsim.event.EventHeader event)
process
in class org.lcsim.util.Driver
public void setEcalCollectionName(String ecalCollectionName)
CalorimeterHit
LCIO
collection name.ecalCollectionName
- - The LCIO collection name for output
data.public void setIsReadoutSimulation(boolean state)
state
- - true
ignores the size of the readout
window when calculating pedestals, and false
accounts
for it in the case of pulse-clipping.public void setRawCollectionName(String rawCollectionName)
RawTrackerHit
objects for mode-1 data or
RawCalorimeterHit
objects for mode-3
and mode-7 data.rawCollectionName
- - The LCIO collection name for raw data.Copyright © 2019. All rights reserved.