Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/geom_svc/CalibParamInTimeTaiwan.h>
Public Member Functions | |
CalibParamInTimeTaiwan () | |
virtual | ~CalibParamInTimeTaiwan () |
void | Add (const std::string det, const short ele, const double center, const double width) |
void | Add (const std::string det_name, const short det_id, const short ele, const double center, const double width) |
bool | Find (const short det, const short ele, double ¢er, double &width) |
void | Print (std::ostream &os) |
![]() | |
CalibParamBase (const std::string label, const std::string header) | |
virtual | ~CalibParamBase () |
![]() | |
RunParamBase (const std::string type, const std::string label, const std::string header) | |
virtual | ~RunParamBase () |
void | SetBaseDir (const std::string dir_base) |
std::string | GetBaseDir () |
std::string | GetParamID () |
std::string | GetMapID () |
void | SetMapID (const std::string map_id) |
void | SetMapIDbyFile (const std::string map_id) |
void | SetMapIDbyDB (const std::string map_id) |
void | SetMapIDbyFile (const int run) |
void | SetMapIDbyDB (const int run) |
void | ReadFromFile () |
void | WriteToFile () |
void | ReadFromLocalFile (const std::string fn_tsv) |
void | WriteToLocalFile (const std::string fn_tsv) |
void | ReadFromDB () |
void | WriteToDB () |
void | WriteRangeToDB () |
Protected Member Functions | |
int | ReadFileCont (LineList &lines) |
int | WriteFileCont (std::ostream &os) |
void | ReadDbTable (DbSvc &db) |
void | WriteDbTable (DbSvc &db) |
![]() | |
std::string | RangeFileName () |
std::string | MapFileName () |
std::string | SchemaName () |
std::string | MapTableName () |
Additional Inherited Members | |
![]() | |
typedef std::vector< std::string > | LineList |
Definition at line 5 of file CalibParamInTimeTaiwan.h.
CalibParamInTimeTaiwan::CalibParamInTimeTaiwan | ( | ) |
Definition at line 14 of file CalibParamInTimeTaiwan.cc.
|
inlinevirtual |
Definition at line 23 of file CalibParamInTimeTaiwan.h.
void CalibParamInTimeTaiwan::Add | ( | const std::string | det, |
const short | ele, | ||
const double | center, | ||
const double | width | ||
) |
Definition at line 87 of file CalibParamInTimeTaiwan.cc.
References GeomSvc::getDetectorID(), GeomSvc::instance(), and GeomSvc::toLocalDetectorName().
Referenced by ReadDbTable(), and ReadFileCont().
void CalibParamInTimeTaiwan::Add | ( | const std::string | det_name, |
const short | det_id, | ||
const short | ele, | ||
const double | center, | ||
const double | width | ||
) |
Definition at line 106 of file CalibParamInTimeTaiwan.cc.
bool CalibParamInTimeTaiwan::Find | ( | const short | det, |
const short | ele, | ||
double & | center, | ||
double & | width | ||
) |
Definition at line 120 of file CalibParamInTimeTaiwan.cc.
Referenced by CalibHodoInTime::process_event().
|
virtual |
Reimplemented from RunParamBase.
Definition at line 135 of file CalibParamInTimeTaiwan.cc.
|
protectedvirtual |
Reimplemented from RunParamBase.
Definition at line 48 of file CalibParamInTimeTaiwan.cc.
References Add(), RunParamBase::MapTableName(), and DbSvc::Process().
|
protectedvirtual |
Reimplemented from RunParamBase.
Definition at line 20 of file CalibParamInTimeTaiwan.cc.
References Add().
|
protectedvirtual |
Reimplemented from RunParamBase.
Definition at line 64 of file CalibParamInTimeTaiwan.cc.
References DbSvc::Con(), DbSvc::CreateTable(), and RunParamBase::MapTableName().
|
protectedvirtual |
Reimplemented from RunParamBase.
Definition at line 37 of file CalibParamInTimeTaiwan.cc.