ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecAlgs
InDetV0Finder
src
InDetV0Finder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/***************************************************************************
6
InDetV0Finder.h - Description
7
-------------------
8
begin : 20-07-2005
9
authors : Evelina Bouhova-Thacker (Lancaster University), Rob Henderson (Lancater University)
10
email : e.bouhova@cern.ch, r.henderson@lancaster.ac.uk
11
changes :
12
13
***************************************************************************/
14
15
#ifndef INDETV0FINDER_INDETV0FINDER_H
16
#define INDETV0FINDER_INDETV0FINDER_H
17
18
#include "
InDetV0Finder/V0MainDecorator.h
"
19
#include "
AthenaBaseComps/AthAlgorithm.h
"
20
#include "GaudiKernel/ToolHandle.h"
21
#include "
xAODTracking/VertexContainerFwd.h
"
22
23
31
32
/* Forward declarations */
33
34
namespace
InDet
35
{
36
class
InDetV0FinderTool;
37
38
class
InDetV0Finder
:
public
AthAlgorithm
39
{
40
public
:
41
InDetV0Finder
(
const
std::string &name, ISvcLocator *pSvcLocator);
42
virtual
~InDetV0Finder
();
43
StatusCode
initialize
();
44
StatusCode
execute
(
const
EventContext& ctx);
45
StatusCode
finalize
();
46
StatusCode
resetStatistics
();
47
48
49
protected
:
50
// input primary vertices
51
SG::ReadHandleKey<xAOD::VertexContainer>
m_vertexKey
{
this
,
"VxPrimaryCandidateName"
,
"PrimaryVertices"
,
52
"key for retrieving vertices"
};
53
// V0 candidate output containers
54
SG::WriteHandleKey<xAOD::VertexContainer>
m_v0Key
{
this
,
"V0ContainerName"
,
"V0Candidates"
,
"V0 container"
};
55
SG::WriteHandleKey<xAOD::VertexContainer>
m_ksKey
{
this
,
"KshortContainerName"
,
"KshortCandidates"
,
"Ks container"
};
56
SG::WriteHandleKey<xAOD::VertexContainer>
m_laKey
{
this
,
"LambdaContainerName"
,
"LambdaCandidates"
,
57
"Lambda container"
};
58
SG::WriteHandleKey<xAOD::VertexContainer>
m_lbKey
{
this
,
"LambdabarContainerName"
,
"LambdabarCandidates"
,
59
"Lambdabar container"
};
60
61
// Tools
62
63
ToolHandle<InDet::InDetV0FinderTool>
m_v0FinderTool
{
this
,
"InDetV0FinderToolName"
,
"InDet::InDetV0FinderTool"
};
64
ToolHandle<InDet::V0MainDecorator>
m_v0DecoTool
{
this
,
"Decorator"
,
"InDet::V0MainDecorator"
};
65
66
// Other members
67
68
BooleanProperty
m_decorate
{
this
,
"decorateV0"
,
true
};
69
70
long
m_events_processed
= 0;
71
long
m_V0s_stored
= 0;
72
long
m_Kshort_stored
= 0;
73
long
m_Lambda_stored
= 0;
74
long
m_Lambdabar_stored
= 0;
75
76
};
77
78
}
//end of namespace InDet
79
80
#endif
81
AthAlgorithm.h
V0MainDecorator.h
VertexContainerFwd.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
InDet::InDetV0Finder::m_lbKey
SG::WriteHandleKey< xAOD::VertexContainer > m_lbKey
Definition
InDetV0Finder.h:58
InDet::InDetV0Finder::m_v0FinderTool
ToolHandle< InDet::InDetV0FinderTool > m_v0FinderTool
Definition
InDetV0Finder.h:63
InDet::InDetV0Finder::m_decorate
BooleanProperty m_decorate
decorate V0 containers
Definition
InDetV0Finder.h:68
InDet::InDetV0Finder::m_laKey
SG::WriteHandleKey< xAOD::VertexContainer > m_laKey
Definition
InDetV0Finder.h:56
InDet::InDetV0Finder::m_Lambdabar_stored
long m_Lambdabar_stored
Definition
InDetV0Finder.h:74
InDet::InDetV0Finder::InDetV0Finder
InDetV0Finder(const std::string &name, ISvcLocator *pSvcLocator)
Definition
InDetV0Finder.cxx:30
InDet::InDetV0Finder::finalize
StatusCode finalize()
Definition
InDetV0Finder.cxx:129
InDet::InDetV0Finder::m_v0Key
SG::WriteHandleKey< xAOD::VertexContainer > m_v0Key
Definition
InDetV0Finder.h:54
InDet::InDetV0Finder::initialize
StatusCode initialize()
Definition
InDetV0Finder.cxx:36
InDet::InDetV0Finder::m_Lambda_stored
long m_Lambda_stored
Definition
InDetV0Finder.h:73
InDet::InDetV0Finder::m_V0s_stored
long m_V0s_stored
Definition
InDetV0Finder.h:71
InDet::InDetV0Finder::m_Kshort_stored
long m_Kshort_stored
Definition
InDetV0Finder.h:72
InDet::InDetV0Finder::m_ksKey
SG::WriteHandleKey< xAOD::VertexContainer > m_ksKey
Definition
InDetV0Finder.h:55
InDet::InDetV0Finder::m_vertexKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexKey
Definition
InDetV0Finder.h:51
InDet::InDetV0Finder::m_events_processed
long m_events_processed
Definition
InDetV0Finder.h:70
InDet::InDetV0Finder::m_v0DecoTool
ToolHandle< InDet::V0MainDecorator > m_v0DecoTool
Definition
InDetV0Finder.h:64
InDet::InDetV0Finder::~InDetV0Finder
virtual ~InDetV0Finder()
InDet::InDetV0Finder::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
InDetV0Finder.cxx:57
InDet::InDetV0Finder::resetStatistics
StatusCode resetStatistics()
Definition
InDetV0Finder.cxx:144
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0