20#include "GaudiKernel/INTupleSvc.h"
57 NTuplePtr nt(
ntupleSvc(), ntupleCompleteID);
61 ATH_MSG_INFO(
"Reaccessing ntuple " << ntupleCompleteID );
87 ATH_MSG_ERROR(
"Failed to book or to retrieve ntuple " << ntupleCompleteID );
88 return StatusCode::FAILURE;
90 ATH_MSG_INFO(
"Finished booking ntuple " << ntupleCompleteID );
96 return StatusCode::SUCCESS;
113 for (
const TileDigits* tile_digits : allTileDigits) {
118 std::vector<float> samples = tile_digits->samples();
119 int n_samples = samples.size();
214 return StatusCode::SUCCESS;
223 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
SelectAllObjectMT< DCC, OBJECT > SelectAllObject
Handle class for reading from StoreGate.
const ServiceHandle< StoreGateSvc > & detStore() const
bool is_valid() const
Check if id is in a valid state.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
Gaudi::Property< bool > m_saveAll
NTuple::Item< short > m_nChannel
StatusCode execute() override
NTuple::Array< short > m_gain
NTuple::Array< short > m_phi
const TileTBID * m_tileTBID
NTuple::Tuple * m_ntuplePtr
SG::ReadHandleKey< TileDigitsContainer > m_digitsContainerKey
Gaudi::Property< std::string > m_ntupleID
NTuple::Array< short > m_channel
const TileHWID * m_tileHWID
NTuple::Array< short > m_drawer
Gaudi::Property< std::string > m_infoName
Gaudi::Property< std::string > m_ntupleLoc
Gaudi::Property< bool > m_saveE4prAndMBTS
NTuple::Array< short > m_section
StatusCode initialize() override
StatusCode finalize() override
NTuple::Array< short > m_ros
NTuple::Array< short > m_sample
Gaudi::Property< int > m_commitNtuple
NTuple::Array< short > m_adc
NTuple::Array< short > m_pmt
NTuple::Matrix< short > m_samples
NTuple::Array< short > m_eta
NTuple::Array< short > m_side
Gaudi::Property< int > m_saveMaxChannels
int NdigitSamples() const
Returns the number of sammples (digits) per event.