ATLAS Offline Software
L1CaloHVCorrections.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef L1CALOHVCORRECTIONS_H
6 #define L1CALOHVCORRECTIONS_H
7 
8 #include <vector>
9 
11 
19 {
20  public:
21 
23  L1CaloHVCorrections(unsigned int channelId,
24  float rxMean,
25  std::vector<int> &&affectedCells,
26  std::vector<float> &&layerMeans);
28  float rxMean,
29  std::vector<int> &&affectedCells,
30  std::vector<float> &&layerMeans);
31 
32  ~L1CaloHVCorrections() = default;
33 
34  const L1CaloRxCoolChannelId& channelId() const { return m_channelId; }
35  float rxMean() const { return m_rxMean; }
36  const std::vector<int>& affectedCells() const { return m_affectedCells; }
37  const std::vector<float>& layerMeans() const { return m_layerMeans; }
38 
39  private:
41 
42  float m_rxMean;
43  std::vector<int> m_affectedCells;
44  std::vector<float> m_layerMeans;
45 };
46 
47 #endif // L1CALOHVCORRECTIONS_H
L1CaloHVCorrections::channelId
const L1CaloRxCoolChannelId & channelId() const
Definition: L1CaloHVCorrections.h:34
L1CaloHVCorrections::rxMean
float rxMean() const
Definition: L1CaloHVCorrections.h:35
L1CaloRxCoolChannelId.h
L1CaloHVCorrections::~L1CaloHVCorrections
~L1CaloHVCorrections()=default
L1CaloHVCorrections::m_rxMean
float m_rxMean
Definition: L1CaloHVCorrections.h:42
L1CaloHVCorrections::L1CaloHVCorrections
L1CaloHVCorrections()
Definition: L1CaloHVCorrections.cxx:7
L1CaloHVCorrections::affectedCells
const std::vector< int > & affectedCells() const
Definition: L1CaloHVCorrections.h:36
L1CaloHVCorrections::m_affectedCells
std::vector< int > m_affectedCells
Definition: L1CaloHVCorrections.h:43
L1CaloRxCoolChannelId
Definition: L1CaloRxCoolChannelId.h:10
L1CaloHVCorrections
Class that holds mean HV corrections for receivers.
Definition: L1CaloHVCorrections.h:19
L1CaloHVCorrections::layerMeans
const std::vector< float > & layerMeans() const
Definition: L1CaloHVCorrections.h:37
L1CaloHVCorrections::m_channelId
L1CaloRxCoolChannelId m_channelId
Definition: L1CaloHVCorrections.h:40
L1CaloHVCorrections::m_layerMeans
std::vector< float > m_layerMeans
Definition: L1CaloHVCorrections.h:44