ATLAS Offline Software
Loading...
Searching...
No Matches
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
18class PixelModuleData;
19class PixelID;
20
21namespace 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
Struct for holding vectors of charge calibration constants, with utility methods.
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
Interface to parsers which accept a string or json object and return a ChargeCalibrationBundle.
Class to hold the SiDetectorElement objects to be put in the detector store.
IChargeCalibrationParser(const PixelModuleData *pModData, const InDetDD::SiDetectorElementCollection *pElements, const PixelID *pId)
virtual ChargeCalibrationBundle parseImpl(unsigned int hash, const std::string &data) override final
Run2ChargeCalibParser(const PixelModuleData *pModData, const InDetDD::SiDetectorElementCollection *pElements, const PixelID *pId)
virtual ChargeCalibrationBundle parseImpl(unsigned int, const nlohmann::json &, int) override final
virtual ChargeCalibrationBundle parseImpl(unsigned int, const nlohmann::json &) override final
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
bundles of parameters used together in the PixelChargeCalibCondAlg