ATLAS Offline Software
L1CaloPprDisabledChannel.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #include <string>
8 #include <sstream>
9 #include <iostream>
10 #include <iomanip>
11 
13  m_channelId(0),
14  m_bMasked(false),
15  m_noiseCut(0),
16  m_disabledBits(0)
17 {
18 }
19 
21  m_channelId(channelId),
22  m_bMasked(false),
23  m_noiseCut(0),
24  m_disabledBits(0)
25 {
26 }
27 
29  m_channelId(channelId),
30  m_bMasked(false),
31  m_noiseCut(0),
32  m_disabledBits(0)
33 {
34 }
35 
36 L1CaloPprDisabledChannel::L1CaloPprDisabledChannel( unsigned int channelId, ChanDeadErrorCode deadErrorCode, ChanCalibErrorCode calibErrorCode, bool isMasked, unsigned int noiseCut, unsigned int disabledBits):
37  m_channelId(channelId),
38  m_calibErrorCode(calibErrorCode),
39  m_deadErrorCode(deadErrorCode),
40  m_bMasked(isMasked),
41  m_noiseCut(noiseCut),
42  m_disabledBits(disabledBits)
43 {
44 }
45 
46 L1CaloPprDisabledChannel::L1CaloPprDisabledChannel( const L1CaloCoolChannelId& channelId, ChanDeadErrorCode deadErrorCode, ChanCalibErrorCode calibErrorCode, bool isMasked, unsigned int noiseCut, unsigned int disabledBits):
47  m_channelId(channelId),
48  m_calibErrorCode(calibErrorCode),
49  m_deadErrorCode(deadErrorCode),
50  m_bMasked(isMasked),
51  m_noiseCut(noiseCut),
52  m_disabledBits(disabledBits)
53 {
54 }
55 
56 std::ostream& operator<<(std::ostream& output, const L1CaloPprDisabledChannel& r) {
57  output << "channelID: " << std::hex << r.m_channelId.id() << std::dec << ", " << "deadErrorCode: " << r.m_deadErrorCode<< ", " << "calibErrorCode: " << r.m_calibErrorCode << ", " << "masked: " << r.m_bMasked << ", noiseCut: " << r.m_noiseCut << ", disabledBits: " << r.m_disabledBits;
58  return output;
59 }
beamspotman.r
def r
Definition: beamspotman.py:676
L1CaloPprDisabledChannel
Transient conditions class for objects defined by the online framework and retrieved from COOL.
Definition: L1CaloPprDisabledChannel.h:25
ChanCalibErrorCode
ChanCalibErrorCode class for L1Calo error codes Adapted from /LVL1/l1calo/coolL1Calo/coolL1Calo/ChanE...
Definition: ChanCalibErrorCode.h:20
L1CaloPprDisabledChannel::L1CaloPprDisabledChannel
L1CaloPprDisabledChannel()
Definition: L1CaloPprDisabledChannel.cxx:12
ChanDeadErrorCode
ChanDeadErrorCode class for L1Calo error codes Adapted from /LVL1/l1calo/coolL1Calo/coolL1Calo/ChanDe...
Definition: ChanDeadErrorCode.h:20
L1CaloPprDisabledChannel.h
operator<<
std::ostream & operator<<(std::ostream &output, const L1CaloPprDisabledChannel &r)
Definition: L1CaloPprDisabledChannel.cxx:56
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
merge.output
output
Definition: merge.py:17
L1CaloCoolChannelId
Definition: L1CaloCoolChannelId.h:10