27 ISvcLocator* pSvcLocator ) :
49 m_ntuple =
new TTree(
"tree1",
"tree title");
53 return StatusCode::FAILURE;
61 return StatusCode::SUCCESS;
68 return StatusCode::SUCCESS;
85 return StatusCode::FAILURE;
90 m_run = evt->runNumber();
95 for (
unsigned int i=2; i <
m_size; ++i) {
106 "rundata-sz: [" <<
m_rundata.size() <<
"]");
108 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Ntup()
Default constructor:
virtual StatusCode execute()
virtual StatusCode finalize()
SG::ReadHandleKey< xAOD::EventInfo > m_evt
key to the event-info
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