KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVINDRATriggerInfo Class Reference

Detailed Description

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 59 of file KVINDRATriggerInfo.h.

#include <KVINDRATriggerInfo.h>

Public Member Functions

 KVINDRATriggerInfo ()
 Initialises number of bits (representation) for each register read from Selecteur.
 
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 _______________
 
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.
 
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
 
KVEBYEDAT_ACQParamfR_DEC_PAR
 R_DEC parameter read from raw data.
 
Binary16_t fSTAT_EVE
 value of register STAT_EVE for event
 
KVEBYEDAT_ACQParamfSTAT_EVE_PAR
 STAT_EVE parameter read from raw data.
 
Binary16_t fVXCONFIG
 value of register VXCONFIG for event
 
KVEBYEDAT_ACQParamfVXCONFIG_PAR
 VXCONFIG parameter read from raw data.
 

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 71 of file KVINDRATriggerInfo.h.

Member Function Documentation

◆ GEN_ELEC()

Bool_t KVINDRATriggerInfo::GEN_ELEC ( )
inline

Definition at line 163 of file KVINDRATriggerInfo.h.

◆ GEN_LAS()

Bool_t KVINDRATriggerInfo::GEN_LAS ( )
inline

Definition at line 171 of file KVINDRATriggerInfo.h.

◆ GEN_TST()

Bool_t KVINDRATriggerInfo::GEN_TST ( )
inline

Definition at line 167 of file KVINDRATriggerInfo.h.

◆ GetCONFIG()

Binary16_t KVINDRATriggerInfo::GetCONFIG ( )
inline

Returns value of CONFIG read from raw data

Definition at line 148 of file KVINDRATriggerInfo.h.

◆ GetR_DEC()

Binary16_t KVINDRATriggerInfo::GetR_DEC ( )
inline

Returns value of R_DEC read from raw data

Definition at line 142 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 136 of file KVINDRATriggerInfo.h.

◆ IsGene()

Bool_t KVINDRATriggerInfo::IsGene ( )
inline

Definition at line 100 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 122 of file KVINDRATriggerInfo.h.

◆ IsLaser()

Bool_t KVINDRATriggerInfo::IsLaser ( )
inline

Definition at line 114 of file KVINDRATriggerInfo.h.

◆ IsPhysics()

Bool_t KVINDRATriggerInfo::IsPhysics ( )
inline

Definition at line 96 of file KVINDRATriggerInfo.h.

◆ IsPulser()

Bool_t KVINDRATriggerInfo::IsPulser ( )
inline

Definition at line 110 of file KVINDRATriggerInfo.h.

◆ IsTest()

Bool_t KVINDRATriggerInfo::IsTest ( )
inline

Definition at line 118 of file KVINDRATriggerInfo.h.

◆ MRQ()

Bool_t KVINDRATriggerInfo::MRQ ( )
inline

Definition at line 159 of file KVINDRATriggerInfo.h.

◆ PHY_EVT()

Bool_t KVINDRATriggerInfo::PHY_EVT ( )
inline

Definition at line 155 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 183 of file KVINDRATriggerInfo.h.

◆ SetR_DEC()

void KVINDRATriggerInfo::SetR_DEC ( Binary16_t  b)
inline

Definition at line 179 of file KVINDRATriggerInfo.h.

◆ SetR_DEC_PAR()

void KVINDRATriggerInfo::SetR_DEC_PAR ( KVEBYEDAT_ACQParam p)
inline

Definition at line 79 of file KVINDRATriggerInfo.h.

◆ SetSTAT_EVE()

void KVINDRATriggerInfo::SetSTAT_EVE ( Binary16_t  b)
inline

Definition at line 175 of file KVINDRATriggerInfo.h.

◆ SetSTAT_EVE_PAR()

void KVINDRATriggerInfo::SetSTAT_EVE_PAR ( KVEBYEDAT_ACQParam p)
inline

Definition at line 75 of file KVINDRATriggerInfo.h.

◆ SetVXCONFIG_PAR()

void KVINDRATriggerInfo::SetVXCONFIG_PAR ( KVEBYEDAT_ACQParam p)
inline

Definition at line 83 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 62 of file KVINDRATriggerInfo.h.

◆ fR_DEC_PAR

KVEBYEDAT_ACQParam* KVINDRATriggerInfo::fR_DEC_PAR
private

R_DEC parameter read from raw data.

Definition at line 65 of file KVINDRATriggerInfo.h.

◆ fSTAT_EVE

Binary16_t KVINDRATriggerInfo::fSTAT_EVE
private

value of register STAT_EVE for event

Definition at line 61 of file KVINDRATriggerInfo.h.

◆ fSTAT_EVE_PAR

KVEBYEDAT_ACQParam* KVINDRATriggerInfo::fSTAT_EVE_PAR
private

STAT_EVE parameter read from raw data.

Definition at line 64 of file KVINDRATriggerInfo.h.

◆ fVXCONFIG

Binary16_t KVINDRATriggerInfo::fVXCONFIG
private

value of register VXCONFIG for event

Definition at line 63 of file KVINDRATriggerInfo.h.

◆ fVXCONFIG_PAR

KVEBYEDAT_ACQParam* KVINDRATriggerInfo::fVXCONFIG_PAR
private

VXCONFIG parameter read from raw data.

Definition at line 66 of file KVINDRATriggerInfo.h.