ATLAS Offline Software
Loading...
Searching...
No Matches
CaloNoiseHashRanges.h
Go to the documentation of this file.
1//Dear emacs, this is -*-c++-*-
2/*
3 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
4*/
5#ifndef CALOCONDITIONS_CALONOISEHASHRANGES
6#define CALOCONDITIONS_CALONOISEHASHRANGES
7
8#include <map>
10
11class CaloCell_ID;
12
13
19
20 public:
21 //Delete default constructor
23
30 CaloNoiseHashRanges(const CaloCell_ID* cellId);
31
32
34
35 //SYSTEM == COOL channel number
36 enum SYSTEM{EMECZNEG = 0,
40 HEC =16,
41 FCAL =32,
42 TILE =48};
43
44
45 //Getters:
46
48 const std::map<SYSTEM,IdentifierHash>& hashOffsets() const {return m_hashOffsets;}
50 std::size_t maxLArCells() const {return m_maxLArCells;}
52 std::size_t maxTileCells() const {return m_maxTileCells;}
53
54
55private:
56 std::map<SYSTEM,IdentifierHash> m_hashOffsets;
57 std::size_t m_maxLArCells;
58 std::size_t m_maxTileCells;
59
60};
61
62#endif
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
std::size_t maxTileCells() const
Return the number of Tile cells.
std::size_t maxLArCells() const
Return the number of LAr cells.
~CaloNoiseHashRanges()=default
const std::map< SYSTEM, IdentifierHash > & hashOffsets() const
Return a map of cool-channel and hash-offset.
std::map< SYSTEM, IdentifierHash > m_hashOffsets
CaloNoiseHashRanges()=delete