ATLAS Offline Software
Loading...
Searching...
No Matches
InDetVertexSplitterHist.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef INDET_INDETVERTEXSPLITTERHIST_H
6#define INDET_INDETVERTEXSPLITTERHIST_H
20
22#include "GaudiKernel/ObjectVector.h"
23#include "GaudiKernel/ServiceHandle.h"
24#include "GaudiKernel/ITHistSvc.h"
25
26#include <string>
27#include <vector>
28#include <map>
29#include "TTree.h"
30
31namespace InDet {
32
34
35 public:
36
37 InDetVertexSplitterHist(const std::string& name, ISvcLocator* pSvcLocator);
39
40 StatusCode initialize();
41 StatusCode finalize();
42 StatusCode execute();
43
44 private:
45
46 StatusCode makeSplitHist();
47
50
51 std::string m_splitVxName;
52
53 TTree * m_ntuple;
54
56 vertexBranch():size(0),x(0.),y(0.),z(0.),c00(0.),c01(0.),c11(0.),c22(0.){}
57 int size;
58 float x,y,z,c00,c01,c11,c22;
59 };
60 struct metaData{
61 metaData():run(0),lumi(0),event(0){}
63 };
64
68
69 };
70
71}
72#endif // INDET_INDETVERTEXSPLITTERHIST_H
73
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
InDetVertexSplitterHist(const std::string &name, ISvcLocator *pSvcLocator)
Author: Peter V.
StatusCode finalize()
Finalize - delete any memory allocation from the heap.
StatusCode execute()
Execute - on event by event.
ServiceHandle< ITHistSvc > m_thistSvc
get a handle on the Hist/TTree registration service
~InDetVertexSplitterHist()
Destructor - check up memory allocation delete any memory allocation on the heap.
Primary Vertex Finder.
Definition run.py:1