StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
StPicoEmcTrigger Class Reference

Holds EMC trigger information. More...

#include <StPicoEmcTrigger.h>

Inheritance diagram for StPicoEmcTrigger:

Public Member Functions

 StPicoEmcTrigger ()
 Default constructor.
 
 StPicoEmcTrigger (Int_t flag, Int_t id, Int_t adc)
 Constructor that takes values.
 
 StPicoEmcTrigger (Int_t flag, Int_t id, Int_t adc, std::vector< unsigned short > smdE, std::vector< unsigned short > smdP)
 Constructor that takes values with SMD.
 
 StPicoEmcTrigger (const StPicoEmcTrigger &trigger)
 Copy constructor.
 
virtual ~StPicoEmcTrigger ()
 Destructor.
 
virtual void Print (const Char_t *option="") const
 Print EMC trigger information.
 
UInt_t flag () const
 
Int_t id () const
 Return ID: bjp: 1-18, ht: 1-4800.
 
Int_t adc () const
 Return ADC.
 
Int_t numberOfSmdEHits () const
 Return number of associated BEmc SMD Eta hits.
 
Int_t numberOfSmdPHits () const
 Return number of associated BEmc SMD Phi hits.
 
Int_t smdEIndex (Int_t i) const
 Return i-th BEmc SMDE hit index. -1 = no entries, -2 = out of range.
 
Int_t smdPIndex (Int_t i) const
 Return i-th BEmc SMDP hit index. -1 = no entries, -2 = out of range.
 
bool isHT0 () const
 Check if the trigger is HT0.
 
bool isHT1 () const
 Check if the trigger is HT1.
 
bool isHT2 () const
 Check if the trigger is HT2.
 
bool isHT3 () const
 Check if the trigger is HT3.
 
bool isJP0 () const
 Check if the trigger is JP0.
 
bool isJP1 () const
 Check if the trigger is JP1.
 
bool isJP2 () const
 Check if the trigger is JP2.
 
void setFlag (Int_t flag)
 Set trigger flag.
 
void setId (Int_t id)
 Set ID.
 
void setAdc (Int_t adc)
 Set ADC.
 

Protected Attributes

UChar_t mFlag
 
UShort_t mId
 SoftId. bjp: 1-18, ht: 1-4800.
 
UShort_t mAdc
 ADC.
 
std::vector< unsigned short > mSmdE
 Vector of associated BEmc SMD Eta hit indices.
 
std::vector< unsigned short > mSmdP
 Vector of associated BEmc SMD Phi hit indices.
 

Detailed Description

Holds EMC trigger information.

Holds EMC trigger information

Definition at line 18 of file StPicoEmcTrigger.h.

Member Function Documentation

UInt_t StPicoEmcTrigger::flag ( ) const
inline

Return flag: 0x1: ht0, 0x2: ht1, 0x4: ht2; 0x8: ht3 0x10: jp0, 0x20: jp1, 0x40: jp2

Definition at line 41 of file StPicoEmcTrigger.h.

References mFlag.

Member Data Documentation

UChar_t StPicoEmcTrigger::mFlag
protected

Flag encdoes next triggers: 0x1: ht0, 0x2: ht1, 0x4: ht2; 0x8: ht3 0x10: jp0, 0x20: jp1, 0x40: jp2

Definition at line 86 of file StPicoEmcTrigger.h.

Referenced by flag(), isHT0(), isHT1(), isHT2(), isHT3(), isJP0(), isJP1(), isJP2(), Print(), setFlag(), and StPicoEmcTrigger().


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