35 if (
sc!=StatusCode::SUCCESS) {
37 return StatusCode::FAILURE;
41 if (
sc!=StatusCode::SUCCESS) {
43 return StatusCode::FAILURE;
49 if (
sc!=StatusCode::SUCCESS) {
51 return StatusCode::FAILURE;
55 for (
unsigned k=0 ; k<
m_keylist.size() ; k++ ) {
66 ATH_MSG_ERROR(
"Cannot read non-const LArPhysWaveContainer from StoreGate! key=" << key );
67 ATH_MSG_ERROR(
"The ApplyCorrection option works only for non-const containers!" );
71 ATH_MSG_INFO(
"Read non-const LArPhysWaveContainer from StoreGate! key= " << key );
76 ATH_MSG_ERROR(
"Failed to apply corrections to LArPhysWaveContainer!" );
79 physWaveContainer=physWaveContainer_nc;
84 ATH_MSG_ERROR(
"Cannot read LArPhysWaveContainer from StoreGate! key=" << key );
85 return StatusCode::FAILURE;
87 ATH_MSG_INFO(
"Read const LArPhysWaveContainer from StoreGate! key= " << key );
99 if (
sc!=StatusCode::SUCCESS) {
110 for(;itUndo!=itUndo_e;itUndo++) {
117 if (
sc!=StatusCode::SUCCESS) {
126 return StatusCode::SUCCESS;
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
StoreGateSvc * m_detStore
const LArOnlineID_Base * m_onlineId
bool correctionsApplied() const
Have corrections been applied?
StatusCode applyCorrections()
apply correction set
ConstCorrectionIt undoCorrBegin(unsigned int gain) const
get iterator over the Undo-Vector for a certain gain
ConstCorrectionIt undoCorrEnd(unsigned int gain) const
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
Subset::ConstCorrectionVecIt ConstCorrectionIt
Liquid Argon Physics Wave Container.
int getTimeOffset() const
std::vector< std::string > m_keylist
NTuple::Item< float > m_timeOffset
virtual StatusCode stop()
NTuple::Item< long > m_corrUndo
LArPhysWaves2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Item< long > m_gain
bool isEmpty() const
is LArWave uninitialized?
LArWaves2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
bool fillWave(const HWIdentifier chid, const LArWaveCumul &wave)