ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCalibTools
LArCalibTools
LArCompleteToFlat.h
Go to the documentation of this file.
1
//-*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
8
#ifndef LARCALIBTOOLS_LARCOMPLETETOFLAT_H
9
#define LARCALIBTOOLS_LARCOMPLETETOFLAT_H 1
10
11
#include <string>
12
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
13
#include "
LArRawConditions/LArConditionsContainer.h
"
14
#include "
LArRawConditions/LArSingleFloatP.h
"
15
#include "GaudiKernel/ToolHandle.h"
16
#include "
LArCabling/LArOnOffIdMapping.h
"
17
#include "
LArCOOLConditions/LArfSamplSC.h
"
18
19
20
21
class
LArOnlineID_Base
;
22
class
CondAttrListCollection
;
23
class
AthenaAttributeList
;
24
class
ILArPedestal
;
25
class
ILArOFC
;
26
class
ILArRamp
;
27
class
LArShapeComplete
;
28
class
ILArDAC2uA
;
29
class
ILAruA2MeV
;
30
class
LArDSPThresholdsComplete
;
31
32
class
LArCompleteToFlat
:
public
AthReentrantAlgorithm
33
{
34
36
// Public methods:
38
public
:
40
LArCompleteToFlat
(
const
std::string& name, ISvcLocator* pSvcLocator );
41
43
virtual
~LArCompleteToFlat
();
44
45
// Athena algorithm's Hooks
46
virtual
StatusCode
initialize
()
override
;
47
virtual
StatusCode
execute
(
const
EventContext&)
const override
{
return
StatusCode::SUCCESS;}
48
virtual
StatusCode
stop
()
override
;
49
50
private
:
52
LArCompleteToFlat
() =
delete
;
53
54
55
CondAttrListCollection
*
singleFloatFlat
(
const
char
* blobName,
const
LArConditionsContainer<LArSingleFloatP>
* input,
56
const
std::string& outputName,
const
unsigned
nGain,
const
bool
withFCAL=
true
);
57
CondAttrListCollection
*
DAC2uAFlat
(
const
ILArDAC2uA
* input,
const
std::string& outputName);
58
CondAttrListCollection
*
uA2MeVFlat
(
const
ILAruA2MeV
* input,
const
std::string& outputName);
59
CondAttrListCollection
*
pedestalFlat
(
const
ILArPedestal
* input,
const
std::string& outputName);
60
CondAttrListCollection
*
rampFlat
(
const
ILArRamp
* input,
const
std::string& outputName);
61
CondAttrListCollection
*
ofcFlat
(
const
ILArOFC
* input,
const
std::string& outputName,
const
LArfSamplSC
*
weights
=
nullptr
);
62
CondAttrListCollection
*
shapeFlat
(
const
LArShapeComplete
* input,
const
std::string& outputName);
63
AthenaAttributeList
*
DSPThresholdsFlat
(
const
LArDSPThresholdsComplete
* input,
const
std::string& outputName);
64
65
66
void
errIfConnected
(
const
HWIdentifier
chid,
const
int
gain,
const
char
* objName,
const
char
* message=0)
const
;
67
68
unsigned
m_hashMax
= 0;
69
const
LArOnlineID_Base
*
m_onlineID
=
nullptr
;
70
71
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
72
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKeySC
{
this
,
"CablingSCKey"
,
"LArOnOffIdMapSC"
,
"SG Key of LArOnOffIdMapping object"
};
73
SG::ReadCondHandleKey<LArfSamplSC>
m_weightsKeySC
{
this
,
"WeightsSCKey"
,
""
,
"SG Key of weights object"
};
74
76
StringProperty
m_uA2MeVInput
{
this
,
"uA2MeVInput"
,
""
};
// LAruA2MeV
77
StringProperty
m_DAC2uAInput
{
this
,
"DAC2uAVInput"
,
""
};
// LArDAC2uA
78
StringProperty
m_HVScaleCorrInput
{
this
,
"HVScaleCorrInput"
,
""
};
// LArHVScaleCorr
79
StringProperty
m_PedestalInput
{
this
,
"PedestalInput"
,
""
};
// Pedestal
80
StringProperty
m_RampInput
{
this
,
"RampInput"
,
""
};
// LArRamp
81
StringProperty
m_MphysOverMcalInput
{
this
,
"MphysOverMcalInput"
,
""
};
// LArMphysOverMcal
82
std::string
m_OFCInput
;
83
std::string
m_OFCCaliInput
;
84
std::string
m_ShapeInput
;
85
std::string
m_DSPThresholdsInput
;
86
87
// DSPThreshold set name
88
std::string
m_nameOfSet
;
89
90
BooleanProperty
m_isSC
= {
this
,
"isSC"
,
false
};
91
bool
m_forceStop
;
92
bool
m_fakeEMBPSLowGain
;
93
};
94
95
#endif
//> !LARCALIBTOOLS_LARCOMPLETETOFLAT_H
AthReentrantAlgorithm.h
LArConditionsContainer.h
LArOnOffIdMapping.h
LArSingleFloatP.h
LArfSamplSC.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
AthenaAttributeList
An AttributeList represents a logical row of attributes in a metadata table.
Definition
PersistentDataModel/PersistentDataModel/AthenaAttributeList.h:46
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number.
Definition
CondAttrListCollection.h:51
HWIdentifier
Definition
HWIdentifier.h:13
ILArDAC2uA
Definition
ILArDAC2uA.h:13
ILArOFC
Definition
ILArOFC.h:14
ILArPedestal
Definition
ILArPedestal.h:12
ILArRamp
Definition
ILArRamp.h:12
ILAruA2MeV
Definition
ILAruA2MeV.h:13
LArCompleteToFlat::rampFlat
CondAttrListCollection * rampFlat(const ILArRamp *input, const std::string &outputName)
Definition
LArCompleteToFlat.cxx:448
LArCompleteToFlat::execute
virtual StatusCode execute(const EventContext &) const override
Definition
LArCompleteToFlat.h:47
LArCompleteToFlat::m_OFCCaliInput
std::string m_OFCCaliInput
Definition
LArCompleteToFlat.h:83
LArCompleteToFlat::m_OFCInput
std::string m_OFCInput
Definition
LArCompleteToFlat.h:82
LArCompleteToFlat::m_DAC2uAInput
StringProperty m_DAC2uAInput
Definition
LArCompleteToFlat.h:77
LArCompleteToFlat::ofcFlat
CondAttrListCollection * ofcFlat(const ILArOFC *input, const std::string &outputName, const LArfSamplSC *weights=nullptr)
Definition
LArCompleteToFlat.cxx:200
LArCompleteToFlat::m_onlineID
const LArOnlineID_Base * m_onlineID
Definition
LArCompleteToFlat.h:69
LArCompleteToFlat::~LArCompleteToFlat
virtual ~LArCompleteToFlat()
Destructor:
LArCompleteToFlat::m_uA2MeVInput
StringProperty m_uA2MeVInput
InputSGKeys.
Definition
LArCompleteToFlat.h:76
LArCompleteToFlat::m_ShapeInput
std::string m_ShapeInput
Definition
LArCompleteToFlat.h:84
LArCompleteToFlat::m_MphysOverMcalInput
StringProperty m_MphysOverMcalInput
Definition
LArCompleteToFlat.h:81
LArCompleteToFlat::stop
virtual StatusCode stop() override
Definition
LArCompleteToFlat.cxx:654
LArCompleteToFlat::initialize
virtual StatusCode initialize() override
Definition
LArCompleteToFlat.cxx:64
LArCompleteToFlat::m_forceStop
bool m_forceStop
Definition
LArCompleteToFlat.h:91
LArCompleteToFlat::DSPThresholdsFlat
AthenaAttributeList * DSPThresholdsFlat(const LArDSPThresholdsComplete *input, const std::string &outputName)
Definition
LArCompleteToFlat.cxx:608
LArCompleteToFlat::singleFloatFlat
CondAttrListCollection * singleFloatFlat(const char *blobName, const LArConditionsContainer< LArSingleFloatP > *input, const std::string &outputName, const unsigned nGain, const bool withFCAL=true)
Definition
LArCompleteToFlat.cxx:74
LArCompleteToFlat::m_nameOfSet
std::string m_nameOfSet
Definition
LArCompleteToFlat.h:88
LArCompleteToFlat::m_hashMax
unsigned m_hashMax
Definition
LArCompleteToFlat.h:68
LArCompleteToFlat::m_isSC
BooleanProperty m_isSC
Definition
LArCompleteToFlat.h:90
LArCompleteToFlat::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArCompleteToFlat.h:71
LArCompleteToFlat::errIfConnected
void errIfConnected(const HWIdentifier chid, const int gain, const char *objName, const char *message=0) const
Definition
LArCompleteToFlat.cxx:903
LArCompleteToFlat::m_RampInput
StringProperty m_RampInput
Definition
LArCompleteToFlat.h:80
LArCompleteToFlat::m_PedestalInput
StringProperty m_PedestalInput
Definition
LArCompleteToFlat.h:79
LArCompleteToFlat::m_cablingKeySC
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeySC
Definition
LArCompleteToFlat.h:72
LArCompleteToFlat::m_DSPThresholdsInput
std::string m_DSPThresholdsInput
Definition
LArCompleteToFlat.h:85
LArCompleteToFlat::uA2MeVFlat
CondAttrListCollection * uA2MeVFlat(const ILAruA2MeV *input, const std::string &outputName)
Definition
LArCompleteToFlat.cxx:584
LArCompleteToFlat::m_weightsKeySC
SG::ReadCondHandleKey< LArfSamplSC > m_weightsKeySC
Definition
LArCompleteToFlat.h:73
LArCompleteToFlat::LArCompleteToFlat
LArCompleteToFlat(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
LArCompleteToFlat.cxx:41
LArCompleteToFlat::LArCompleteToFlat
LArCompleteToFlat()=delete
Default constructor:
LArCompleteToFlat::pedestalFlat
CondAttrListCollection * pedestalFlat(const ILArPedestal *input, const std::string &outputName)
Definition
LArCompleteToFlat.cxx:136
LArCompleteToFlat::m_HVScaleCorrInput
StringProperty m_HVScaleCorrInput
Definition
LArCompleteToFlat.h:78
LArCompleteToFlat::shapeFlat
CondAttrListCollection * shapeFlat(const LArShapeComplete *input, const std::string &outputName)
Definition
LArCompleteToFlat.cxx:329
LArCompleteToFlat::DAC2uAFlat
CondAttrListCollection * DAC2uAFlat(const ILArDAC2uA *input, const std::string &outputName)
Definition
LArCompleteToFlat.cxx:559
LArCompleteToFlat::m_fakeEMBPSLowGain
bool m_fakeEMBPSLowGain
Definition
LArCompleteToFlat.h:92
LArConditionsContainer
Definition
LArConditionsContainer.h:65
LArDSPThresholdsComplete
Definition
LArDSPThresholdsComplete.h:21
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition
LArOnlineID_Base.h:97
LArShapeComplete
This class implements the ILArShape interface.
Definition
LArShapeComplete.h:26
LArfSamplSC
Definition
LArfSamplSC.h:18
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
weights
Definition
herwig7_interface.h:38
Generated on
for ATLAS Offline Software by
1.17.0