ATLAS Offline Software
Loading...
Searching...
No Matches
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
20#include "GaudiKernel/ToolHandle.h"
22
23
31
32/* Forward declarations */
33
34namespace InDet
35{
36 class InDetV0FinderTool;
37
39 {
40 public:
41 InDetV0Finder(const std::string &name, ISvcLocator *pSvcLocator);
42 virtual ~InDetV0Finder();
43 StatusCode initialize();
44 StatusCode execute();
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
71 long m_V0s_stored = 0;
75
76 };
77
78}//end of namespace InDet
79
80#endif
81
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SG::WriteHandleKey< xAOD::VertexContainer > m_lbKey
ToolHandle< InDet::InDetV0FinderTool > m_v0FinderTool
BooleanProperty m_decorate
decorate V0 containers
SG::WriteHandleKey< xAOD::VertexContainer > m_laKey
InDetV0Finder(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< xAOD::VertexContainer > m_v0Key
SG::WriteHandleKey< xAOD::VertexContainer > m_ksKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexKey
ToolHandle< InDet::V0MainDecorator > m_v0DecoTool
virtual ~InDetV0Finder()
StatusCode resetStatistics()
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Primary Vertex Finder.