ATLAS Offline Software
Run2ChargeCalibParser.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef Run2ChargeCalibParser_h
12 #define Run2ChargeCalibParser_h
15 
16 #include <string>
17 
18 class PixelModuleData;
19 class PixelID;
20 
21 namespace PixelChargeCalib{
23  public:
25  const InDetDD::SiDetectorElementCollection * pElements,
26  const PixelID * pId):IChargeCalibrationParser(pModData,pElements, pId){
27  //nop
28  }
29 
30  private:
32  parseImpl(unsigned int hash, const std::string & data) override final;
33 
35  parseImpl(unsigned int /*hash*/, const nlohmann::json & /*data*/) override final {
37  b.isValid=false;
38  return b;
39  }
40 
42  parseImpl(unsigned int /*hash*/, const nlohmann::json & /*data*/, int/*inputSource*/) override final {
44  b.isValid=false;
45  return b;
46  }
47  };
48 
49 
50 }
51 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
InDetDD::SiDetectorElementCollection
Definition: SiDetectorElementCollection.h:30
json
nlohmann::json json
Definition: HistogramDef.cxx:9
PixelChargeCalib::Run2ChargeCalibParser::parseImpl
virtual ChargeCalibrationBundle parseImpl(unsigned int hash, const std::string &data) override final
Definition: Run2ChargeCalibParser.cxx:22
PixelModuleData
Definition: PixelModuleData.h:22
PixelChargeCalib::Run2ChargeCalibParser::parseImpl
virtual ChargeCalibrationBundle parseImpl(unsigned int, const nlohmann::json &, int) override final
Definition: Run2ChargeCalibParser.h:42
PixelChargeCalib::IChargeCalibrationParser
Definition: IChargeCalibrationParser.h:31
PixelChargeCalib::Run2ChargeCalibParser::Run2ChargeCalibParser
Run2ChargeCalibParser(const PixelModuleData *pModData, const InDetDD::SiDetectorElementCollection *pElements, const PixelID *pId)
Definition: Run2ChargeCalibParser.h:24
ChargeCalibrationBundle.h
Struct for holding vectors of charge calibration constants, with utility methods.
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
PixelChargeCalib::Run2ChargeCalibParser
Definition: Run2ChargeCalibParser.h:22
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
PixelChargeCalib
Definition: IChargeCalibrationParser.h:30
PixelChargeCalib::ChargeCalibrationBundle
bundles of parameters used together in the PixelChargeCalibCondAlg
Definition: ChargeCalibrationBundle.h:24
PixelChargeCalib::Run2ChargeCalibParser::parseImpl
virtual ChargeCalibrationBundle parseImpl(unsigned int, const nlohmann::json &) override final
Definition: Run2ChargeCalibParser.h:35
IChargeCalibrationParser.h
Interface to parsers which accept a string or json object and return a ChargeCalibrationBundle.
PixelID
Definition: PixelID.h:67