ATLAS Offline Software
MuonSpectrometer
MuonCalib
MuonCalibDbOperations
MuonCalibDbOperations
IConditionsStorage.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MuonCalib__IConditionStorage_h
6
#define MuonCalib__IConditionStorage_h
7
8
// c - c++
9
#include "map"
10
#include "string"
11
#include "vector"
12
13
namespace
coral
{
14
class
AttributeList
;
15
}
16
17
namespace
MuonCalib
{
18
19
class
SamplePoint;
20
21
class
IConditionsStorage
{
22
public
:
23
class
TubeId
{
24
public
:
25
int
ml
,
ly
,
tb
;
26
TubeId
(
int
id_num);
27
inline
TubeId
() :
ml
(0),
ly
(0),
tb
(0) {}
28
bool
operator<
(
const
TubeId
&
other
)
const
;
29
bool
operator>
(
const
TubeId
&
other
)
const
;
30
};
31
inline
IConditionsStorage
() {}
32
inline
virtual
~IConditionsStorage
() {}
33
// request rows from MDT_TUBE table
34
inline
virtual
const
std::vector<std::string> &
RowsFromMdtTubeTable
()
const
{
return
m_empty
; }
35
// request rows from MDT_TUBE_V table
36
inline
virtual
const
std::vector<std::string> &
RowsFromMdtTubeVTable
()
const
{
return
m_empty
; }
37
// request rows from MDT_TUBE_C table
38
inline
virtual
const
std::vector<std::string> &
RowsFromMdtTubeCTable
()
const
{
return
m_empty
; }
39
40
// call back function for every t0 chamber
41
virtual
bool
StoreT0Chamber
(
const
int
&
chamber
,
const
std::map<TubeId, coral::AttributeList> &
rows
) = 0;
42
// call back for rt
43
virtual
bool
StoreRtChamber
(
const
int
&
chamber
,
const
std::map<int, SamplePoint> &
points
) = 0;
44
45
private
:
46
std::vector<std::string>
m_empty
;
47
};
48
49
}
// namespace MuonCalib
50
51
#endif
MuonCalib::IConditionsStorage::IConditionsStorage
IConditionsStorage()
Definition:
IConditionsStorage.h:31
MuonCalib::IConditionsStorage::TubeId::ml
int ml
Definition:
IConditionsStorage.h:25
MuonCalib::IConditionsStorage::RowsFromMdtTubeVTable
virtual const std::vector< std::string > & RowsFromMdtTubeVTable() const
Definition:
IConditionsStorage.h:36
calibdata.chamber
chamber
Definition:
calibdata.py:32
MuonCalib::IConditionsStorage::TubeId::TubeId
TubeId()
Definition:
IConditionsStorage.h:27
MuonCalib::IConditionsStorage::TubeId
Definition:
IConditionsStorage.h:23
python.PyKernel.AttributeList
AttributeList
Definition:
PyKernel.py:36
MuonCalib::IConditionsStorage::RowsFromMdtTubeTable
virtual const std::vector< std::string > & RowsFromMdtTubeTable() const
Definition:
IConditionsStorage.h:34
coral
Definition:
ISecondaryEventSelector.h:19
MuonCalib::IConditionsStorage
Definition:
IConditionsStorage.h:21
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition:
CscCalcPed.cxx:22
beamspotnt.rows
list rows
Definition:
bin/beamspotnt.py:1112
MuonCalib::IConditionsStorage::StoreRtChamber
virtual bool StoreRtChamber(const int &chamber, const std::map< int, SamplePoint > &points)=0
MuonCalib::IConditionsStorage::RowsFromMdtTubeCTable
virtual const std::vector< std::string > & RowsFromMdtTubeCTable() const
Definition:
IConditionsStorage.h:38
MuonCalib::IConditionsStorage::StoreT0Chamber
virtual bool StoreT0Chamber(const int &chamber, const std::map< TubeId, coral::AttributeList > &rows)=0
MuonCalib::IConditionsStorage::~IConditionsStorage
virtual ~IConditionsStorage()
Definition:
IConditionsStorage.h:32
InDetDD::other
@ other
Definition:
InDetDD_Defs.h:16
MuonCalib::IConditionsStorage::TubeId::operator>
bool operator>(const TubeId &other) const
Definition:
IConditionsStorage.cxx:28
MuonCalib::IConditionsStorage::TubeId::ly
int ly
Definition:
IConditionsStorage.h:25
MuonCalib::IConditionsStorage::m_empty
std::vector< std::string > m_empty
Definition:
IConditionsStorage.h:46
MuonCalib::IConditionsStorage::TubeId::tb
int tb
Definition:
IConditionsStorage.h:25
jobOptions.points
points
Definition:
jobOptions.GenevaPy8_Zmumu.py:97
MuonCalib::IConditionsStorage::TubeId::operator<
bool operator<(const TubeId &other) const
Definition:
IConditionsStorage.cxx:19
Generated on Thu Nov 7 2024 21:16:32 for ATLAS Offline Software by
1.8.18