KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Private Attributes | List of all members
KVINDRATriggerInfo Class Reference

Information on INDRA event from DAQ trigger.

Utility class, holds values of the STAT_EVE, R_DEC and CONFIG parameters in raw INDRA data which represent the status of the Selecteur for an event.

When reading raw data, the values of the three parameters are filled from the data event by event. For calibrated data, this information is accessible by using

 KVINDRAReconEvent::EventTrigger()

which returns a KVTriggerInfo object.

GetSTAT_EVE(), GetR_DEC(), GetCONFIG() : binary contents of each register

PHY_EVT(), MRQ(), GEN_ELEC(), GEN_TST(), GEN_LAS() : kTRUE/kFALSE depending on state of corresponding bit in STAT_EVE

IsGene() : kTRUE if any of the three GEN_xxx bits is set to 1

IsPhysics() : kTRUE if PHY_EVT bit = 1 and MRQ bit is not set*

(*because if MRQ=1 physical events cannot trigger the acquisition).

Definition at line 58 of file KVINDRATriggerInfo.h.

Public Member Functions

 KVINDRATriggerInfo ()
 Initialises number of bits (representation) for each register read from Selecteur. More...
 
virtual ~ KVINDRATriggerInfo ()
 
Bool_t GEN_ELEC ()
 
Bool_t GEN_LAS ()
 
Bool_t GEN_TST ()
 
Binary16_t GetCONFIG ()
 
Binary16_t GetR_DEC ()
 
Binary16_t GetSTAT_EVE ()
 _________ inline methodes _______________ More...
 
Bool_t IsGene ()
 
virtual Bool_t IsINDRAEvent ()
 
Bool_t IsLaser ()
 
Bool_t IsPhysics ()
 
Bool_t IsPulser ()
 
Bool_t IsTest ()
 
Bool_t MRQ ()
 
Bool_t PHY_EVT ()
 
void Print (Option_t *opt="")
 Print contents of trigger registers, in binary, hexadecimal and decoded forms. More...
 
void SetCONFIG (Binary16_t)
 
void SetR_DEC (Binary16_t)
 
void SetR_DEC_PAR (KVEBYEDAT_ACQParam *p)
 
void SetSTAT_EVE (Binary16_t)
 
void SetSTAT_EVE_PAR (KVEBYEDAT_ACQParam *p)
 
void SetVXCONFIG_PAR (KVEBYEDAT_ACQParam *p)
 

Private Attributes

Binary16_t fR_DEC
 value of register R_DEC for event More...
 
KVEBYEDAT_ACQParamfR_DEC_PAR
 R_DEC parameter read from raw data. More...
 
Binary16_t fSTAT_EVE
 value of register STAT_EVE for event More...
 
KVEBYEDAT_ACQParamfSTAT_EVE_PAR
 STAT_EVE parameter read from raw data. More...
 
Binary16_t fVXCONFIG
 value of register VXCONFIG for event More...
 
KVEBYEDAT_ACQParamfVXCONFIG_PAR
 VXCONFIG parameter read from raw data. More...
 

#include <KVINDRATriggerInfo.h>

Constructor & Destructor Documentation

◆ KVINDRATriggerInfo()

KVINDRATriggerInfo::KVINDRATriggerInfo ( )

Initialises number of bits (representation) for each register read from Selecteur.

Definition at line 29 of file KVINDRATriggerInfo.cpp.

◆ ~ KVINDRATriggerInfo()

virtual KVINDRATriggerInfo::~ KVINDRATriggerInfo ( )
inlinevirtual

Definition at line 70 of file KVINDRATriggerInfo.h.

Member Function Documentation

◆ GEN_ELEC()

Bool_t KVINDRATriggerInfo::GEN_ELEC ( )
inline

Definition at line 162 of file KVINDRATriggerInfo.h.

◆ GEN_LAS()

Bool_t KVINDRATriggerInfo::GEN_LAS ( )
inline

Definition at line 170 of file KVINDRATriggerInfo.h.

◆ GEN_TST()

Bool_t KVINDRATriggerInfo::GEN_TST ( )
inline

Definition at line 166 of file KVINDRATriggerInfo.h.

◆ GetCONFIG()

Binary16_t KVINDRATriggerInfo::GetCONFIG ( )
inline

Returns value of CONFIG read from raw data

Definition at line 147 of file KVINDRATriggerInfo.h.

◆ GetR_DEC()

Binary16_t KVINDRATriggerInfo::GetR_DEC ( )
inline

Returns value of R_DEC read from raw data

Definition at line 141 of file KVINDRATriggerInfo.h.

◆ GetSTAT_EVE()

