KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVINDRACodes.h
1
3
4#ifndef __KVINDRACODES__
5#define __KVINDRACODES__
6
7#include "TObject.h"
8#include "KVINDRACodeMask.h"
9
43
44 friend class KVINDRAReconNuc;
45
46private:
47 static Char_t fCodeGenIdent[14][120];
48 static Char_t fCodeGenCalib[8][120];
49 static UChar_t fIDCodes[14];
50 static UChar_t fECodes[8];
51 static UShort_t fIDBits[16];
52 static UChar_t fEBits[16];
53
54public:
55
56 enum {
57 kIsoRes = BIT(14) //isotopic resolution achieved i.e. mass was measured
58 };
59
61 virtual ~ KVINDRACodes() {}
62 const Char_t* GetIDStatus();
63 const Char_t* GetEStatus();
64
65 static UShort_t VedaIDCodeToBitmask(UChar_t veda_id_code);
66 static UChar_t VedaECodeToBitmask(UChar_t veda_e_code);
67
75 void SetIDCode(UShort_t);
76 void SetECode(UChar_t);
77
79 void Clear(Option_t* opt = "");
80
81 ClassDef(KVINDRACodes, 3) //Particle identification and calibration status (Veda6)
82};
83
84#endif
unsigned short UShort_t
unsigned char UChar_t
char Char_t
const char Option_t
#define BIT(n)
ClassDef(KVINDRACodeMask, 1)
Identification code structure for INDRA data (obsolete)
static Char_t fCodeGenCalib[8][120]
static UChar_t VedaECodeToBitmask(UChar_t veda_e_code)
const Char_t * GetEStatus()
Give an explanation for the calibration code.
void SetIDCode(UShort_t)
Set ID code - the argument given is one of the EVedaCodes or EIDCodes bitmasks.
UChar_t GetECode()
Returns energy calibration code in the form of EVedaCodes or EIDCodes bitmask.
static Char_t fCodeGenIdent[14][120]
UChar_t GetVedaECode()
Returns VEDA6 energy calibration code.
UChar_t GetVedaIDCode()
Returns VEDA6 identification code.
void SetVedaECode(UChar_t)
Set E code - the argument given is the old VEDA6 code number.
static UShort_t fIDBits[16]
static UChar_t fEBits[16]
UChar_t GetCodeIndex(UShort_t)
void Clear(Option_t *opt="")
resets all id subcodes.
const Char_t * GetIDStatus()
Give an explanation for the ID code.
static UChar_t fECodes[8]
static UChar_t fIDCodes[14]
void SetECode(UChar_t)
Set E code - the argument given is one of the EVedaCodes or EIDCodes bitmasks.
static UShort_t VedaIDCodeToBitmask(UChar_t veda_id_code)
UShort_t GetIDCode()
Returns identification code in the form of EVedaCodes or EIDCodes bitmask.
void SetVedaIDCode(UChar_t)
Set ID code - the argument given is the old VEDA6 code number.
Nuclei reconstructed from data measured in the INDRA array.