ATLAS Offline Software
InnerDetector
InDetValidation
InDetVertexSplitter
src
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
7
21
#include "
AthenaBaseComps/AthAlgorithm.h
"
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
31
namespace
InDet
{
32
33
class
InDetVertexSplitterHist
:
public
AthAlgorithm
{
34
35
public
:
36
37
InDetVertexSplitterHist
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
38
~InDetVertexSplitterHist
();
39
40
StatusCode
initialize
();
41
StatusCode
finalize
();
42
StatusCode
execute
();
43
44
private
:
45
46
StatusCode
makeSplitHist
();
47
49
ServiceHandle<ITHistSvc>
m_thistSvc
;
50
51
std::string
m_splitVxName
;
52
53
TTree *
m_ntuple
;
54
55
struct
vertexBranch
{
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){}
62
int
run
,
lumi
,
event
;
63
};
64
65
vertexBranch
m_oddBranch
;
66
vertexBranch
m_evenBranch
;
67
metaData
m_metaData
;
68
69
};
70
71
}
72
#endif // INDET_INDETVERTEXSPLITTERHIST_H
73
InDet::InDetVertexSplitterHist::vertexBranch::x
float x
Definition:
InDetVertexSplitterHist.h:58
InDet::InDetVertexSplitterHist::metaData
Definition:
InDetVertexSplitterHist.h:60
InDet::InDetVertexSplitterHist::metaData::metaData
metaData()
Definition:
InDetVertexSplitterHist.h:61
InDet::InDetVertexSplitterHist::initialize
StatusCode initialize()
Initialize.
Definition:
InDetVertexSplitterHist.cxx:52
InDet::InDetVertexSplitterHist::m_metaData
metaData m_metaData
Definition:
InDetVertexSplitterHist.h:67
InDet::InDetVertexSplitterHist::vertexBranch::c00
float c00
Definition:
InDetVertexSplitterHist.h:58
InDet::InDetVertexSplitterHist::m_oddBranch
vertexBranch m_oddBranch
Definition:
InDetVertexSplitterHist.h:65
InDet
Primary Vertex Finder.
Definition:
VP1ErrorUtils.h:36
InDet::InDetVertexSplitterHist::vertexBranch::size
int size
Definition:
InDetVertexSplitterHist.h:57
InDet::InDetVertexSplitterHist::execute
StatusCode execute()
Execute - on event by event.
Definition:
InDetVertexSplitterHist.cxx:80
InDet::InDetVertexSplitterHist::m_thistSvc
ServiceHandle< ITHistSvc > m_thistSvc
get a handle on the Hist/TTree registration service
Definition:
InDetVertexSplitterHist.h:49
InDet::InDetVertexSplitterHist::vertexBranch::vertexBranch
vertexBranch()
Definition:
InDetVertexSplitterHist.h:56
InDet::InDetVertexSplitterHist::vertexBranch::c01
float c01
Definition:
InDetVertexSplitterHist.h:58
AthAlgorithm.h
InDet::InDetVertexSplitterHist::metaData::event
int event
Definition:
InDetVertexSplitterHist.h:62
InDet::InDetVertexSplitterHist::vertexBranch::z
float z
Definition:
InDetVertexSplitterHist.h:58
InDet::InDetVertexSplitterHist::finalize
StatusCode finalize()
Finalize - delete any memory allocation from the heap.
Definition:
InDetVertexSplitterHist.cxx:70
InDet::InDetVertexSplitterHist::m_splitVxName
std::string m_splitVxName
Definition:
InDetVertexSplitterHist.h:51
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
run
Definition:
run.py:1
InDet::InDetVertexSplitterHist::makeSplitHist
StatusCode makeSplitHist()
Definition:
InDetVertexSplitterHist.cxx:96
InDet::InDetVertexSplitterHist::vertexBranch
Definition:
InDetVertexSplitterHist.h:55
AthAlgorithm
Definition:
AthAlgorithm.h:47
InDet::InDetVertexSplitterHist::m_evenBranch
vertexBranch m_evenBranch
Definition:
InDetVertexSplitterHist.h:66
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
InDet::InDetVertexSplitterHist
Definition:
InDetVertexSplitterHist.h:33
InDet::InDetVertexSplitterHist::metaData::run
int run
Definition:
InDetVertexSplitterHist.h:62
InDet::InDetVertexSplitterHist::~InDetVertexSplitterHist
~InDetVertexSplitterHist()
Destructor - check up memory allocation delete any memory allocation on the heap.
InDet::InDetVertexSplitterHist::vertexBranch::c11
float c11
Definition:
InDetVertexSplitterHist.h:58
InDet::InDetVertexSplitterHist::vertexBranch::y
float y
Definition:
InDetVertexSplitterHist.h:58
InDet::InDetVertexSplitterHist::m_ntuple
TTree * m_ntuple
Definition:
InDetVertexSplitterHist.h:53
InDet::InDetVertexSplitterHist::InDetVertexSplitterHist
InDetVertexSplitterHist(const std::string &name, ISvcLocator *pSvcLocator)
Author: Peter V.
Definition:
InDetVertexSplitterHist.cxx:32
InDet::InDetVertexSplitterHist::vertexBranch::c22
float c22
Definition:
InDetVertexSplitterHist.h:58
ServiceHandle< ITHistSvc >
InDet::InDetVertexSplitterHist::metaData::lumi
int lumi
Definition:
InDetVertexSplitterHist.h:62
Generated on Fri Jan 10 2025 21:11:37 for ATLAS Offline Software by
1.8.18