ATLAS Offline Software
Loading...
Searching...
No Matches
CombinedShapeErrorGetter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 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 ShapeErrorData* shapeErrorData(unsigned int hash, CaloGain::CaloGain gain, const Residual* toExclude = 0) const;
28 ShapeErrorData* phiSymShapeErrorData(short /*ring*/, CaloGain::CaloGain /*gain*/, const Residual* /*toExclude*/) const { return 0; }
29
30 private:
31
32 std::vector<const AbsShapeErrorGetter*> m_getters;
33 };
34}
35#endif
std::vector< const AbsShapeErrorGetter * > m_getters
ShapeErrorData * phiSymShapeErrorData(short, CaloGain::CaloGain, const Residual *) const
void add(const AbsShapeErrorGetter &getter)
ShapeErrorData * shapeErrorData(unsigned int hash, CaloGain::CaloGain gain, const Residual *toExclude=0) const