ATLAS Offline Software
Trigger
TrigT1
TrigT1CaloCalibConditions
TrigT1CaloCalibConditions
L1CaloPprChanExtraContainer.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCHANCALIBCONTAINER_H
8
#define TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCHANCALIBCONTAINER_H
9
10
#include <map>
11
#include <string>
12
#include <vector>
13
#include "
AthenaKernel/CLASS_DEF.h
"
14
#include "GaudiKernel/DataObject.h"
15
#include "
TrigT1CaloCalibConditions/AbstractL1CaloPersistentCondition.h
"
16
#include "
TrigT1CaloCalibConditions/L1CaloCoolChannelId.h
"
17
#include "
TrigT1CaloCalibConditions/L1CaloPprChanExtra.h
"
18
19
class
CondAttrListCollection
;
20
21
/***
22
* Container of L1CaloPprChanCalib objects. Automatically created using:
23
*
24
* python/CreateClassesForFolder.py --db frontier://ATLF/();schema=ATLAS_COOLONL_TRIGGER;dbname=CONDBR2 --exclude ModuleId,PprDacScanResultsTimeStamp,PprPedestalRunResultsTimeStamp,PprNoiseRunResultsTimeStamp,PprTimingResultsTimeStamp,PprSatBcidResultsTimeStamp,PprFirFilterResultsTimeStamp,PprLutValuesResultsTimeStamp,DacOffset,DacSlope,FullDelayData,SyncDelayBcid,InBcidNegedge,rateCpEtThresh,rateJepEtThresh /TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib
25
*/
26
class
L1CaloPprChanExtraContainer
:
public
DataObject,
virtual
public
AbstractL1CaloPersistentCondition
27
{
28
private
:
29
enum
eAttrSpecification
{
eChannelId
,
eErrorCode
,
ePedCorrEnable
,
eSat80BcidThreshHigh
,
eSat80BcidThreshLow
,
eThreshNumSamplesPeak
,
eThreshNumSamplesSat
,
eSatOverride1
,
eSatOverride2
,
eSatOverride3
,
eLutCpPar5
,
eLutCpPar6
,
eLutCpPar7
,
eLutJepPar5
,
eLutJepPar6
,
eLutJepPar7
};
30
public
:
31
L1CaloPprChanExtraContainer
();
32
L1CaloPprChanExtraContainer
(
const
std::string& folderKey);
33
virtual
~L1CaloPprChanExtraContainer
() {}
34
35
// interface of AbstractL1CaloPersistentCondition
36
using
AbstractL1CaloPersistentCondition::makeTransient
;
37
virtual
void
makeTransient
(
const
std::map<std::string, const CondAttrListCollection*>&);
38
virtual
DataObject*
makePersistent
()
const
;
39
virtual
std::vector<std::string>
coolInputKeys
()
const
{
return
{
m_coolFolderKey
}; }
40
virtual
std::string
coolOutputKey
()
const
{
return
m_coolFolderKey
; }
41
virtual
void
clear
() {
m_pprChanExtras
.clear(); }
42
43
// getters
44
const
L1CaloPprChanExtra
*
pprChanExtra
(
unsigned
int
channelId
)
const
;
45
const
L1CaloPprChanExtra
*
pprChanExtra
(
const
L1CaloCoolChannelId
&
channelId
)
const
{
46
return
pprChanExtra
(
channelId
.id());
47
}
48
49
using
iterator
=
std::vector<L1CaloPprChanExtra>::iterator
;
50
iterator
begin
() {
return
m_pprChanExtras
.begin(); }
51
iterator
end
() {
return
m_pprChanExtras
.end(); }
52
using
const_iterator
= std::vector<L1CaloPprChanExtra>::const_iterator;
53
const_iterator
begin
()
const
{
return
m_pprChanExtras
.begin(); }
54
const_iterator
end
()
const
{
return
m_pprChanExtras
.end(); }
55
56
// setters
57
void
addPprChanExtra
(
const
L1CaloPprChanExtra
&
pprChanExtra
);
58
59
private
:
60
std::vector<L1CaloPprChanExtra>
m_pprChanExtras
;
61
std::string
m_coolFolderKey
=
"/TRIGGER/L1Calo/V2/Calibration/Physics/PprChanExtra"
;
62
};
63
64
CLASS_DEF
(
L1CaloPprChanExtraContainer
, 1262985908, 1 )
65
66
#endif // TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCHANCALIBCONTAINER_H
xAOD::iterator
JetConstituentVector::iterator iterator
Definition:
JetConstituentVector.cxx:68
L1CaloPprChanExtraContainer::iterator
std::vector< L1CaloPprChanExtra >::iterator iterator
Definition:
L1CaloPprChanExtraContainer.h:53
L1CaloCoolChannelId.h
L1CaloPprChanExtraContainer::eSatOverride2
@ eSatOverride2
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::eLutJepPar5
@ eLutJepPar5
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::clear
virtual void clear()
Definition:
L1CaloPprChanExtraContainer.h:45
L1CaloPprChanExtraContainer::eLutCpPar7
@ eLutCpPar7
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::eThreshNumSamplesPeak
@ eThreshNumSamplesPeak
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::m_pprChanExtras
std::vector< L1CaloPprChanExtra > m_pprChanExtras
Definition:
L1CaloPprChanExtraContainer.h:64
L1CaloPprChanExtraContainer::eErrorCode
@ eErrorCode
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::eLutJepPar7
@ eLutJepPar7
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::coolOutputKey
virtual std::string coolOutputKey() const
Definition:
L1CaloPprChanExtraContainer.h:44
L1CaloPprChanExtraContainer::addPprChanExtra
void addPprChanExtra(const L1CaloPprChanExtra &pprChanExtra)
Definition:
L1CaloPprChanExtraContainer.cxx:121
L1CaloPprChanExtra
Folder <-> Object mapping for /TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib .
Definition:
L1CaloPprChanExtra.h:17
L1CaloPprChanExtraContainer::eSatOverride1
@ eSatOverride1
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::eChannelId
@ eChannelId
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::end
iterator end()
Definition:
L1CaloPprChanExtraContainer.h:55
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number....
Definition:
CondAttrListCollection.h:52
L1CaloPprChanExtraContainer::ePedCorrEnable
@ ePedCorrEnable
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::m_coolFolderKey
std::string m_coolFolderKey
Definition:
L1CaloPprChanExtraContainer.h:65
AbstractL1CaloPersistentCondition.h
L1CaloPprChanExtra.h
L1CaloPprChanExtraContainer::eLutCpPar6
@ eLutCpPar6
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::eSat80BcidThreshLow
@ eSat80BcidThreshLow
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::const_iterator
std::vector< L1CaloPprChanExtra >::const_iterator const_iterator
Definition:
L1CaloPprChanExtraContainer.h:56
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:122
L1CaloPprChanExtraContainer::~L1CaloPprChanExtraContainer
virtual ~L1CaloPprChanExtraContainer()
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::eSatOverride3
@ eSatOverride3
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::coolInputKeys
virtual std::vector< std::string > coolInputKeys() const
Definition:
L1CaloPprChanExtraContainer.h:43
L1CaloPprChanExtraContainer::eAttrSpecification
eAttrSpecification
Definition:
L1CaloPprChanExtraContainer.h:33
AbstractL1CaloPersistentCondition::makeTransient
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
Definition:
AbstractL1CaloPersistentCondition.cxx:16
L1CaloPprChanExtraContainer::begin
iterator begin()
Definition:
L1CaloPprChanExtraContainer.h:54
L1CaloPprChanExtraContainer::makePersistent
virtual DataObject * makePersistent() const
Definition:
L1CaloPprChanExtraContainer.cxx:44
L1CaloCoolChannelId
Definition:
L1CaloCoolChannelId.h:10
L1CaloPprChanExtraContainer::pprChanExtra
const L1CaloPprChanExtra * pprChanExtra(unsigned int channelId) const
Definition:
L1CaloPprChanExtraContainer.cxx:109
L1CaloPprChanExtraContainer::eSat80BcidThreshHigh
@ eSat80BcidThreshHigh
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::L1CaloPprChanExtraContainer
L1CaloPprChanExtraContainer()
Definition:
L1CaloPprChanExtraContainer.cxx:16
L1CaloPprChanExtraContainer::eLutCpPar5
@ eLutCpPar5
Definition:
L1CaloPprChanExtraContainer.h:37
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
L1CaloPprChanExtraContainer::eLutJepPar6
@ eLutJepPar6
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::eThreshNumSamplesSat
@ eThreshNumSamplesSat
Definition:
L1CaloPprChanExtraContainer.h:37
L1CaloPprChanExtraContainer::makeTransient
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &)
Definition:
L1CaloPprChanExtraContainer.cxx:77
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
L1CaloPprChanExtraContainer
Definition:
L1CaloPprChanExtraContainer.h:27
Generated on Thu Nov 7 2024 21:18:49 for ATLAS Offline Software by
1.8.18