ATLAS Offline Software
L1CaloPpmFineTimeRefs.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_refValue(0),
15  m_criterion(0),
16  m_calibValue(0)
17 {
18 }
19 
21  m_channelId(channelId),
22  m_refValue(0),
23  m_criterion(0),
24  m_calibValue(0)
25 {
26 }
27 
28 L1CaloPpmFineTimeRefs::L1CaloPpmFineTimeRefs( unsigned int channelId, FineTimeErrorCode errorCode, double refValue, double criterion, double calibValue):
29  m_channelId(channelId),
30  m_errorCode(errorCode),
31  m_refValue(refValue),
32  m_criterion(criterion),
33  m_calibValue(calibValue)
34 {
35 }
36 
37 L1CaloPpmFineTimeRefs::L1CaloPpmFineTimeRefs( const L1CaloCoolChannelId& channelId, FineTimeErrorCode errorCode, double refValue, double criterion, double calibValue):
38  m_channelId(channelId),
39  m_errorCode(errorCode),
40  m_refValue(refValue),
41  m_criterion(criterion),
42  m_calibValue(calibValue)
43 {
44 }
45 
46 std::ostream& operator<<(std::ostream& output, const L1CaloPpmFineTimeRefs& r) {
47  output << "channelID: " << std::hex << r.m_channelId.id() << std::dec << ", " << "errorCode: " << r.m_errorCode<< ", " << "refValue: " << r.m_refValue << ", " << "criterion: " << r.m_criterion<< ", " << "calibValue: " << r.m_calibValue ;
48  return output;
49 }
beamspotman.r
def r
Definition: beamspotman.py:676
FineTimeErrorCode
FineTimeErrorCode class for L1Calo error codes.
Definition: FineTimeErrorCode.h:19
L1CaloPpmFineTimeRefs::L1CaloPpmFineTimeRefs
L1CaloPpmFineTimeRefs()
Definition: L1CaloPpmFineTimeRefs.cxx:12
operator<<
std::ostream & operator<<(std::ostream &output, const L1CaloPpmFineTimeRefs &r)
Definition: L1CaloPpmFineTimeRefs.cxx:46
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
merge.output
output
Definition: merge.py:17
L1CaloCoolChannelId
Definition: L1CaloCoolChannelId.h:10
L1CaloPpmFineTimeRefs.h
L1CaloPpmFineTimeRefs
Definition: L1CaloPpmFineTimeRefs.h:23