ATLAS Offline Software
L1CaloRxGain.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #include <sstream>
8 #include <iostream>
9 
10 // AttributeList
11 #include "CoralBase/AttributeListSpecification.h"
13 
14 #include "GaudiKernel/MsgStream.h"
15 
16 
17 //L1CaloRxGain::L1CaloRxGain():
18 // m_channelId(0),
19 // m_identifier(0),
20 // m_recCrate(""),
21 // m_recSlot(0),
22 // m_recChannel(0),
23 // m_gain(0),
24 // m_comment("")
25 //
26 //{
27 //}
28 //
29 //L1CaloRxGain::L1CaloRxGain( const L1CaloRxCoolChannelId& channelId, unsigned int identifier, std::string crate, unsigned int slot, unsigned int channel, int gain, std::string comment ):
30 // m_channelId(channelId),
31 // m_identifier(identifier),
32 // m_recCrate(crate),
33 // m_recSlot(slot),
34 // m_recChannel(channel),
35 // m_gain(gain),
36 // m_comment(comment)
37 //{
38 //}
39 
40 
42  m_channelId(0),
43  m_gain(0),
44  m_comment("")
45 {
46 }
47 
48 L1CaloRxGain::L1CaloRxGain( unsigned int channelId, int gain, const std::string& comment ):
49  m_channelId(channelId),
50  m_gain(gain),
51  m_comment(comment)
52 {
53 }
54 
56  m_channelId(channelId),
57  m_gain(gain),
58  m_comment(comment)
59 {
60 }
61 
62 std::ostream& operator<<(std::ostream& output, const L1CaloRxGain& r) {
63  //output << "channelID: " << r.m_channelId.id() << ", " << "identifier: " << r.m_identifier<< ", " << "crate: " << r.m_recCrate<< ", " << "slot: " << r.m_recSlot<< ", " << "channel: " << r.m_recChannel << ", " << "gain: " << r.m_gain << ", " << "comment: " << r.m_comment.c_str();
64  output << "channelID: " << r.m_channelId.id() << ", " << "gain: " << r.m_gain << ", " << "comment: " << r.m_comment;
65  return output;
66 }
beamspotman.r
def r
Definition: beamspotman.py:676
operator<<
std::ostream & operator<<(std::ostream &output, const L1CaloRxGain &r)
Definition: L1CaloRxGain.cxx:62
L1CaloRxGain.h
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
AthenaAttributeList.h
L1CaloRxGain::L1CaloRxGain
L1CaloRxGain()
Definition: L1CaloRxGain.cxx:41
L1CaloRxCoolChannelId
Definition: L1CaloRxCoolChannelId.h:10
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
merge.output
output
Definition: merge.py:17
CaloCondBlobAlgs_fillNoiseFromASCII.comment
string comment
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:27
L1CaloRxGain
Transient conditions class for objects defined by the online framework and retrieved from COOL.
Definition: L1CaloRxGain.h:24