StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
StTriggerSimuResult Class Reference
Inheritance diagram for StTriggerSimuResult:

Public Member Functions

unsigned int triggerId () const
 
StTriggerSimuDecision bbcDecision () const
 
StTriggerSimuDecision bemcDecision () const
 
StTriggerSimuDecision eemcDecision () const
 
StTriggerSimuDecision l2Decision () const
 
const vector< short > & highTowerIds () const
 
const vector< short > & triggerPatchIds () const
 
const vector< short > & jetPatchIds () const
 
int highTowerAdc (short towerId) const
 returns DSM ADC if above trigger threshold, otherwise -1
 
int triggerPatchAdc (short patchId) const
 returns DSM ADC if above trigger threshold, otherwise -1
 
int jetPatchAdc (short jetPatchId) const
 returns DSM ADC if above trigger threshold, otherwise -1
 
HttpResult httpPair (short towerId) const
 returns simple struct encapsulating (id,adc) of HT and TP pair
 
const unsigned int * l2Result (L2ResultType algo, int year=2006) const
 returns address of specific L2 result struct – cast it yourself More...
 
const unsigned int * l2Result () const
 
void setTriggerId (unsigned int)
 
void setBbcDecision (StTriggerSimuDecision)
 
void setBemcDecision (StTriggerSimuDecision)
 
void setEemcDecision (StTriggerSimuDecision)
 
void setL2Decision (StTriggerSimuDecision)
 
void addHighTower (int towerId, int dsmAdc)
 
void addTriggerPatch (int patchId, int dsmAdc)
 
void addJetPatch (int jetPatchId, int dsmAdc)
 
void addBarrelJetPatchAdc (int jp, int adc)
 
void addEndcapJetPatchAdc (int jp, int adc)
 
void addOverlapJetPatchAdc (int jp, int adc)
 
const map< int, int > & barrelJetPatches () const
 
const map< int, int > & endcapJetPatches () const
 
const map< int, int > & overlapJetPatches () const
 
void setL2Result (const unsigned int *result)
 

Detailed Description

Definition at line 48 of file StTriggerSimuResult.h.

Member Function Documentation

const unsigned int * StTriggerSimuResult::l2Result ( L2ResultType  algo,
int  year = 2006 
) const

returns address of specific L2 result struct – cast it yourself

returns address of a specific L2 result structure. These structures are documented at L2ped2006: StDaqLib/TRG/L2pedResults2006.h L2jet2006: StDaqLib/TRG/L2jetResults2006.h L2gamma2006: StDaqLib/TRG/L2gammaResult2006.h along with examples of how to unpack them

Definition at line 72 of file StTriggerSimuResult.cxx.

References l2Result().

Referenced by l2Result().


The documentation for this class was generated from the following files: