ATLAS Offline Software
L1CaloReadoutConfigContainerJSON.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef TRIGT1CALOCALIBCONDITIONS_L1CALOREADOUTCONFIGCONTAINERJSON_H
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 #define TRIGT1CALOCALIBCONDITIONS_L1CALOREADOUTCONFIGCONTAINERJSON_H
7 
8 #include <map>
9 #include <string>
10 #include <vector>
11 #include "AthenaKernel/CLASS_DEF.h"
12 #include "GaudiKernel/DataObject.h"
16 #include "GaudiKernel/MsgStream.h"
18 
21 
22 /***
23 * Container of L1CaloReadoutConfig objects. Automatically created using:
24 *
25 * ../python/CreateClassesForFolder.py --db frontier://ATLF/();schema=ATLAS_COOLONL_TRIGGER;dbname=CONDBR2 /TRIGGER/L1Calo/V2/Configuration/ReadoutConfig
26 */
28 {
29 private:
31 public:
33  L1CaloReadoutConfigContainerJSON(const std::string& folderKey);
34  virtual ~L1CaloReadoutConfigContainerJSON() = default;
35 
36  // interface of AbstractL1CaloPersistentCondition
38  virtual void makeTransient(const std::map<std::string, const CondAttrListCollection*>&) override;
39  virtual DataObject* makePersistent() const override;
40  virtual void clear() override { m_readoutConfigsJSON.clear(); }
41 
42  // getters
43  const L1CaloReadoutConfigJSON* readoutConfigJSON(unsigned int channelId) const;
45  return readoutConfigJSON(channelId.id());
46  }
47 
48  using const_iterator = std::vector<L1CaloReadoutConfigJSON>::const_iterator;
49  const_iterator begin() const { return m_readoutConfigsJSON.begin(); }
50  const_iterator end() const { return m_readoutConfigsJSON.end(); }
51 
52  // setters
54 
55 private:
56  std::vector<L1CaloReadoutConfigJSON> m_readoutConfigsJSON;
57 };
58 
59 #include "AthenaKernel/CondCont.h"
61 
62 #endif // TRIGT1CALOCALIBCONDITIONS_L1CALOREADOUTCONFIGCONTAINERJSON_H
L1CaloCoolChannelId.h
L1CaloReadoutConfigContainerJSON::enumFexSlices
@ enumFexSlices
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyCpmRoi
@ elatencyCpmRoi
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::ebcOffsetTopo
@ ebcOffsetTopo
Definition: L1CaloReadoutConfigContainerJSON.h:38
CondCont.h
Hold mappings of ranges to condition objects.
L1CaloReadoutConfigContainerJSON::ecompressionThresholdCpJep
@ ecompressionThresholdCpJep
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::ereadoutOffsetPh1Topo
@ ereadoutOffsetPh1Topo
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::end
const_iterator end() const
Definition: L1CaloReadoutConfigContainerJSON.h:54
L1CaloReadoutConfigContainerJSON::readoutConfigJSON
const L1CaloReadoutConfigJSON * readoutConfigJSON(unsigned int channelId) const
Definition: L1CaloReadoutConfigContainerJSON.cxx:237
L1CaloReadoutConfigContainerJSON::elatencyJetCmxSystem
@ elatencyJetCmxSystem
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyEnergyCmxSystem
@ elatencyEnergyCmxSystem
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::makeTransient
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &) override
Definition: L1CaloReadoutConfigContainerJSON.cxx:153
L1CaloReadoutConfigContainerJSON::const_iterator
std::vector< L1CaloReadoutConfigJSON >::const_iterator const_iterator
Definition: L1CaloReadoutConfigContainerJSON.h:52
L1CaloReadoutConfigContainerJSON::el1aTopoSlice
@ el1aTopoSlice
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyEnergyCmxRoi
@ elatencyEnergyCmxRoi
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyJetCmxBackplane
@ elatencyJetCmxBackplane
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::eformatTypePpm
@ eformatTypePpm
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::einternalLatencyJemSum
@ einternalLatencyJemSum
Definition: L1CaloReadoutConfigContainerJSON.h:38
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number....
Definition: CondAttrListCollection.h:52
L1CaloReadoutConfigContainerJSON::makePersistent
virtual DataObject * makePersistent() const override
Definition: L1CaloReadoutConfigContainerJSON.cxx:83
L1CaloReadoutConfigContainerJSON::ereadoutOffsetEfex
@ ereadoutOffsetEfex
Definition: L1CaloReadoutConfigContainerJSON.h:38
AbstractL1CaloPersistentCondition.h
L1CaloReadoutConfigContainerJSON::ecompressionThresholdPpm
@ ecompressionThresholdPpm
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigJSON.h
AthAlgorithm.h
L1CaloReadoutConfigContainerJSON::ereadoutOffsetJfex
@ ereadoutOffsetJfex
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::ereadout80ModePpm
@ ereadout80ModePpm
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyCpCmxLocal
@ elatencyCpCmxLocal
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyEnergyCmxInfo
@ elatencyEnergyCmxInfo
Definition: L1CaloReadoutConfigContainerJSON.h:38
CONDCONT_DEF
CONDCONT_DEF(L1CaloReadoutConfigContainerJSON, 1337315229)
L1CaloReadoutConfigContainerJSON::elatencyCpCmxInfo
@ elatencyCpCmxInfo
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::ebcOffsetJemSum
@ ebcOffsetJemSum
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::addReadoutConfigJSON
void addReadoutConfigJSON(const L1CaloReadoutConfigJSON &readoutConfigJSON)
Definition: L1CaloReadoutConfigContainerJSON.cxx:249
L1CaloReadoutConfigContainerJSON::elatencyCpmInput
@ elatencyCpmInput
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::ebcOffsetJemJet
@ ebcOffsetJemJet
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::ecompressionThresholdTopo
@ ecompressionThresholdTopo
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::eformatTypeCpJep
@ eformatTypeCpJep
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyCpCmxCable
@ elatencyCpCmxCable
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyCpCmxSystem
@ elatencyCpCmxSystem
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyJetCmxCable
@ elatencyJetCmxCable
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::L1CaloReadoutConfigContainerJSON
L1CaloReadoutConfigContainerJSON()
Definition: L1CaloReadoutConfigContainerJSON.cxx:19
L1CaloReadoutConfigContainerJSON::elatencyJemInput
@ elatencyJemInput
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyPpmFadc
@ elatencyPpmFadc
Definition: L1CaloReadoutConfigContainerJSON.h:38
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
L1CaloReadoutConfigContainerJSON::enumLutSlices
@ enumLutSlices
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::clear
virtual void clear() override
Definition: L1CaloReadoutConfigContainerJSON.h:44
L1CaloReadoutConfigContainerJSON::elatencyJetCmxInfo
@ elatencyJetCmxInfo
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::ereadoutOffsetGfex
@ ereadoutOffsetGfex
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyTopo
@ elatencyTopo
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::einternalLatencyJemJet
@ einternalLatencyJemJet
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON
Definition: L1CaloReadoutConfigContainerJSON.h:28
L1CaloReadoutConfigContainerJSON::enumProcSlices
@ enumProcSlices
Definition: L1CaloReadoutConfigContainerJSON.h:38
AbstractL1CaloPersistentCondition::makeTransient
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
Definition: AbstractL1CaloPersistentCondition.cxx:16
L1CaloReadoutConfigContainerJSON::el1aFexSlice
@ el1aFexSlice
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::~L1CaloReadoutConfigContainerJSON
virtual ~L1CaloReadoutConfigContainerJSON()=default
L1CaloReadoutConfigContainerJSON::el1aProcSlice
@ el1aProcSlice
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::el1aLutSlice
@ el1aLutSlice
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloCoolChannelId
Definition: L1CaloCoolChannelId.h:10
L1CaloReadoutConfigContainerJSON::eAttrSpecification
eAttrSpecification
Definition: L1CaloReadoutConfigContainerJSON.h:34
L1CaloReadoutConfigContainerJSON::elatencyJetCmxRoi
@ elatencyJetCmxRoi
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::einputReadoutModeFex
@ einputReadoutModeFex
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyJemRoi
@ elatencyJemRoi
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigJSON
Folder <-> Object mapping for /TRIGGER/L1Calo/V2/Configuration/ReadoutConfigJSON .
Definition: L1CaloReadoutConfigJSON.h:13
L1CaloReadoutConfigContainerJSON::elatencyJetCmxLocal
@ elatencyJetCmxLocal
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::eformatTypeTopo
@ eformatTypeTopo
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyPpmLut
@ elatencyPpmLut
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::ebcOffsetCmx
@ ebcOffsetCmx
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::begin
const_iterator begin() const
Definition: L1CaloReadoutConfigContainerJSON.h:53
L1CaloReadoutConfigContainerJSON::elatencyEnergyCmxLocal
@ elatencyEnergyCmxLocal
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::ecompressionBaselinePpm
@ ecompressionBaselinePpm
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::ebaselinePointer
@ ebaselinePointer
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::m_readoutConfigsJSON
std::vector< L1CaloReadoutConfigJSON > m_readoutConfigsJSON
Definition: L1CaloReadoutConfigContainerJSON.h:60
L1CaloReadoutConfigContainerJSON::elatencyCpmHits
@ elatencyCpmHits
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::enumFadcSlices
@ enumFadcSlices
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::el1aFadcSlice
@ el1aFadcSlice
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyCpCmxBackplane
@ elatencyCpCmxBackplane
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::enumTopoSlices
@ enumTopoSlices
Definition: L1CaloReadoutConfigContainerJSON.h:38
CLASS_DEF.h
macros to associate a CLID to a type
AbstractL1CaloPersistentCondition
AbstractL1CaloConditionContainer abstract base class for L1Calo persistent conditions container objec...
Definition: AbstractL1CaloPersistentCondition.h:22
L1CaloReadoutConfigContainerJSON::elatencyEnergyCmxCable
@ elatencyEnergyCmxCable
Definition: L1CaloReadoutConfigContainerJSON.h:38
L1CaloReadoutConfigContainerJSON::elatencyEnergyCmxBackplane
@ elatencyEnergyCmxBackplane
Definition: L1CaloReadoutConfigContainerJSON.h:38