public class CreateFinalStateMCParticleList extends Driver
Driver.AbortRunException, Driver.NextEventException
Modifier and Type | Field and Description |
---|---|
private MCParticleClassifier |
cl |
private String |
CollectionName |
private MCParticleClassifier.MCPClass |
fs |
private String |
FStype |
private int |
itype |
private boolean |
keepce |
private boolean |
keepch |
private boolean |
keepcp |
private double |
Rcut |
private static String[] |
types |
private double |
Zcut |
HLEVEL_DEFAULT, HLEVEL_FULL, HLEVEL_HIGH, HLEVEL_NORMAL, HLEVEL_OFF
Constructor and Description |
---|
CreateFinalStateMCParticleList(String type)
Set up the defaults for creating the lists.
|
Modifier and Type | Method and Description |
---|---|
MCParticle |
getFirstContinuousParticle(MCParticle p)
Find and return the top VNEOP particle in parentage chain
|
boolean |
keepThis(MCParticle p,
MCParticle pp)
Decide if a particle resulting from continuous production should be kept as a final state particle.
|
void |
process(EventHeader event)
Process and event.
|
void |
setCollectionName(String name)
Set the output collection name
|
void |
setKeepContinuousElectrons()
Keep electrons created without destroying parent.
|
void |
setKeepContinuousHadrons()
Keep hadrons created without destroying parent.
|
void |
setKeepContinuousPhotons()
Keep photons created without destroying parent.
|
void |
setRadiusCut(double rc)
Set a radius cut beyond which interactions and decays are ignored.
|
void |
setZCut(double zc)
Set a z cut beyond which interactions and decays are ignored.
|
add, clearStatistics, contains, detectorChanged, drivers, endOfData, getConditionsManager, getHistogramLevel, getLogger, getName, getRandom, printStatistics, processChildren, remove, resume, setHistogramLevel, setLogLevel, setRandom, startOfData, suspend
private MCParticleClassifier.MCPClass fs
private String FStype
private String CollectionName
private double Rcut
private double Zcut
private boolean keepce
private boolean keepcp
private boolean keepch
private static final String[] types
private int itype
private MCParticleClassifier cl
public CreateFinalStateMCParticleList(String type)
type
- public void setCollectionName(String name)
name
- public void setRadiusCut(double rc)
rc
- public void setZCut(double zc)
zc
- public void setKeepContinuousElectrons()
public void setKeepContinuousPhotons()
public void setKeepContinuousHadrons()
public void process(EventHeader event)
process
in class Driver
event
- Driver.NextEventException
,
Driver.AbortRunException
public boolean keepThis(MCParticle p, MCParticle pp)
p
- - particle in questionpp
- - first continuous production particle in parentage chain of ppublic MCParticle getFirstContinuousParticle(MCParticle p)
p
- - particle in questionCopyright © 2016 Linear Collider Detector (LCD). All rights reserved.