Loading [MathJax]/extensions/tex2jax.js
 |
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"
38 , m_ntupleLoc(
"/FILE1/TileRec")
39 , m_hitVector(
"TileHitVec")
73 return StatusCode::FAILURE;
77 CLID_ColumnWiseTuple,
"TileHit-Ntuple");
85 "Failed to book or to retrieve ntuple " << ntupleCompleteID );
86 return StatusCode::FAILURE;
88 ATH_MSG_INFO(
"Reaccessing ntuple " << ntupleCompleteID );
113 return StatusCode::SUCCESS;
135 for (
const TileHit& cinp : *inputHits) {
139 int size = cinp.size();
140 for (
int i = 0;
i <
size; ++
i) {
141 float time=cinp.time(
i);
142 double ene=cinp.energy(
i);
191 <<
"), ignore all the rest" );
205 return StatusCode::SUCCESS;
215 return StatusCode::SUCCESS;
NTuple::Array< float > m_energy
def retrieve(aClass, aKey=None)
NTuple::Array< int > m_sample
NTuple::Item< double > m_tolE0
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
int pmt(const Identifier &id) const
int side(const Identifier &id) const
int sample(const Identifier &id) const
NTuple::Item< double > m_tolE1
bool msgLvl(const MSG::Level lvl) const
NTuple::Tuple * m_ntuplePtr
int tower(const Identifier &id) const
NTuple::Array< int > m_pmt
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
NTuple::Item< double > m_tolE2
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
int module(const Identifier &id) const
NTuple::Array< int > m_phi
::StatusCode StatusCode
StatusCode definition for legacy code.
NTuple::Array< int > m_side
NTuple::Array< float > m_time
#define CHECK(...)
Evaluate an expression and check for errors.
NTuple::Array< int > m_eta
TileHitVecToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Item< int > m_nchan
NTuple::Item< double > m_tolE4
Helpers for checking error return status codes and reporting errors.
def time(flags, cells_name, *args, **kw)
std::string to_string(const Identifier &id, int level=0) const
int section(const Identifier &id) const
NTuple::Item< double > m_tolE3
NTuple::Array< int > m_detector
virtual ~TileHitVecToNtuple()
NTuple::Item< double > m_tolE