Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DecoParam.cc
Go to the documentation of this file.
1 #include <iostream>
2 #include <iomanip>
3 #include <sstream>
4 #include "DecoParam.h"
5 using namespace std;
6 
8  fn_in(""), dir_param(""), is_online(false), sampling(0), verbose(0), time_wait(0),
9  runID(0), spillID(0), spillID_cntr(0), spillID_slow(0),
10  targPos(0), targPos_slow(0), codaID(0), rocID(0), eventIDstd(0), hitID(0),
11  has_1st_bos(false), at_bos(false), turn_id_max(0)
12 {
13  ;
14 }
15 
17 {
18  //if (dir_param.length() == 0) {
19  // cout << "!!ERROR!! DecoParam::InitMapper(): dir_param is empty.\n";
20  // return 1;
21  //}
22  if (runID == 0) {
23  cout << "!!ERROR!! DecoParam::InitMapper(): runID = 0.\n";
24  return 1;
25  }
26 
33 
34  return 0;
35 }
36 
unsigned short int runID
Definition: DecoParam.h:32
ChanMapV1495 chan_map_v1495
Definition: DecoParam.h:26
ChanMapTaiwan chan_map_taiwan
Definition: DecoParam.h:25
void SetMapIDbyDB(const std::string map_id)
Definition: RunParamBase.cc:31
void ReadFromDB()
Definition: RunParamBase.cc:97
DecoParam()
Definition: DecoParam.cc:7
ChanMapScaler chan_map_scaler
Definition: DecoParam.h:27
int InitMapper()
Definition: DecoParam.cc:16