|
Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/geom_svc/ChanMapV1495.h>
Inheritance diagram for ChanMapV1495:
Collaboration diagram for ChanMapV1495:Public Member Functions | |
| ChanMapV1495 () | |
| virtual | ~ChanMapV1495 () |
| void | Add (const short roc, const int board, const short chan, const std::string det, const short ele, const short lvl) |
| void | Add (const short roc, const int board, const short chan, const std::string det_name, const short det_id, const short ele, const short lvl) |
| bool | Find (const short roc, const int board, const short chan, short &det, short &ele, short &lvl) |
| void | Print (std::ostream &os) |
Public Member Functions inherited from ChanMapBase | |
| ChanMapBase (const std::string label, const std::string header) | |
| virtual | ~ChanMapBase () |
Public Member Functions inherited from RunParamBase | |
| 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) |
Protected Member Functions inherited from RunParamBase | |
| std::string | RangeFileName () |
| std::string | MapFileName () |
| std::string | SchemaName () |
| std::string | MapTableName () |
Additional Inherited Members | |
Protected Types inherited from ChanMapBase | |
| typedef std::tuple< short, short, short > | RocBoardChan_t |
Protected Types inherited from RunParamBase | |
| typedef std::vector< std::string > | LineList |
Definition at line 6 of file ChanMapV1495.h.
| ChanMapV1495::ChanMapV1495 | ( | ) |
Definition at line 13 of file ChanMapV1495.cc.
|
inlinevirtual |
Definition at line 25 of file ChanMapV1495.h.
| void ChanMapV1495::Add | ( | const short | roc, |
| const int | board, | ||
| const short | chan, | ||
| const std::string | det, | ||
| const short | ele, | ||
| const short | lvl | ||
| ) |
todo: The "STOP" and "L1PX*" detectors should be handled by GeomSvc properly.
Definition at line 91 of file ChanMapV1495.cc.
References GeomSvc::getDetectorID(), GeomSvc::instance(), and GeomSvc::toLocalDetectorName().
Referenced by ReadDbTable(), and ReadFileCont().
Here is the call graph for this function:
Here is the caller graph for this function:| void ChanMapV1495::Add | ( | const short | roc, |
| const int | board, | ||
| const short | chan, | ||
| const std::string | det_name, | ||
| const short | det_id, | ||
| const short | ele, | ||
| const short | lvl | ||
| ) |
Definition at line 118 of file ChanMapV1495.cc.
| bool ChanMapV1495::Find | ( | const short | roc, |
| const int | board, | ||
| const short | chan, | ||
| short & | det, | ||
| short & | ele, | ||
| short & | lvl | ||
| ) |
Definition at line 149 of file ChanMapV1495.cc.
|
virtual |
Reimplemented from RunParamBase.
Definition at line 164 of file ChanMapV1495.cc.
|
protectedvirtual |
Reimplemented from RunParamBase.
Definition at line 47 of file ChanMapV1495.cc.
References Add(), RunParamBase::MapTableName(), and DbSvc::Process().
Here is the call graph for this function:
|
protectedvirtual |
Reimplemented from RunParamBase.
Definition at line 19 of file ChanMapV1495.cc.
References Add().
Here is the call graph for this function:
|
protectedvirtual |
Reimplemented from RunParamBase.
Definition at line 65 of file ChanMapV1495.cc.
References DbSvc::Con(), DbSvc::CreateTable(), and RunParamBase::MapTableName().
Here is the call graph for this function:
|
protectedvirtual |
Reimplemented from RunParamBase.
Definition at line 36 of file ChanMapV1495.cc.