 |
ATLAS Offline Software
|
#include <LArCompleteToFlat.h>
|
| LArCompleteToFlat (const std::string &name, ISvcLocator *pSvcLocator) |
| Constructor with parameters: More...
|
|
virtual | ~LArCompleteToFlat () |
| Destructor: More...
|
|
StatusCode | initialize () |
|
StatusCode | execute () |
|
StatusCode | finalize () |
|
virtual StatusCode | stop () |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
| LArCompleteToFlat () |
| Default constructor: More...
|
|
CondAttrListCollection * | singleFloatFlat (const char *blobName, const LArConditionsContainer< LArSingleFloatP > *input, const std::string &outputName, const unsigned nGain, const bool withFCAL=true) |
|
CondAttrListCollection * | DAC2uAFlat (const ILArDAC2uA *input, const std::string &outputName) |
|
CondAttrListCollection * | uA2MeVFlat (const ILAruA2MeV *input, const std::string &outputName) |
|
CondAttrListCollection * | pedestalFlat (const ILArPedestal *input, const std::string &outputName) |
|
CondAttrListCollection * | rampFlat (const ILArRamp *input, const std::string &outputName) |
|
CondAttrListCollection * | ofcFlat (const ILArOFC *input, const std::string &outputName, const LArfSamplSC *weights=nullptr) |
|
CondAttrListCollection * | shapeFlat (const LArShapeComplete *input, const std::string &outputName) |
|
AthenaAttributeList * | DSPThresholdsFlat (const LArDSPThresholdsComplete *input, const std::string &outputName) |
|
void | errIfConnected (const HWIdentifier chid, const int gain, const char *objName, const char *message=0) const |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
Definition at line 32 of file LArCompleteToFlat.h.
◆ StoreGateSvc_t
◆ LArCompleteToFlat() [1/2]
LArCompleteToFlat::LArCompleteToFlat |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~LArCompleteToFlat()
LArCompleteToFlat::~LArCompleteToFlat |
( |
| ) |
|
|
virtualdefault |
◆ LArCompleteToFlat() [2/2]
LArCompleteToFlat::LArCompleteToFlat |
( |
| ) |
|
|
private |
◆ DAC2uAFlat()
Definition at line 570 of file LArCompleteToFlat.cxx.
571 coral::AttributeListSpecification*
spec =
new coral::AttributeListSpecification();
572 spec->extend(
"DAC2uA",
"blob");
573 spec->extend<
unsigned>(
"version");
576 (*attrList)[
"version"].setValue(0U);
579 float* pblob=
static_cast<float*
>(
blob.startingAddress());
584 coll->add(1,*attrList);
587 if (
sc.isFailure()) {
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ DSPThresholdsFlat()
Definition at line 619 of file LArCompleteToFlat.cxx.
621 coral::AttributeListSpecification*
spec =
new coral::AttributeListSpecification();
622 spec->extend(
"tQThr",
"blob");
623 spec->extend(
"samplesThr",
"blob");
624 spec->extend(
"trigSumThr",
"blob");
626 spec->extend(
"Name",
"string");
636 SamplesBlob.resize(
m_hashMax*
sizeof(
float));
637 TrigBlob.resize(
m_hashMax*
sizeof(
float));
638 float* ptQThr=
static_cast<float*
>(QBlob.startingAddress());
639 float* pSamplesThr=
static_cast<float*
>(SamplesBlob.startingAddress());
640 float* pTrigThr=
static_cast<float*
>(TrigBlob.startingAddress());
645 ptQThr[
hs] =
input->tQThr(chid);
646 pSamplesThr[
hs] =
input->samplesThr(chid);
647 pTrigThr[
hs] =
input->trigSumThr(chid);
655 if (
sc.isFailure()) {
◆ errIfConnected()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode LArCompleteToFlat::execute |
( |
| ) |
|
|
inline |
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
57 return Algorithm::extraOutputDeps();
◆ finalize()
StatusCode LArCompleteToFlat::finalize |
( |
| ) |
|
|
inline |
◆ initialize()
StatusCode LArCompleteToFlat::initialize |
( |
| ) |
|
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ ofcFlat()
Definition at line 211 of file LArCompleteToFlat.cxx.
215 unsigned nCopiedEMPS=0;
218 coral::AttributeListSpecification*
spec =
new coral::AttributeListSpecification();
219 spec->extend(
"OFCa",
"blob");
220 spec->extend(
"OFCb",
"blob");
221 spec->extend(
"TimeOffset",
"blob");
222 spec->extend<
unsigned>(
"nSamples");
223 spec->extend<
unsigned>(
"version");
226 const unsigned nGain =
m_isSC ? 1 : 3;
249 (*attrList)[
"version"].setValue(0U);
254 (*attrList)[
"nSamples"].setValue(
nSamples);
259 float* pOfca=
static_cast<float*
>(ofcaBlob.startingAddress());
260 float* pOfcb=
static_cast<float*
>(ofcbBlob.startingAddress());
261 float* pTimeOffset=
static_cast<float*
>(toBlob.startingAddress());
266 float timeOffset=
input->timeOffset(chid,
gain);
270 timeOffset=
input->timeOffset(chid,1);
276 if(std::isnan(ofca[
i]) || std::isinf(ofca[
i])) {
285 message <<
"Number of samples don't match. Expect " <<
nSamples <<
", got " << ofca.size() <<
".";
295 if(std::isnan(ofcb[
i]) || std::isinf(ofcb[
i])) {
313 message <<
"Number of samples don't match. Expect " <<
nSamples <<
", got " << ofcb.size() <<
".";
319 pTimeOffset[
hs]=timeOffset;
323 collOFC->add(
gain,*attrList);
327 if (
sc.isFailure()) {
333 ATH_MSG_INFO(
"Number of channels filled with default OFCs {1,1,1,1} " << nDefault <<
" (including disconnected)" );
335 ATH_MSG_INFO(
"\t Number of low gain EMBPS channels copied from medium gain" << nCopiedEMPS );
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ pedestalFlat()
Definition at line 147 of file LArCompleteToFlat.cxx.
148 ATH_MSG_INFO(
"LArCompleteToFlat::pedestalFlat, starting");
151 unsigned nCopiedEMPS=0;
153 coral::AttributeListSpecification*
spec =
new coral::AttributeListSpecification();
154 spec->extend(
"Pedestal",
"blob");
155 spec->extend(
"PedestalRMS",
"blob");
156 spec->extend<
unsigned>(
"version");
160 const unsigned nGain =
m_isSC ? 1 : 3;
163 (*attrList)[
"version"].setValue(0U);
168 float* pblobPed=
static_cast<float*
>(blobPed.startingAddress());
169 float* pblobRMS=
static_cast<float*
>(blobRMS.startingAddress());
174 float pedRMS=
input->pedestalRMS(chid,
gain);
186 pedRMS=
input->pedestalRMS(chid,1);
194 collPed->add(
gain,*attrList);
195 ATH_MSG_INFO(
"Number of channels filled with default Pedestal (1000) and PedestalRMS (1) "<< nDefault <<
" (including disconnected)" );
199 if (
sc.isFailure()) {
205 ATH_MSG_INFO(
"\t Number of low gain EMBPS channels copied from medium gain" << nCopiedEMPS );
◆ rampFlat()
Definition at line 459 of file LArCompleteToFlat.cxx.
464 unsigned nCopiedEMPS=0;
467 coral::AttributeListSpecification*
spec =
new coral::AttributeListSpecification();
468 spec->extend(
"RampVec",
"blob");
469 spec->extend<
unsigned>(
"nPoints");
470 spec->extend<
unsigned>(
"version");
473 std::vector<float> defaultRamp={0.0,1.0};
488 const unsigned nGain =
m_isSC ? 1 : 3;
502 defaultRamp.resize(nPoints,0.0);
503 ATH_MSG_INFO(
"Gain " <<
gain <<
": Found a ramp polynom of degree " << nPoints <<
" in input data" );
505 (*attrList)[
"version"].setValue(0U);
507 (*attrList)[
"nPoints"].setValue(nPoints);
508 blobRamp.resize(
m_hashMax*
sizeof(
float)*nPoints);
509 float* pblobRamp=
static_cast<float*
>(blobRamp.startingAddress());
513 std::vector<float> rampVec(
input->ADC2DAC(chid,
gain).asVector());
514 if(rampVec.size()>=2 && rampVec[1]>500) {
519 rampVec=
input->ADC2DAC(chid,1).asVector();
520 if(rampVec.empty()) {
535 if (rampVec.size()>=nPoints) {
536 for (
size_t i=0;
i<nPoints;++
i) {
537 pblobRamp[nPoints*
hs+
i]=rampVec[
i];
542 message <<
"Polynom degree doesn't match. Expect " << nPoints <<
", got " << rampVec.size() <<
".";
544 for (
size_t i=0;
i<nPoints;++
i) {
545 pblobRamp[nPoints*
hs+
i]=defaultRamp[
i];
551 coll->add(
gain,*attrList);
555 if (
sc.isFailure()) {
561 ATH_MSG_INFO(
"Number of channels filled with default ramp {0,1} " << nDefault <<
" (including disconnected)" );
563 ATH_MSG_INFO(
"\t Number of low gain EMBPS channels copied from medium gain (applied factor 10)" << nCopiedEMPS );
◆ renounce()
◆ renounceArray()
◆ shapeFlat()
Definition at line 340 of file LArCompleteToFlat.cxx.
345 unsigned nCopiedEMPS=0;
348 coral::AttributeListSpecification*
spec =
new coral::AttributeListSpecification();
349 spec->extend(
"Shape",
"blob");
350 spec->extend(
"ShapeDer",
"blob");
351 spec->extend(
"TimeOffset",
"blob");
352 spec->extend<
unsigned>(
"nSamples");
353 spec->extend<
unsigned>(
"version");
356 const unsigned nGain =
m_isSC ? 1 : 3;
373 (*attrList)[
"version"].setValue(0U);
378 (*attrList)[
"nSamples"].setValue(
nSamples);
383 float* pShape=
static_cast<float*
>(shapeBlob.startingAddress());
384 float* pShapeDer=
static_cast<float*
>(shapeDerBlob.startingAddress());
385 float* pTimeOffset=
static_cast<float*
>(toBlob.startingAddress());
391 float timeOffset=
input->timeOffset(chid,
gain);
393 shape=
input->Shape(chid,1);
394 shapeDer=
input->ShapeDer(chid,1);
395 timeOffset=
input->timeOffset(chid,1);
401 if(std::isnan(shape[
i]) || std::isinf(shape[
i])) {
410 message <<
"Number of samples don't match. Expect " <<
nSamples <<
", got " << shape.size() <<
".";
421 if(std::isnan(shapeDer[
i]) || std::isinf(shapeDer[
i])) {
430 message <<
"Number of samples don't match. Expect " <<
nSamples <<
", got " << shapeDer.size() <<
".";
436 pTimeOffset[
hs]=timeOffset;
440 coll->add(
gain,*attrList);
444 if (
sc.isFailure()) {
450 ATH_MSG_INFO(
"Number of channels filled with default shape {0,0,0,0} " << nDefault <<
" (including disconnected)" );
452 ATH_MSG_INFO(
"\t Number of low gain EMBPS channels copied from medium gain" << nCopiedEMPS );
◆ singleFloatFlat()
Definition at line 85 of file LArCompleteToFlat.cxx.
89 unsigned nCopiedEMPS=0;
92 coral::AttributeListSpecification*
spec =
new coral::AttributeListSpecification();
93 spec->extend(blobName,
"blob");
94 spec->extend<
unsigned>(
"version");
98 (*attrList)[
"version"].setValue(0U);
101 float* pblob=
static_cast<float*
>(
blob.startingAddress());
124 unsigned coolChan=
gain;
127 if (nGain==1) coolChan=1;
129 coll->add(coolChan,*attrList);
133 ATH_MSG_INFO(
"Converted " << blobName <<
" to inline storage. Total number of channels=" <<
nChannels );
134 ATH_MSG_INFO(
"Number of channels filled with default value (1.0) " << nDefault <<
" (including disconnected)" );
136 ATH_MSG_INFO(
"\t Number of low gain EMBPS channels copied from medium gain" << nCopiedEMPS );
138 if (
sc.isFailure()) {
◆ stop()
StatusCode LArCompleteToFlat::stop |
( |
| ) |
|
|
virtual |
Definition at line 665 of file LArCompleteToFlat.cxx.
666 std::string flatName =
"/LAR/ElecCalibFlat";
672 if (
sc.isFailure()) {
674 return StatusCode::FAILURE;
683 if (
sc.isFailure()) {
685 return StatusCode::FAILURE;
699 if (
sc.isFailure()) {
707 uA2MeVFlat(uA2MeVComplete, flatName+
"/uA2MeV");
715 if (
sc.isFailure()) {
723 DAC2uAFlat(DAC2uAComplete, flatName+
"/DAC2uA");
730 if (
sc.isFailure()) {
738 const int nGain =
m_isSC ? 1 : 3;
748 if (
sc.isFailure()) {
756 singleFloatFlat(
"HVScaleCorr", HVScaleCorrComplete, flatName+
"/HVScaleCorr",1);
763 if (
sc.isFailure()) {
796 if (
sc.isFailure()) {
807 weightsComplete=*wHdl;
808 if(!weightsComplete) {
812 ofcFlat(ofcComplete,flatName+
"/OFC",weightsComplete);
818 if (
sc.isFailure()) {
820 ATH_MSG_ERROR(
"Failed to get LArOFCComplete object (cali)" );
826 ofcFlat(ofcComplete,flatName+
"/OFCCali");
834 if (
sc.isFailure()) {
842 shapeFlat(shapeComplete,flatName+
"/Shape");
866 if (
sc.isFailure()) {
874 rampFlat(rampComplete,flatName+
"/Ramp");
882 if (
sc.isFailure()) {
884 ATH_MSG_ERROR(
"Failed to get LArDSPThresholdsComplete object" );
907 return StatusCode::SUCCESS;
◆ sysInitialize()
StatusCode AthAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ uA2MeVFlat()
Definition at line 595 of file LArCompleteToFlat.cxx.
596 coral::AttributeListSpecification*
spec =
new coral::AttributeListSpecification();
597 spec->extend(
"uA2MeV",
"blob");
598 spec->extend<
unsigned>(
"version");
601 (*attrList)[
"version"].setValue(0U);
604 float* pblob=
static_cast<float*
>(
blob.startingAddress());
609 coll->add(1,*attrList);
612 if (
sc.isFailure()) {
◆ updateVHKA()
◆ m_cablingKey
◆ m_cablingKeySC
◆ m_DAC2uAInput
std::string LArCompleteToFlat::m_DAC2uAInput |
|
private |
◆ m_detStore
◆ m_DSPThresholdsInput
std::string LArCompleteToFlat::m_DSPThresholdsInput |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_fakeEMBPSLowGain
bool LArCompleteToFlat::m_fakeEMBPSLowGain |
|
private |
◆ m_forceStop
bool LArCompleteToFlat::m_forceStop |
|
private |
◆ m_hashMax
unsigned LArCompleteToFlat::m_hashMax |
|
private |
◆ m_HVScaleCorrInput
std::string LArCompleteToFlat::m_HVScaleCorrInput |
|
private |
◆ m_isSC
bool LArCompleteToFlat::m_isSC |
|
private |
◆ m_MphysOverMcalInput
std::string LArCompleteToFlat::m_MphysOverMcalInput |
|
private |
◆ m_nameOfSet
std::string LArCompleteToFlat::m_nameOfSet |
|
private |
◆ m_OFCCaliInput
std::string LArCompleteToFlat::m_OFCCaliInput |
|
private |
◆ m_OFCInput
std::string LArCompleteToFlat::m_OFCInput |
|
private |
◆ m_onlineID
◆ m_PedestalInput
std::string LArCompleteToFlat::m_PedestalInput |
|
private |
◆ m_RampInput
std::string LArCompleteToFlat::m_RampInput |
|
private |
◆ m_ShapeInput
std::string LArCompleteToFlat::m_ShapeInput |
|
private |
◆ m_uA2MeVInput
std::string LArCompleteToFlat::m_uA2MeVInput |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_weightsKeySC
The documentation for this class was generated from the following files:
std::string m_OFCCaliInput
std::string m_uA2MeVInput
InputSGKeys.
CondAttrListCollection * rampFlat(const ILArRamp *input, const std::string &outputName)
unsigned constexpr int nChannels
std::string m_PedestalInput
This class implements the ILArPedestal interface.
This class implements the ILArShape interface.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
This class is a collection of AttributeLists where each one is associated with a channel number....
This class implements the ILArHVScaleCorr interface.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeySC
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
bool isFCALchannel(const HWIdentifier id) const
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
CondAttrListCollection * ofcFlat(const ILArOFC *input, const std::string &outputName, const LArfSamplSC *weights=nullptr)
virtual StatusCode sysInitialize() override
Override sysInitialize.
CondAttrListCollection * shapeFlat(const LArShapeComplete *input, const std::string &outputName)
This class implements the ILArMphysOverMcal interface.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
::StatusCode StatusCode
StatusCode definition for legacy code.
CondAttrListCollection * uA2MeVFlat(const ILAruA2MeV *input, const std::string &outputName)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
const LArOnlineID_Base * m_onlineID
HWIdentifier channel_Id(int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const
create channel identifier from fields
std::string m_MphysOverMcalInput
std::string m_DAC2uAInput
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Helper for the Liquid Argon Calorimeter cell identifiers.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
size_type channelHashMax(void) const
Define channel hash tables max size.
CondAttrListCollection * singleFloatFlat(const char *blobName, const LArConditionsContainer< LArSingleFloatP > *input, const std::string &outputName, const unsigned nGain, const bool withFCAL=true)
StatusCode initialize(bool used=true)
SG::ReadCondHandleKey< LArfSamplSC > m_weightsKeySC
DataObjIDColl m_extendedExtraObjects
CondAttrListCollection * pedestalFlat(const ILArPedestal *input, const std::string &outputName)
std::string getString() const
Provide a string form of the identifier - hexadecimal.
AthenaAttributeList * DSPThresholdsFlat(const LArDSPThresholdsComplete *input, const std::string &outputName)
#define ATH_MSG_WARNING(x)
bool isEMBPS(const HWIdentifier id) const
CondAttrListCollection * DAC2uAFlat(const ILArDAC2uA *input, const std::string &outputName)
std::string m_HVScaleCorrInput
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
AthAlgorithm()
Default constructor:
std::string m_DSPThresholdsInput
std::string channel_name(const HWIdentifier id) const
Return a string corresponding to a feedthrough name given an identifier.
void errIfConnected(const HWIdentifier chid, const int gain, const char *objName, const char *message=0) const
This class implements the ILArOFC interface.
Proxy for accessing a range of float values like a vector.