ATLAS Offline Software
L1CaloRxGain.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOCALIBCONDITIONS_L1CALORXGAIN_H
6 #define TRIGT1CALOCALIBCONDITIONS_L1CALORXGAIN_H
7 
9 #include "GaudiKernel/DataObject.h"
10 
12 
13 #include <iostream>
14 #include <vector>
15 #include <string>
16 
24 class L1CaloRxGain final {
25  friend std::ostream& operator<<(std::ostream& output, const L1CaloRxGain& r);
26 public:
27 
28  L1CaloRxGain();
29 // L1CaloRxGain( unsigned int channelId, unsigned int identifier, std::string crate, unsigned int slot, unsigned int channel, int gain, std::string comment );
30 // L1CaloRxGain( const L1CaloRxCoolChannelId& channelId, unsigned int identifier, std::string crate, unsigned int slot, unsigned int channel, int gain, std::string comment );
31 
32  L1CaloRxGain( unsigned int channelId, int gain, const std::string& comment );
33  L1CaloRxGain( const L1CaloRxCoolChannelId& channelId, int gain, const std::string& comment );
34 
35 
36  ~L1CaloRxGain() =default;
37 
38  // getters
39  inline L1CaloRxCoolChannelId channelId(void) const { return m_channelId; };
40  //inline unsigned int identifier(void) const { return m_identifier; };
41  //inline std::string crate(void) const { return m_recCrate; };
42  //inline unsigned int slot(void) const { return m_recSlot; };
43  //inline unsigned int channel(void) const { return m_recChannel; };
44  inline int gain(void) const { return m_gain; };
45  inline const std::string& comment(void) const { return m_comment; };
46 
47 private:
49  //unsigned int m_identifier;
50  //std::string m_recCrate;
51  //unsigned int m_recSlot;
52  //unsigned int m_recChannel;
53  int m_gain;
54  std::string m_comment;
55 
56 };
57 
58 #endif
beamspotman.r
def r
Definition: beamspotman.py:676
L1CaloRxGain::comment
const std::string & comment(void) const
Definition: L1CaloRxGain.h:45
L1CaloRxCoolChannelId.h
L1CaloRxGain::channelId
L1CaloRxCoolChannelId channelId(void) const
Definition: L1CaloRxGain.h:39
L1CaloRxGain::~L1CaloRxGain
~L1CaloRxGain()=default
L1CaloRxGain::m_channelId
L1CaloRxCoolChannelId m_channelId
Definition: L1CaloRxGain.h:45
L1CaloRxGain::gain
int gain(void) const
Definition: L1CaloRxGain.h:44
L1CaloRxGain::m_gain
int m_gain
Definition: L1CaloRxGain.h:53
AbstractL1CaloPersistentCondition.h
L1CaloRxGain::L1CaloRxGain
L1CaloRxGain()
Definition: L1CaloRxGain.cxx:41
L1CaloRxCoolChannelId
Definition: L1CaloRxCoolChannelId.h:10
L1CaloRxGain::operator<<
friend std::ostream & operator<<(std::ostream &output, const L1CaloRxGain &r)
Definition: L1CaloRxGain.cxx:62
L1CaloRxGain::m_comment
std::string m_comment
Definition: L1CaloRxGain.h:54
merge.output
output
Definition: merge.py:17
L1CaloRxGain
Transient conditions class for objects defined by the online framework and retrieved from COOL.
Definition: L1CaloRxGain.h:24