11#ifndef ATHEXHISTNTUP_ATHEXHIST_H
12#define ATHEXHISTNTUP_ATHEXHIST_H 1
19#include "GaudiKernel/ITHistSvc.h"
20#include "GaudiKernel/ServiceHandle.h"
39 Hist(
const std::string& name, ISvcLocator* pSvcLocator );
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::string m_evtInfoName
key to the event-info
ServiceHandle< ITHistSvc > m_ntsvc
handle to the n-tuple svc
virtual ~Hist()
Destructor:
Hist()
Default constructor:
virtual StatusCode initialize()
virtual StatusCode execute()
Hist(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode finalize()
TH1F * m_hist
pointer to our histogram
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)