11#ifndef ATHEXHISTNTUP_ATHEXNTUP_H
12#define ATHEXHISTNTUP_ATHEXNTUP_H 1
20#include "GaudiKernel/ITHistSvc.h"
21#include "GaudiKernel/ServiceHandle.h"
42 Ntup(
const std::string& name, ISvcLocator* pSvcLocator );
52 virtual StatusCode
execute(
const EventContext& ctx);
77 "key to the event-info instance to ntuple-ize."};
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Ntup()
Default constructor:
virtual StatusCode finalize()
Ntup(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SG::ReadHandleKey< xAOD::EventInfo > m_evt
key to the event-info
virtual StatusCode execute(const EventContext &ctx)
Execute method.
TTree * m_ntuple
pointer to the n-tuple
std::vector< long > m_rundata
virtual StatusCode initialize()
virtual ~Ntup()
Destructor:
ServiceHandle< ITHistSvc > m_ntSvc
handle to the histogram service
Property holding a SG store/key/clid from which a ReadHandle is made.