public class SSPData extends AbstractIntData
SSPCluster
and SSPTrigger
objects.AbstractIntData.IntBankDefinition
Modifier and Type | Field and Description |
---|---|
static int |
BANK_TAG |
static int |
CLUSTER_TYPE |
private List<SSPCluster> |
clusterList |
private List<SSPCosmicTrigger> |
cosmicList |
private int |
eventNumber |
private List<SSPPairTrigger> |
pairList |
private List<SSPSinglesTrigger> |
singlesList |
static int |
TRIG_HEADER |
static int |
TRIG_TIME |
static int |
TRIG_TYPE |
static int |
TRIG_TYPE_COSMIC_BOT |
static int |
TRIG_TYPE_COSMIC_TOP |
static int |
TRIG_TYPE_PAIR0 |
static int |
TRIG_TYPE_PAIR1 |
static int |
TRIG_TYPE_SINGLES0_BOT |
static int |
TRIG_TYPE_SINGLES0_TOP |
static int |
TRIG_TYPE_SINGLES1_BOT |
static int |
TRIG_TYPE_SINGLES1_TOP |
private List<SSPTrigger> |
triggerList |
private long |
triggerTime |
bank
Constructor and Description |
---|
SSPData(org.lcsim.event.GenericObject sspData)
Instantiates an
SSPData object from an LCIO
GenericObject object that contains an EVIO-encoded
bank of integer primitives which represent an SSP trigger bank. |
SSPData(int[] bank)
Instantiates an
SSPData object from a bank of
integer primitives defining an EVIO-encoded SSP trigger bank. |
Modifier and Type | Method and Description |
---|---|
protected void |
decodeData()
Parses the bank so the object can be used in analysis.
|
List<SSPCluster> |
getClusters()
Gets the list of clusters reported by the SSP.
|
List<SSPCosmicTrigger> |
getCosmicTriggers()
Gets the list of cosmic triggers reported by the SSP.
|
int |
getEventNumber()
Gets the event number reported by the SSP.
|
List<SSPPairTrigger> |
getPairTriggers()
Gets the list of pair triggers reported by the SSP.
|
List<SSPSinglesTrigger> |
getSinglesTriggers()
Gets the list of singles triggers reported by the SSP.
|
int |
getTag()
Returns the EvIO bank header tag expected for this data.
|
long |
getTime()
Gets the trigger time reported by the SSP.
|
getBank, getBank, getBankInt, getDoubleVal, getFloatVal, getIntVal, getNDouble, getNFloat, getNInt, getTag, isFixedSize
public static final int BANK_TAG
public static final int TRIG_HEADER
public static final int TRIG_TIME
public static final int TRIG_TYPE
public static final int CLUSTER_TYPE
public static final int TRIG_TYPE_COSMIC_TOP
public static final int TRIG_TYPE_COSMIC_BOT
public static final int TRIG_TYPE_SINGLES0_TOP
public static final int TRIG_TYPE_SINGLES0_BOT
public static final int TRIG_TYPE_SINGLES1_TOP
public static final int TRIG_TYPE_SINGLES1_BOT
public static final int TRIG_TYPE_PAIR0
public static final int TRIG_TYPE_PAIR1
private final List<SSPCluster> clusterList
private final List<SSPTrigger> triggerList
private final List<SSPPairTrigger> pairList
private final List<SSPCosmicTrigger> cosmicList
private final List<SSPSinglesTrigger> singlesList
private int eventNumber
private long triggerTime
public SSPData(int[] bank)
SSPData
object from a bank of
integer primitives defining an EVIO-encoded SSP trigger bank.bank
- - The EVIO bank from which to generate the object.public SSPData(org.lcsim.event.GenericObject sspData)
SSPData
object from an LCIO
GenericObject
object that contains an EVIO-encoded
bank of integer primitives which represent an SSP trigger bank.sspData
- - The GenericObject
containing the
integer bank from which to generate the object.public int getTag()
AbstractIntData
getTag
in class AbstractIntData
int
primitive.protected final void decodeData()
AbstractIntData
decodeData
in class AbstractIntData
public List<SSPCluster> getClusters()
List
collection
of SSPCluster
objects.public List<SSPCosmicTrigger> getCosmicTriggers()
List
collection
of SSPCosmicTrigger
objects.public List<SSPPairTrigger> getPairTriggers()
List
collection
of SSPPairTrigger
objects.public List<SSPSinglesTrigger> getSinglesTriggers()
List
collection
of SSPSinglesTrigger
objects.public long getTime()
long
.public int getEventNumber()
int
.Copyright © 2019. All rights reserved.