![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "Identifier/Identifier.h"
11 #include "GaudiKernel/ThreadLocalContext.h"
13 #include "CLHEP/Units/SystemOfUnits.h"
16 ISvcLocator* pSvcLocator):
18 m_onlineHelper(nullptr),
19 m_DataLocation(
"FREE"),
20 m_ChannelContainerName(
"LArRawChannels"),
23 m_pedestalTools(this),
64 ATH_MSG_ERROR(
"Didn't find any BuilderTools to do reconstruction !" );
65 return(StatusCode::FAILURE);
68 ATH_MSG_ERROR(
"Didn't find and ADC2ETools to do reconstruction !" );
69 return(StatusCode::FAILURE);
72 ATH_MSG_ERROR(
"Didn't find and PedestalTools to do reconstruction !" );
73 return(StatusCode::FAILURE);
75 return StatusCode::SUCCESS;
81 const EventContext& ctx = Gaudi::Hive::currentContext();
91 return StatusCode::SUCCESS;
102 if( digitContainer->
empty() ) {
104 return StatusCode::SUCCESS;
111 return StatusCode::FAILURE;
116 tool->initEventHidden();
192 tool->finalEventHidden();
195 tool->finalEventHidden();
198 tool->finalEventHidden();
200 return StatusCode::SUCCESS;
226 while( !(*it)->ADC2E(ctx,
m_ramps, &
msg()) && ++
it != itEnd )
235 tool->printSummary();
239 tool->printSummary();
243 tool->printSummary();
245 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
CaloGain::CaloGain curr_gain
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
LArRawChannelContainer * m_larRawChannelContainer
const LArOnlineID * m_onlineHelper
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
std::string m_DataLocation
pedestalToolVector m_pedestalTools
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
std::vector< float > m_ramps
int curr_shiftTimeSamples
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
int m_defaultShiftTimeSamples
Liquid Argon digit base class.
Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Old LArRawChannelContainer
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string m_ChannelContainerName
unsigned int curr_maxsample
LArRawChannelBuilderParams m_params
StatusCode initialize(bool used=true)
adc2eToolVector m_adc2eTools
void ADC2energy(const EventContext &ctx)
#define ATH_MSG_WARNING(x)
LArRawChannelBuilderDriver(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Container class for LArDigit.
builderToolVector m_buildTools
HWIdentifier m_oldIdentifier
unsigned int curr_nsamples
unsigned int qualityBitPattern
size_type size() const noexcept
Returns the number of elements in the collection.
bool empty() const noexcept
Returns true if the collection is empty.