ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloCalibConditions
src
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
5
#include "
TrigT1CaloCalibConditions/L1CaloRxGain.h
"
6
7
#include <sstream>
8
#include <iostream>
9
10
// AttributeList
11
#include "CoralBase/AttributeListSpecification.h"
12
#include "
AthenaPoolUtilities/AthenaAttributeList.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
41
L1CaloRxGain::L1CaloRxGain
():
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
55
L1CaloRxGain::L1CaloRxGain
(
const
L1CaloRxCoolChannelId
&
channelId
,
int
gain
,
const
std::string&
comment
):
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
}
AthenaAttributeList.h
operator<<
std::ostream & operator<<(std::ostream &output, const L1CaloRxGain &r)
Definition
L1CaloRxGain.cxx:62
L1CaloRxGain.h
L1CaloRxCoolChannelId
Encapsulates the ID of one Rx channel of conditions data in COOL, ie the ID of a row in a table.
Definition
L1CaloRxCoolChannelId.h:10
L1CaloRxGain::L1CaloRxGain
L1CaloRxGain()
Definition
L1CaloRxGain.cxx:41
L1CaloRxGain::m_channelId
L1CaloRxCoolChannelId m_channelId
Definition
L1CaloRxGain.h:48
L1CaloRxGain::gain
int gain(void) const
Definition
L1CaloRxGain.h:44
L1CaloRxGain::m_gain
int m_gain
Definition
L1CaloRxGain.h:53
L1CaloRxGain::channelId
L1CaloRxCoolChannelId channelId(void) const
Definition
L1CaloRxGain.h:39
L1CaloRxGain::comment
const std::string & comment(void) const
Definition
L1CaloRxGain.h:45
L1CaloRxGain::m_comment
std::string m_comment
Definition
L1CaloRxGain.h:54
r
int r
Definition
globals.cxx:22
Generated on
for ATLAS Offline Software by
1.17.0