ATLAS Offline Software
Loading...
Searching...
No Matches
AbsLArCells.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_AbsLArCells_H
11#define LArSamples_AbsLArCells_H
12
15
16#include <vector>
17
18namespace LArSamples {
19
20 class CellInfo;
21 class History;
22 class FilterParams;
23
25
26 public:
27
29 virtual ~AbsLArCells();
30
31 virtual const History* newCellHistory(unsigned int i) const;
32 virtual const History* cellHistory(unsigned int i) const;
33 virtual const CellInfo* cellInfo(unsigned int i) const;
34 virtual unsigned int nChannels() const { return Definitions::nChannels; }
35 virtual unsigned int nChannelsSC() const { return Definitions::nChannelsSC; }
36
37 virtual void resetCache() const;
38
39 const CellInfo* cellInfoCache(unsigned int i) const;
40 const History* pass(unsigned int i, const FilterParams& f) const;
41
42 virtual const History* getCellHistory(unsigned int i) const = 0;
43 virtual const CellInfo* getCellInfo(unsigned int i) const;
44
45 virtual const History* getSCHistory(unsigned int i) const = 0;
46
47 const History* cellCache() const { return m_cellCache; }
48 unsigned int cachePos() const { return m_pos; }
49
50 void resetCellInfoCache();
51
52 private:
53
54 mutable unsigned int m_pos;
55 mutable const History* m_cellCache;
56 mutable std::vector<CellInfo*> m_cellInfoCache;
57
58 };
59}
60
61#endif
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
const History * m_cellCache
Definition AbsLArCells.h:55
unsigned int cachePos() const
Definition AbsLArCells.h:48
virtual unsigned int nChannels() const
Definition AbsLArCells.h:34
const History * cellCache() const
Definition AbsLArCells.h:47
std::vector< CellInfo * > m_cellInfoCache
Definition AbsLArCells.h:56
virtual const CellInfo * getCellInfo(unsigned int i) const
virtual const History * cellHistory(unsigned int i) const
virtual const History * getSCHistory(unsigned int i) const =0
virtual const History * newCellHistory(unsigned int i) const
virtual const History * getCellHistory(unsigned int i) const =0
virtual const CellInfo * cellInfo(unsigned int i) const
virtual unsigned int nChannelsSC() const
Definition AbsLArCells.h:35