 |
ATLAS Offline Software
|
Go to the documentation of this file.
20 #include "GaudiKernel/INTupleSvc.h"
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;
Gaudi::Property< std::string > m_ntupleID
def retrieve(aClass, aKey=None)
NTuple::Array< short > m_side
bool is_tiletb(const Identifier &id) const
Test ID if it is TileTBID.
const_pointer_type cptr()
Dereference the pointer.
int NdigitSamples() const
Returns the number of sammples (digits) per event.
NTuple::Array< short > m_phi
int pmt(const Identifier &id) const
const TileTBID * m_tileTBID
NTuple::Array< short > m_ros
int side(const Identifier &id) const
int sample(const Identifier &id) const
NTuple::Tuple * m_ntuplePtr
int tower(const Identifier &id) const
NTuple::Array< short > m_drawer
bool is_valid() const
Check if id is in a valid state.
int channel(const HWIdentifier &id) const
extract channel field from HW identifier
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Gaudi::Property< bool > m_saveAll
int ros(const HWIdentifier &id) const
extract ros field from HW identifier
StatusCode initialize() override
int adc(const HWIdentifier &id) const
extract adc field from HW identifier
int adc(const Identifier &id) const
Gaudi::Property< int > m_saveMaxChannels
int module(const Identifier &id) const
Gaudi::Property< bool > m_saveE4prAndMBTS
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::string > m_infoName
int section(const Identifier &id) const
extract section field from TileTB identifier
NTuple::Item< short > m_nChannel
const TileHWID * m_tileHWID
#define CHECK(...)
Evaluate an expression and check for errors.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
NTuple::Array< short > m_pmt
StatusCode execute() override
Helpers for checking error return status codes and reporting errors.
NTuple::Array< short > m_eta
int drawer(const HWIdentifier &id) const
extract drawer field from HW identifier
NTuple::Matrix< short > m_samples
NTuple::Array< short > m_adc
StatusCode finalize() override
Gaudi::Property< int > m_commitNtuple
int phi(const Identifier &id) const
extract phi field from MBTS identifier
NTuple::Array< short > m_channel
NTuple::Array< short > m_sample
int section(const Identifier &id) const
Handle class for reading from StoreGate.
int eta(const Identifier &id) const
extract eta field from MBTS identifier
NTuple::Array< short > m_section
NTuple::Array< short > m_gain
Gaudi::Property< std::string > m_ntupleLoc
SG::ReadHandleKey< TileDigitsContainer > m_digitsContainerKey
int side(const Identifier &id) const
define synonyms for minimum bias scintillators