////////////////////////////////////////////////////////////////// // A standard class. ////////////////////////////////////////////////////////////////// #include "BeamData.h" #include #include #include #include #include #include #include #include const TString dbdir = getenv("OABEAMDATAROOT") + TString("/") + getenv("ENV_BSD_SPD"); const TString version = getenv("ENV_BSD_VER"); const TString datadir = getenv("OABEAMDATAROOT") + TString("/") + getenv("ENV_BSD_BSD"); COMET::IRawBeamData::IRawBeamData(){ BeamData& beam = BeamData::instance(); /* //TString dbdir("./spilldb"); TString dbdir("/Users/yano/T2K/beam_access_lib/spilldb"); TString version("p02"); //TString datadir("/t2k/data/exp/beam/exp/beam_summary"); TString datadir("/Users/yano/T2K/beam_summary/"); */ beam.init_db( dbdir, version, datadir ); } COMET::IRawBeamData::~IRawBeamData(){ // std::cout<<"Deconstruct"<