|
ATLAS Offline Software
|
Go to the documentation of this file.
18 #include "Gaudi/Property.h"
26 using namespace AthEx;
35 ISvcLocator* pSvcLocator ) :
37 m_ntsvc(
"THistSvc/THistSvc",
name),
49 "key to the event-info instance to ntuple-ize.");
63 if (!
m_ntsvc.retrieve().isSuccess()) {
65 return StatusCode::FAILURE;
69 m_ntuple =
new TTree(
"tree1",
"tree title");
73 return StatusCode::FAILURE;
81 return StatusCode::SUCCESS;
88 return StatusCode::SUCCESS;
106 return StatusCode::FAILURE;
116 for (
unsigned int i=2;
i <
m_size; ++
i) {
127 "rundata-sz: [" <<
m_rundata.size() <<
"]");
129 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
std::string m_evtInfoName
key to the event-info
virtual StatusCode execute()
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual StatusCode finalize()
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
virtual ~Ntup()
Destructor:
std::vector< long > m_rundata
virtual StatusCode initialize()
::StatusCode StatusCode
StatusCode definition for legacy code.
TTree * m_ntuple
pointer to the n-tuple
Class describing the basic event information.
ServiceHandle< ITHistSvc > m_ntsvc
handle to the n-tuple svc
Ntup()
Default constructor:
#define ATH_MSG_WARNING(x)