ATLAS Offline Software
Loading...
Searching...
No Matches
CombinedShapeErrorGetter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
9
10#ifndef LArSamples_CombinedShapeErrorGetter_H
11#define LArSamples_CombinedShapeErrorGetter_H
12
14#include <vector>
15
16namespace LArSamples {
17
19
20 public:
21
24
25 void add(const AbsShapeErrorGetter& getter) { m_getters.push_back(&getter); }
26
27 virtual std::unique_ptr<ShapeErrorData> shapeErrorData(unsigned int hash, CaloGain::CaloGain gain, const Residual* toExclude = 0) const override;
28 virtual std::unique_ptr<ShapeErrorData> phiSymShapeErrorData(short /*ring*/, CaloGain::CaloGain /*gain*/, const Residual* /*toExclude*/) const override { return nullptr; }
29
30 private:
31
32 std::vector<const AbsShapeErrorGetter*> m_getters;
33 };
34}
35#endif
std::vector< const AbsShapeErrorGetter * > m_getters
void add(const AbsShapeErrorGetter &getter)
virtual std::unique_ptr< ShapeErrorData > shapeErrorData(unsigned int hash, CaloGain::CaloGain gain, const Residual *toExclude=0) const override
virtual std::unique_ptr< ShapeErrorData > phiSymShapeErrorData(short, CaloGain::CaloGain, const Residual *) const override