KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVINDRATriggerInfo.cpp
Go to the documentation of this file.
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 
24 
25 
26 
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 
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 
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
char Char_t
const char Option_t
Information on INDRA event from DAQ trigger.
void Print(Option_t *opt="")
Print contents of trigger registers, in binary, hexadecimal and decoded forms.