25 fBICPressures = AddTable(
"BIC Pressures",
"Pressures of BIC");
81 if (!OpenCalibFile(
"BICPressures", fin)) {
82 Error(
"ReadBICPressures()",
"Could not open file %s",
83 GetCalibFileName(
"BICPressures"));
86 Info(
"ReadBICPressures()",
"Reading BIC pressures parameters...");
99 Float_t pressure[3] = { 0, 0, 0 };
110 GetTable(
"BIC Pressures")->AddRecord(parset);
111 par_list->
Add(parset);
112 LinkListToRunRanges(par_list, rr_number, run_ranges);
114 for (
int zz = 0; zz < 3; zz++) pressure[zz] = 0.;
120 if (sscanf(sline.
Data(),
"Run Range : %u %u", &frun, &lrun) != 2) {
122 "Bad format in line :\n%s\nUnable to read run range values",
127 run_ranges[rr_number][0] = frun;
128 run_ranges[rr_number][1] = lrun;
131 Error(
"ReadBICPressures",
"Too many run ranges (>%d)",
141 GetTable(
"BIC Pressures")->AddRecord(parset);
142 par_list->
Add(parset);
143 LinkListToRunRanges(par_list, rr_number, run_ranges);
145 for (
int zz = 0; zz < 3; zz++) pressure[zz] = 0.;
159 read_pressure =
kTRUE;
161 if (chio ==
"BIC_1") pressure[0] = press.
Atof();
162 else if (chio ==
"BIC_2") pressure[1] = press.
Atof();
163 else if (chio ==
"BIC_3") pressure[2] = press.
Atof();
164 else read_pressure =
kFALSE;
#define MAX_NUM_RUN_RANGES
dimension of run_range arrays
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
Database entry for BIC (Blocking Ionisation Chamber) pressures (experiment E416A)
virtual ~KVINDRADB_e416a()
Destructor.
virtual void ReadBICPressures()
DataBase of parameters for an INDRA campaign.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
virtual void Add(TObject *obj)
virtual void Clear(Option_t *option="")
TObjArray * Tokenize(const TString &delim) const
Bool_t BeginsWith(const char *s, ECaseCompare cmp=kExact) const
const char * Data() const
std::istream & ReadLine(std::istream &str, Bool_t skipWhite=kTRUE)