ATLAS Offline Software
Loading...
Searching...
No Matches
LUTChargeCalibParser.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 LUTChargeCalibParser_h
12#define LUTChargeCalibParser_h
15#include <nlohmann/json.hpp>
16
17#include <string>
18
19class PixelModuleData;
20class PixelID;
21
22namespace PixelChargeCalib{
24 public:
26 const InDetDD::SiDetectorElementCollection * pElements,
27 const PixelID * pId):IChargeCalibrationParser(pModData,pElements, pId){
28 //nop
29 }
30
31 private:
33 parseImpl(unsigned int moduleHash, const nlohmann::json & data, int inputSource) override final;
34
36 parseImpl(unsigned int /*hash*/, const nlohmann::json & /*data*/) override final {
38 b.isValid=false;
39 return b;
40 }
41
43 parseImpl(unsigned int /*moduleHash*/, const std::string & /*data*/) override final {
45 b.isValid=false;
46 return b;
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, const nlohmann::json &) override final
LUTChargeCalibParser(const PixelModuleData *pModData, const InDetDD::SiDetectorElementCollection *pElements, const PixelID *pId)
virtual ChargeCalibrationBundle parseImpl(unsigned int moduleHash, const nlohmann::json &data, int inputSource) override final
virtual ChargeCalibrationBundle parseImpl(unsigned int, const std::string &) override final
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
bundles of parameters used together in the PixelChargeCalibCondAlg