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