public class PairTrigger<E> extends SinglesTrigger<E>
Modifier and Type | Field and Description |
---|---|
private static String |
PAIR_COPLANARITY_HIGH |
private static String |
PAIR_ENERGY_DIFFERENCE_HIGH |
private static String |
PAIR_ENERGY_SLOPE_LOW |
private static String |
PAIR_ENERGY_SUM_HIGH |
private static String |
PAIR_ENERGY_SUM_LOW |
private static String |
PAIR_TIME_COINCIDENCE |
Constructor and Description |
---|
PairTrigger(E source,
int triggerNum)
Instantiates a new
PairTrigger with all cut
states set to false and with the trigger source
defined according to the specified object. |
Modifier and Type | Method and Description |
---|---|
boolean |
getStateCoplanarity()
Gets whether the pair coplanarity cut was met.
|
boolean |
getStateEnergyDifference()
Gets whether the pair energy difference cut was met.
|
boolean |
getStateEnergySlope()
Gets whether the pair energy slope cut was met.
|
boolean |
getStateEnergySum()
Gets whether both the pair energy sum upper and lower bound cuts
were met.
|
boolean |
getStateEnergySumHigh()
Gets whether the pair energy sum upper bound cut was met.
|
boolean |
getStateEnergySumLow()
Gets whether the pair energy sum lower bound cut was met.
|
boolean |
getStateTimeCoincidence()
Gets whether the time coincidence cut was met.
|
void |
setStateCoplanarity(boolean state)
Sets whether the conditions for the pair coplanarity cut were
met.
|
void |
setStateEnergyDifference(boolean state)
Sets whether the conditions for the pair energy difference cut
were met.
|
void |
setStateEnergySlope(boolean state)
Sets whether the conditions for the pair energy slope cut were
met.
|
void |
setStateEnergySumHigh(boolean state)
Sets whether the conditions for the pair energy sum upper bound
cut were met.
|
void |
setStateEnergySumLow(boolean state)
Sets whether the conditions for the pair energy sum lower bound
cut were met.
|
void |
setStateTimeCoincidence(boolean state)
Sets whether the conditions for the time coincidence cut were
met.
|
String |
toString() |
getStateClusterEnergy, getStateClusterEnergyHigh, getStateClusterEnergyLow, getStateHitCount, getStateSeedEnergy, getStateSeedEnergyHigh, getStateSeedEnergyLow, setStateClusterEnergyHigh, setStateClusterEnergyLow, setStateHitCount, setStateSeedEnergyHigh, setStateSeedEnergyLow
addValidCut, getCutState, getTriggerNumber, getTriggerSource, getTriggerState, removeValidCut, setCutState, supportsCut
private static final String PAIR_ENERGY_SUM_LOW
private static final String PAIR_ENERGY_SUM_HIGH
private static final String PAIR_ENERGY_DIFFERENCE_HIGH
private static final String PAIR_ENERGY_SLOPE_LOW
private static final String PAIR_COPLANARITY_HIGH
private static final String PAIR_TIME_COINCIDENCE
public PairTrigger(E source, int triggerNum)
PairTrigger
with all cut
states set to false
and with the trigger source
defined according to the specified object.source
- - The object from which the trigger cut states
are derived.public boolean getStateEnergySumLow()
true
if the cut was met and
false
otherwise.public boolean getStateEnergySumHigh()
true
if the cut was met and
false
otherwise.public boolean getStateEnergySum()
true
if the cuts were met and
false
otherwise.public boolean getStateEnergyDifference()
true
if the cut was met and
false
otherwise.public boolean getStateEnergySlope()
true
if the cut was met and
false
otherwise.public boolean getStateCoplanarity()
true
if the cut was met and
false
otherwise.public boolean getStateTimeCoincidence()
true
if the cut was met and
false
otherwise.public void setStateEnergySumLow(boolean state)
state
- - true
indicates that the cut conditions
were met and false
that they were not.public void setStateEnergySumHigh(boolean state)
state
- - true
indicates that the cut conditions
were met and false
that they were not.public void setStateEnergyDifference(boolean state)
state
- - true
indicates that the cut conditions
were met and false
that they were not.public void setStateEnergySlope(boolean state)
state
- - true
indicates that the cut conditions
were met and false
that they were not.public void setStateCoplanarity(boolean state)
state
- - true
indicates that the cut conditions
were met and false
that they were not.public void setStateTimeCoincidence(boolean state)
state
- - true
indicates that the cut conditions
were met and false
that they were not.public String toString()
toString
in class SinglesTrigger<E>
Copyright © 2019. All rights reserved.