Binary16_t KVINDRATriggerInfo::GetSTAT_EVE ( )
inline

_________ inline methodes _______________

Returns value of STAT_EVE read from raw data

Definition at line 135 of file KVINDRATriggerInfo.h.

◆ IsGene()

Bool_t KVINDRATriggerInfo::IsGene ( )
inline

Definition at line 99 of file KVINDRATriggerInfo.h.

◆ IsINDRAEvent()

virtual Bool_t KVINDRATriggerInfo::IsINDRAEvent ( )
inlinevirtual

Valid INDRA events have the acquisition parameter STAT_EVE present i.e. not equal to -1. Test this after reading a DAQ event to know if a valid INDRA event has been read.

Definition at line 121 of file KVINDRATriggerInfo.h.

◆ IsLaser()

Bool_t KVINDRATriggerInfo::IsLaser ( )
inline

Definition at line 113 of file KVINDRATriggerInfo.h.

◆ IsPhysics()

Bool_t KVINDRATriggerInfo::IsPhysics ( )
inline

Definition at line 95 of file KVINDRATriggerInfo.h.

◆ IsPulser()

Bool_t KVINDRATriggerInfo::IsPulser ( )
inline

Definition at line 109 of file KVINDRATriggerInfo.h.

◆ IsTest()

Bool_t KVINDRATriggerInfo::IsTest ( )
inline

Definition at line 117 of file KVINDRATriggerInfo.h.

◆ MRQ()

Bool_t KVINDRATriggerInfo::MRQ ( )
inline

Definition at line 158 of file KVINDRATriggerInfo.h.

◆ PHY_EVT()

Bool_t KVINDRATriggerInfo::PHY_EVT ( )
inline

Definition at line 154 of file KVINDRATriggerInfo.h.

◆ Print()

void KVINDRATriggerInfo::Print ( Option_t opt = "")

Print contents of trigger registers, in binary, hexadecimal and decoded forms.

Definition at line 43 of file KVINDRATriggerInfo.cpp.

◆ SetCONFIG()

void KVINDRATriggerInfo::SetCONFIG ( Binary16_t  b)
inline

Definition at line 182 of file KVINDRATriggerInfo.h.

◆ SetR_DEC()

void KVINDRATriggerInfo::SetR_DEC ( Binary16_t  b)
inline

Definition at line 178 of file KVINDRATriggerInfo.h.

◆ SetR_DEC_PAR()

void KVINDRATriggerInfo::SetR_DEC_PAR ( KVEBYEDAT_ACQParam p)
inline

Definition at line 78 of file KVINDRATriggerInfo.h.

◆ SetSTAT_EVE()

void KVINDRATriggerInfo::SetSTAT_EVE ( Binary16_t  b)
inline

Definition at line 174 of file KVINDRATriggerInfo.h.

◆ SetSTAT_EVE_PAR()

void KVINDRATriggerInfo::SetSTAT_EVE_PAR ( KVEBYEDAT_ACQParam p)
inline

Definition at line 74 of file KVINDRATriggerInfo.h.

◆ SetVXCONFIG_PAR()

void KVINDRATriggerInfo::SetVXCONFIG_PAR ( KVEBYEDAT_ACQParam p)
inline

Definition at line 82 of file KVINDRATriggerInfo.h.

Member Data Documentation

◆ fR_DEC

Binary16_t KVINDRATriggerInfo::fR_DEC
private

value of register R_DEC for event

Definition at line 61 of file KVINDRATriggerInfo.h.

◆ fR_DEC_PAR

KVEBYEDAT_ACQParam* KVINDRATriggerInfo::fR_DEC_PAR
private

R_DEC parameter read from raw data.

Definition at line 64 of file KVINDRATriggerInfo.h.

◆ fSTAT_EVE

Binary16_t KVINDRATriggerInfo::fSTAT_EVE
private

value of register STAT_EVE for event

Definition at line 60 of file KVINDRATriggerInfo.h.

◆ fSTAT_EVE_PAR

KVEBYEDAT_ACQParam* KVINDRATriggerInfo::fSTAT_EVE_PAR
private

STAT_EVE parameter read from raw data.

Definition at line 63 of file KVINDRATriggerInfo.h.

◆ fVXCONFIG

Binary16_t KVINDRATriggerInfo::fVXCONFIG
private

value of register VXCONFIG for event

Definition at line 62 of file KVINDRATriggerInfo.h.

◆ fVXCONFIG_PAR

KVEBYEDAT_ACQParam* KVINDRATriggerInfo::fVXCONFIG_PAR
private

VXCONFIG parameter read from raw data.

Definition at line 65 of file KVINDRATriggerInfo.h.


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