|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef CalibT0DbOperations_h
6 #define CalibT0DbOperations_h
10 #include <GaudiKernel/ServiceHandle.h>
17 class ITableDataEditor;
22 class CalibDbConnection;
24 class NtupleStationId;
25 class MdtTubeFitContainer;
27 class IConditionsStorage;
43 const std::string &site_name);
57 const int ly,
const int ml2,
const MuonFixedId &fixId);
59 coral::ITableDataEditor &editor);
62 const std::vector<int> &validation_flag, coral::ITableDataEditor *editor[]);
64 coral::ITableDataEditor &editor);
67 const std::vector<int> &validflag);
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
bool insertTubes(const std::string &site_name, int head_id, const NtupleStationId &id, const MdtTubeFitContainer *t0, const std::vector< int > &validation_flag, coral::ITableDataEditor *editor[])
CalibDbConnection & m_db_conn
MdtTubeFitContainer * LoadT0Validation(const NtupleStationId &id, int head_id, std::string &site_name)
bool checkTubesPresent(const int head_id, const std::string &site_name, const NtupleStationId &id, const std::vector< int > &validflag)
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Class to provide easy MsgStream access and capabilities.
bool ReadForConditions(const std::string &site_name, int head_id, IConditionsStorage &storage)
bool setValidFlag(const std::string &site_name, const int head_id, const int tube_id, const int new_validflag, coral::ITableDataEditor &editor)
void initRowBuffer(std::vector< coral::AttributeList > &rowBuffer, const NtupleStationId &id, const int head_id, const std::string &site_name, const MdtTubeFitContainer *t0)
Holds single-tube full calibration information of one chamber.
bool WriteT0Chamber(const NtupleStationId &id, const MdtTubeFitContainer *t0, std::vector< int > &validation_flag, int head_id, const std::string &site_name)
bool setValidationFlag(const std::string &site_name, int head_id, const NtupleStationId &id, int from, int to, coral::ITableDataEditor &editor)
virtual ~CalibT0DbOperations()=default
CalibT0DbOperations(CalibDbConnection &db_conn)
void fillRowBuffer(std::vector< coral::AttributeList > &rowBuffer, const MdtTubeFitContainer *t0, const int ml1, const int ly, const int ml2, const MuonFixedId &fixId)
MdtStationT0Container * LoadT0Calibration(const NtupleStationId &id, int head_id, std::string &site_name)