ATLAS Offline Software
Loading...
Searching...
No Matches
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
23
24class L1CaloRxGain final {
25 friend std::ostream& operator<<(std::ostream& output, const L1CaloRxGain& r);
26public:
27
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
47private:
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
Encapsulates the ID of one Rx channel of conditions data in COOL, ie the ID of a row in a table.
~L1CaloRxGain()=default
L1CaloRxCoolChannelId m_channelId
int gain(void) const
friend std::ostream & operator<<(std::ostream &output, const L1CaloRxGain &r)
L1CaloRxCoolChannelId channelId(void) const
const std::string & comment(void) const
std::string m_comment
int r
Definition globals.cxx:22