ATLAS Offline Software
LArRawChannelBuilderPedestalSampleZero.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 
9  const std::string& name,
10  const IInterface* parent):
12 {
13  m_helper = new LArRawChannelBuilderStatistics( 1, // number of possible errors
14  0x40); // bit pattern special for this tool,
15  // to be stored in "uint16_t provenance"
16  m_helper->setErrorString(0, "no errors");
17 }
18 
19 bool LArRawChannelBuilderPedestalSampleZero::pedestal(float& pedestal, MsgStream* /* pLog */ )
20 {
24 
25  return true;
26 }
LArRawChannelBuilderPedestalSampleZero::pedestal
bool pedestal(float &pedestal, MsgStream *pLog)
Definition: LArRawChannelBuilderPedestalSampleZero.cxx:19
LArRawChannelBuilderPedestalToolBase
extention of Interface definition for Tools for Pedestal Obtention
Definition: LArRawChannelBuilderPedestalToolBase.h:23
LArRawChannelBuilderStatistics::setErrorString
void setErrorString(unsigned int nerr, const std::string &s)
Definition: LArRawChannelBuilderStatistics.cxx:69
LArRawChannelBuilderStatistics
Returns various counters from the LArRawChannel building.
Definition: LArRawChannelBuilderStatistics.h:21
LArRawChannelBuilderStatistics::incrementErrorCount
void incrementErrorCount(unsigned int nerr)
Definition: LArRawChannelBuilderStatistics.cxx:34
LArRawChannelBuilderPedestalSampleZero.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LArRawChannelBuilderToolBaseClass::m_helper
LArRawChannelBuilderStatistics * m_helper
Definition: LArRawChannelBuilderToolBaseClass.h:82
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArRawChannelBuilderParams::curr_sample0
int curr_sample0
Definition: LArRawChannelBuilderParams.h:27
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArRawChannelBuilderPedestalSampleZero::LArRawChannelBuilderPedestalSampleZero
LArRawChannelBuilderPedestalSampleZero(const std::string &type, const std::string &name, const IInterface *parent)
Definition: LArRawChannelBuilderPedestalSampleZero.cxx:8
LArRawChannelBuilderStatistics::returnBitPattern
unsigned int returnBitPattern() const
Definition: LArRawChannelBuilderStatistics.cxx:85
LArRawChannelBuilderParams::qualityBitPattern
unsigned int qualityBitPattern
Definition: LArRawChannelBuilderParams.h:34
LArRawChannelBuilderToolBaseClass::m_parent
LArRawChannelBuilderParams * m_parent
Definition: LArRawChannelBuilderToolBaseClass.h:80