public class TestRunTriggeredReconToLcio extends TriggerableDriver
Modifier and Type | Field and Description |
---|---|
(package private) static String |
ecalCollectionName |
(package private) List<org.lcsim.event.SimCalorimeterHit> |
ecalHits |
private int |
ecalMode |
(package private) List<org.lcsim.event.SimTrackerHit> |
ecalScoringPlaneHits |
(package private) String |
ecalScoringPlaneHitsCollectionName |
(package private) EcalHitWriter |
ecalWriter |
private int |
eventNum |
(package private) Queue<org.lcsim.event.EventHeader> |
events |
private int |
eventsWritten |
(package private) static String |
inactiveSiCollectionName |
(package private) List<org.lcsim.event.SimTrackerHit> |
inactiveSiHits |
(package private) org.lcsim.lcio.LCIOWriter |
lcioWriter |
(package private) List<org.lcsim.event.MCParticle> |
mcParticles |
(package private) String |
outputFile |
(package private) String |
rawCalorimeterHitCollectionName |
private boolean |
rejectBackground |
private String |
relationCollectionName |
(package private) SVTHitWriter |
svtWriter |
(package private) static String |
trackerCollectionName |
(package private) List<org.lcsim.event.SimTrackerHit> |
trackerHits |
(package private) List<org.lcsim.event.SimTrackerHit> |
trackerHitsInactive |
(package private) static String |
trackerInactiveCollectionName |
(package private) List<org.lcsim.event.SimCalorimeterHit> |
triggerECalHits |
(package private) List<org.lcsim.event.SimTrackerHit> |
triggerECalScoringPlaneHits |
(package private) List<org.lcsim.event.MCParticle> |
triggerMCParticles |
private int |
triggerSpacing |
(package private) List<org.lcsim.event.SimTrackerHit> |
triggerTrackerHits |
(package private) List<org.lcsim.event.SimTrackerHit> |
triggerTrackerHitsInactive |
(package private) TriggerDataWriter |
triggerWriter |
private int |
verbosity |
private boolean |
writeEcalData |
(package private) List<HitWriter> |
writers |
private boolean |
writeSvtData |
private boolean |
writeTriggerData |
triggerDelay
Constructor and Description |
---|
TestRunTriggeredReconToLcio() |
Modifier and Type | Method and Description |
---|---|
void |
detectorChanged(org.lcsim.geometry.Detector detector) |
protected void |
endOfData() |
int |
getTimestampType() |
protected void |
process(org.lcsim.event.EventHeader event) |
protected void |
processTrigger(org.lcsim.event.EventHeader event) |
void |
setEcalMode(int ecalMode) |
void |
setOutputFile(String outputFile) |
void |
setRawCalorimeterHitCollectionName(String rawCalorimeterHitCollectionName) |
void |
setRejectBackground(boolean rejectBackground) |
void |
setTriggerSpacing(int triggerSpacing) |
void |
setVerbosity(int verbosity)
Set the amount of printouts generated by the writers.
|
void |
setWriteEcalData(boolean writeEcalData)
Set whether the LCIO writer looks for ECal readout data.
|
void |
setWriteSvtData(boolean writeSvtData)
Set whether the LCIO writer looks for SVT readout data.
|
void |
setWriteTriggerData(boolean writeTriggerData)
Set whether the LCIO writer looks for trigger readout data.
|
protected void |
startOfData() |
addTrigger, checkTrigger, isLive, readoutDeltaT, setTriggerDelay
String rawCalorimeterHitCollectionName
String outputFile
private int eventsWritten
private int eventNum
private int triggerSpacing
private boolean rejectBackground
EcalHitWriter ecalWriter
SVTHitWriter svtWriter
TriggerDataWriter triggerWriter
org.lcsim.lcio.LCIOWriter lcioWriter
Queue<org.lcsim.event.EventHeader> events
private int ecalMode
List<org.lcsim.event.MCParticle> mcParticles
List<org.lcsim.event.SimTrackerHit> trackerHits
List<org.lcsim.event.SimTrackerHit> trackerHitsInactive
List<org.lcsim.event.SimCalorimeterHit> ecalHits
List<org.lcsim.event.SimTrackerHit> ecalScoringPlaneHits
List<org.lcsim.event.MCParticle> triggerMCParticles
List<org.lcsim.event.SimTrackerHit> triggerTrackerHits
List<org.lcsim.event.SimTrackerHit> triggerTrackerHitsInactive
List<org.lcsim.event.SimCalorimeterHit> triggerECalHits
List<org.lcsim.event.SimTrackerHit> triggerECalScoringPlaneHits
List<org.lcsim.event.SimTrackerHit> inactiveSiHits
static final String ecalCollectionName
static final String trackerCollectionName
static final String trackerInactiveCollectionName
private final String relationCollectionName
String ecalScoringPlaneHitsCollectionName
static final String inactiveSiCollectionName
private int verbosity
private boolean writeSvtData
private boolean writeEcalData
private boolean writeTriggerData
public void detectorChanged(org.lcsim.geometry.Detector detector)
detectorChanged
in class org.lcsim.util.Driver
public void setEcalMode(int ecalMode)
public void setOutputFile(String outputFile)
public void setTriggerSpacing(int triggerSpacing)
public void setRejectBackground(boolean rejectBackground)
public void setRawCalorimeterHitCollectionName(String rawCalorimeterHitCollectionName)
public void setVerbosity(int verbosity)
verbosity
- public void setWriteSvtData(boolean writeSvtData)
writeSvtData
- True by default.public void setWriteEcalData(boolean writeEcalData)
writeEcalData
- True by default.public void setWriteTriggerData(boolean writeTriggerData)
writeTriggerData
- True by default.protected void startOfData()
startOfData
in class TriggerableDriver
protected void endOfData()
endOfData
in class org.lcsim.util.Driver
protected void process(org.lcsim.event.EventHeader event)
process
in class org.lcsim.util.Driver
protected void processTrigger(org.lcsim.event.EventHeader event)
processTrigger
in class TriggerableDriver
public int getTimestampType()
getTimestampType
in class TriggerableDriver
Copyright © 2019. All rights reserved.