KaliVeda
1.14/2
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVINDRATriggerInfo.cpp
1
/***************************************************************************
2
kvindratriggerinfo.cpp - description
3
-------------------
4
begin : 28 sep 2005
5
copyright : (C) 2005 jdf
6
email : frankland@ganil.fr
7
$Id: KVINDRATriggerInfo.cpp,v 1.5 2006/10/19 14:32:43 franklan Exp $
8
***************************************************************************/
9
10
/***************************************************************************
11
* *
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
16
* *
17
***************************************************************************/
18
#include "KVINDRATriggerInfo.h"
19
#include "Hexa_t.h"
20
21
using namespace
std;
22
23
ClassImp
(
KVINDRATriggerInfo
)
24
25
26
28
29
KVINDRATriggerInfo
::
KVINDRATriggerInfo
()
30
{
31
//Initialises number of bits (representation) for each register read from Selecteur
32
fSTAT_EVE.SetNBits(6);
33
fR_DEC.SetNBits(9);
34
fVXCONFIG.SetNBits(14);
35
fSTAT_EVE_PAR = fR_DEC_PAR = fVXCONFIG_PAR = 0;
36
};
37
38
39
42
43
void
KVINDRATriggerInfo::Print
(
Option_t
*)
44
{
45
//Print contents of trigger registers, in binary, hexadecimal and decoded forms
46
47
cout <<
"/************ KVINDRATriggerInfo ************/"
<< endl;
48
cout <<
" STAT_EVE = "
<< (
const
Char_t
*)
GetSTAT_EVE
().
Hexa
() <<
49
" / "
<< (
const
Char_t
*)
GetSTAT_EVE
() << endl;
50
cout <<
" R_DEC = "
<< (
const
Char_t
*)
GetR_DEC
().
Hexa
() <<
51
" / "
<< (
const
Char_t
*)
GetR_DEC
() << endl;
52
cout <<
" CONFIG = "
<< (
const
Char_t
*)
GetCONFIG
().
Hexa
() <<
53
" / "
<< (
const
Char_t
*)
GetCONFIG
() << endl;
54
cout <<
"/********************************************/"
<< endl;
55
cout <<
" IsPhysics()="
<<
IsPhysics
() <<
", IsGene()="
<<
IsGene
() <<
56
", MRQ="
<<
MRQ
() << endl;
57
cout <<
" PHY_EVT="
<<
PHY_EVT
() <<
" GEN_ELEC="
<<
GEN_ELEC
() <<
58
", GEN_TST="
<<
GEN_TST
() <<
", GEN_LAS="
<<
GEN_LAS
() << endl;
59
cout <<
"/********************************************/"
<< endl;
60
}
61
62
Char_t
char Char_t
Option_t
const char Option_t
Binary_t::Hexa
Hexa_t Hexa() const
Definition
Binary_t.h:533
KVINDRATriggerInfo
Information on INDRA event from DAQ trigger.
Definition
KVINDRATriggerInfo.h:59
KVINDRATriggerInfo::IsGene
Bool_t IsGene()
Definition
KVINDRATriggerInfo.h:100
KVINDRATriggerInfo::PHY_EVT
Bool_t PHY_EVT()
Definition
KVINDRATriggerInfo.h:155
KVINDRATriggerInfo::MRQ
Bool_t MRQ()
Definition
KVINDRATriggerInfo.h:159
KVINDRATriggerInfo::Print
void Print(Option_t *opt="")
Print contents of trigger registers, in binary, hexadecimal and decoded forms.
Definition
KVINDRATriggerInfo.cpp:43
KVINDRATriggerInfo::IsPhysics
Bool_t IsPhysics()
Definition
KVINDRATriggerInfo.h:96
KVINDRATriggerInfo::GetR_DEC
Binary16_t GetR_DEC()
Definition
KVINDRATriggerInfo.h:142
KVINDRATriggerInfo::GEN_TST
Bool_t GEN_TST()
Definition
KVINDRATriggerInfo.h:167
KVINDRATriggerInfo::GEN_ELEC
Bool_t GEN_ELEC()
Definition
KVINDRATriggerInfo.h:163
KVINDRATriggerInfo::GEN_LAS
Bool_t GEN_LAS()
Definition
KVINDRATriggerInfo.h:171
KVINDRATriggerInfo::GetCONFIG
Binary16_t GetCONFIG()
Definition
KVINDRATriggerInfo.h:148
KVINDRATriggerInfo::GetSTAT_EVE
Binary16_t GetSTAT_EVE()
_________ inline methodes _______________
Definition
KVINDRATriggerInfo.h:136
ClassImp
ClassImp(TPyArg)
kaliveda.doxygen
KVIndra
daq_cec
KVINDRATriggerInfo.cpp
Generated on Wed Oct 23 2024 12:45:19 for KaliVeda by
1.9.8