public class LCSimTestRunEventBuilder extends Object implements LCSimEventBuilder, org.lcsim.conditions.ConditionsListener
Modifier and Type | Field and Description |
---|---|
protected EcalEvioReader |
ecalReader |
protected List<AbstractIntData.IntBankDefinition> |
intBanks |
protected static Logger |
LOGGER |
protected int |
sspBankTag |
protected int |
sspCrateBankTag |
protected AbstractSvtEvioReader |
svtReader |
protected long |
time |
Constructor and Description |
---|
LCSimTestRunEventBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
conditionsChanged(org.lcsim.conditions.ConditionsEvent conditionsEvent) |
protected org.lcsim.event.EventHeader |
getEventData(org.jlab.coda.jevio.EvioEvent evioEvent) |
protected long |
getTime(List<AbstractIntData> triggerList) |
protected List<AbstractIntData> |
getTriggerData(org.jlab.coda.jevio.EvioEvent evioEvent) |
org.lcsim.event.EventHeader |
makeLCSimEvent(org.jlab.coda.jevio.EvioEvent evioEvent)
Build the LCSim event from an EVIO event.
|
void |
readEvioEvent(org.jlab.coda.jevio.EvioEvent evioEvent)
Read information from an EVIO control event such as a PRESTART event to set the event builder's state.
|
void |
setEcalHitCollectionName(String ecalHitCollectionName) |
protected EcalEvioReader ecalReader
protected AbstractSvtEvioReader svtReader
protected long time
protected int sspCrateBankTag
protected int sspBankTag
protected static Logger LOGGER
protected List<AbstractIntData.IntBankDefinition> intBanks
public void setEcalHitCollectionName(String ecalHitCollectionName)
public void readEvioEvent(org.jlab.coda.jevio.EvioEvent evioEvent)
LCSimEventBuilder
This does not actually build an LCSim event.
readEvioEvent
in interface LCSimEventBuilder
evioEvent
- the input EvioEvent
public org.lcsim.event.EventHeader makeLCSimEvent(org.jlab.coda.jevio.EvioEvent evioEvent)
LCSimEventBuilder
makeLCSimEvent
in interface LCSimEventBuilder
evioEvent
- the input EvioEvent
protected org.lcsim.event.EventHeader getEventData(org.jlab.coda.jevio.EvioEvent evioEvent)
protected long getTime(List<AbstractIntData> triggerList)
protected List<AbstractIntData> getTriggerData(org.jlab.coda.jevio.EvioEvent evioEvent)
public void conditionsChanged(org.lcsim.conditions.ConditionsEvent conditionsEvent)
conditionsChanged
in interface org.lcsim.conditions.ConditionsListener
Copyright © 2019. All rights reserved.