|
ATLAS Offline Software
|
Go to the documentation of this file.
20 #include "GaudiKernel/INTupleSvc.h"
21 #include "GaudiKernel/IDataProviderSvc.h"
22 #include "GaudiKernel/SmartDataPtr.h"
84 ATH_MSG_INFO(
"Reaccessing ntuple " << ntupleCompleteID );
110 ATH_MSG_ERROR(
"Failed to book or to retrieve ntuple " << ntupleCompleteID );
111 return StatusCode::FAILURE;
113 ATH_MSG_INFO(
"Finished booking ntuple " << ntupleCompleteID );
117 return StatusCode::SUCCESS;
134 for (
const TileDigits* tile_digits : allTileDigits) {
139 std::vector<float> samples = tile_digits->samples();
140 int n_samples = samples.size();
216 return StatusCode::SUCCESS;
225 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
NTuple::Array< short > m_side
bool is_tiletb(const Identifier &id) const
Test ID if it is TileTBID.
int NdigitSamples() const
Returns the number of sammples (digits) per event.
NTuple::Array< short > m_phi
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
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
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.
int ros(const HWIdentifier &id) const
extract ros field from HW identifier
TileDigitsToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
int adc(const HWIdentifier &id) const
extract adc field from HW identifier
int adc(const Identifier &id) const
int module(const Identifier &id) const
::StatusCode StatusCode
StatusCode definition for legacy code.
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.
NTuple::Array< short > m_pmt
Helpers for checking error return status codes and reporting errors.
virtual ~TileDigitsToNtuple()
NTuple::Array< short > m_eta
std::string m_digitsContainer
int drawer(const HWIdentifier &id) const
extract drawer field from HW identifier
NTuple::Matrix< short > m_samples
NTuple::Array< short > m_adc
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
int eta(const Identifier &id) const
extract eta field from MBTS identifier
NTuple::Array< short > m_section
NTuple::Array< short > m_gain
int side(const Identifier &id) const
define synonyms for minimum bias scintillators