|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONCONDALG_CSCCONDDBALG_H
6 #define MUONCONDALG_CSCCONDDBALG_H
16 #include "GaudiKernel/ServiceHandle.h"
67 Gaudi::Property<bool>
m_isOnline{
this,
"isOnline",
false,
""};
68 Gaudi::Property<bool>
m_isData{
this,
"isData",
false,
""};
69 Gaudi::Property<bool>
m_isRun1{
this,
"isRun1",
false,
""};
78 "Key of input CSC condition data HV"};
80 "Key of input CSC condition data F001"};
82 "Key of input CSC condition data NOISE"};
84 "Key of input CSC condition data PEDESTALS"};
86 "Key of input CSC condition data PSLOPE"};
88 "Key of input CSC condition data RMS"};
90 "Key of input CSC condition data STATUS"};
92 "Key of input CSC condition data T0BASE"};
94 "Key of input CSC condition data T0PHASE"};
104 this,
"ReadPSlopeFromDatabase",
false,
105 "read the pslope parameter from the conditions database (if it is not the same value for all channels)"};
112 "in case someone comes up with a new default value for pslope in the future"};
117 std::istringstream iss(
data);
120 ATH_MSG_VERBOSE(
"Recorded token " << token <<
" for channelHash " << chanHash);
121 return StatusCode::SUCCESS;
char data[hepevt_bytes_allocation_ATLAS]
StatusCode recordParameterT0Phase(IdentifierHash, std::string, CscCondDbData *) const
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
StatusCode recordParameter(unsigned int, const std::string &, CscCondDbData *, const std::string &) const
StatusCode loadDataF001(writeHandle_t &, CscCondDbData *, const EventContext &) const
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_folder_da_t0base
Gaudi::Property< bool > m_isOnline
StatusCode recordParameterT0Base(IdentifierHash, std::string, CscCondDbData *) const
#define ATH_MSG_VERBOSE(x)
StatusCode recordParameterPed(IdentifierHash, std::string, CscCondDbData *) const
This class is a collection of AttributeLists where each one is associated with a channel number....
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_folder_da_ped
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_folder_da_hv
StatusCode loadDataPSlope(writeHandle_t &, CscCondDbData *, const EventContext &) const
Gaudi::Property< bool > m_onlineOfflinePhiFlip
An algorithm that can be simultaneously executed in multiple threads.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Gaudi::Property< float > m_pslope
CscCondDbAlg(const std::string &name, ISvcLocator *svc)
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_folder_da_noise
StatusCode recordParameterRMS(IdentifierHash, std::string, CscCondDbData *) const
Gaudi::Property< bool > m_isData
virtual ~CscCondDbAlg()=default
Gaudi::Property< bool > m_pslopeFromDB
The pslope is the gain of each CSC channel.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::WriteCondHandleKey< CscCondDbData > m_writeKey
StatusCode loadDataRMS(writeHandle_t &, CscCondDbData *, const EventContext &) const
StatusCode loadDataNoise(writeHandle_t &, CscCondDbData *, const EventContext &) const
StatusCode cache(const std::string &, CscCondDbData *, const std::string &) const
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_folder_da_pslope
AthROOTErrorHandlerSvc * svc
StatusCode cacheASM(const std::string &, CscCondDbData *, const std::string &) const
StatusCode loadDataStatus(writeHandle_t &, CscCondDbData *, const EventContext &) const
StatusCode loadDataPed(writeHandle_t &, CscCondDbData *, const EventContext &) const
StatusCode getParameter(IdentifierHash chanHash, std::string data, T &token) const
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_folder_da_f001
StatusCode loadData(CscCondDbData *, const CondAttrListCollection *, const std::string &, bool=false) const
Gaudi::Property< bool > m_isRun1
StatusCode loadDataHv(writeHandle_t &, CscCondDbData *, const EventContext &) const
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_folder_da_t0phase
StatusCode recordParameterF001(IdentifierHash, std::string, CscCondDbData *) const
StatusCode getAsmScope(int, int &, int &, int &, int &, int &) const
virtual StatusCode execute(const EventContext &) const override
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_folder_da_status
virtual bool isReEntrant() const override
virtual StatusCode initialize() override
StatusCode recordParameterNoise(IdentifierHash, std::string, CscCondDbData *) const
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_folder_da_rms
StatusCode recordParameterStatus(IdentifierHash, std::string, CscCondDbData *) const
const float m_DEFAULT_PSLOPE
The CSC gain was originally 5.304 ADC counts per fC, but later increased to 5.7 ADC counts per fC,...
StatusCode loadDataT0Phase(writeHandle_t &, CscCondDbData *, const EventContext &) const
Gaudi::Property< std::string > m_defaultDatabaseReadVersion
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
StatusCode recordParameterPSlope(IdentifierHash, std::string, CscCondDbData *) const
StatusCode loadDataT0Base(writeHandle_t &, CscCondDbData *, const EventContext &) const
SG::WriteCondHandle< CscCondDbData > writeHandle_t