|
Class Reference for E1039 Core & Analysis Software
|
Calibration parameter for chamber X-T relation. More...
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/geom_svc/CalibParamXT.h>
Inheritance diagram for CalibParamXT:
Collaboration diagram for CalibParamXT:Classes | |
| struct | Set |
| A set of parameters for one detector (plane). More... | |
Public Member Functions | |
| CalibParamXT () | |
| virtual | ~CalibParamXT () |
| void | Add (const std::string det, const double t, const double x, const double dt, const double dx) |
| void | Add (const std::string det_name, const short det_id, const double t, const double x, const double dt, const double dx) |
| Set * | GetParam (const short det) |
Return a set of parameters for det. Return 0 if det is invalid. More... | |
| void | Print (std::ostream &os) |
Public Member Functions inherited from CalibParamBase | |
| CalibParamBase (const std::string label, const std::string header) | |
| virtual | ~CalibParamBase () |
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 RunParamBase | |
| typedef std::vector< std::string > | LineList |
Calibration parameter for chamber X-T relation.
The parameter 't' means the TDC time, where the meaning was changed from the drift time on 2022-01-28. This class carries the in-time range of the chambers, since the minimum and maximum of 't' are T1 and T0.
Definition at line 13 of file CalibParamXT.h.
| CalibParamXT::CalibParamXT | ( | ) |
Definition at line 33 of file CalibParamXT.cc.
|
virtual |
Definition at line 39 of file CalibParamXT.cc.
| void CalibParamXT::Add | ( | const std::string | det, |
| const double | t, | ||
| const double | x, | ||
| const double | dt, | ||
| const double | dx | ||
| ) |
The X-T curve of the prop tubes is given per plane pair in the TSV file (at present), namely P1H, P1V, P2V and P2H. Since CalibParamXT needs one X-T curve per plane, two X-T curves are being made from one input (ex. P1H1f & P1H1b from P1H). In the future, the X-T curve is expected to be given per plane, like the drift chamber.
Definition at line 111 of file CalibParamXT.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 CalibParamXT::Add | ( | const std::string | det_name, |
| const short | det_id, | ||
| const double | t, | ||
| const double | x, | ||
| const double | dt, | ||
| const double | dx | ||
| ) |
Definition at line 141 of file CalibParamXT.cc.
| CalibParamXT::Set * CalibParamXT::GetParam | ( | const short | det | ) |
Return a set of parameters for det. Return 0 if det is invalid.
Definition at line 157 of file CalibParamXT.cc.
Referenced by CalibDriftDistMod::process_event(), CalibDriftDist::process_event(), and SQChamberRealization::process_event().
Here is the caller graph for this function:
|
virtual |
Reimplemented from RunParamBase.
Definition at line 162 of file CalibParamXT.cc.
|
protectedvirtual |
Reimplemented from RunParamBase.
Definition at line 71 of file CalibParamXT.cc.
References Add(), RunParamBase::MapTableName(), and DbSvc::Process().
Here is the call graph for this function:
|
protectedvirtual |
Reimplemented from RunParamBase.
Definition at line 44 of file CalibParamXT.cc.
References Add().
Here is the call graph for this function:
|
protectedvirtual |
Reimplemented from RunParamBase.
Definition at line 88 of file CalibParamXT.cc.
References DbSvc::Con(), DbSvc::CreateTable(), and RunParamBase::MapTableName().
Here is the call graph for this function:
|
protectedvirtual |
Reimplemented from RunParamBase.
Definition at line 60 of file CalibParamXT.cc.