ATLAS Offline Software
Loading...
Searching...
No Matches
Reco_V0Finder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
5// Reco_V0Finder.h, (c) ATLAS Detector software
7
8#ifndef DERIVATIONFRAMEWORK_V0FINDER_H
9#define DERIVATIONFRAMEWORK_V0FINDER_H
10
11#include <string>
12
14#include "GaudiKernel/ToolHandle.h"
18
19
20namespace DerivationFramework {
21
22 class Reco_V0Finder : public extends<AthAlgTool, IAugmentationTool> {
23 public:
24 Reco_V0Finder(const std::string& t, const std::string& n, const IInterface* p);
25
26 StatusCode initialize() override;
27
28 virtual StatusCode addBranches(const EventContext& ctx) const override;
29
30 private:
31
32 std::vector<std::string> m_CollectionsToCheck;
33 ToolHandle <InDet::InDetV0FinderTool> m_v0FinderTool;
34
35 SG::ReadHandleKey<xAOD::VertexContainer> m_vertexKey { this, "VxPrimaryCandidateName", "PrimaryVertices",
36 "key for retrieving vertices" };
37
38 SG::WriteHandleKey<xAOD::VertexContainer> m_v0Key { this, "V0ContainerName", "V0Candidates", "V0 container" };
39 SG::WriteHandleKey<xAOD::VertexContainer> m_ksKey { this, "KshortContainerName", "KshortCandidates", "Ks container" };
40 SG::WriteHandleKey<xAOD::VertexContainer> m_laKey { this, "LambdaContainerName", "LambdaCandidates",
41 "Lambda container" };
42 SG::WriteHandleKey<xAOD::VertexContainer> m_lbKey { this, "LambdabarContainerName", "LambdabarCandidates",
43 "Lambdabar container" };
44
45 ToolHandle<InDet::V0MainDecorator> m_v0DecoTool{this, "Decorator", "InDet::V0MainDecorator"};
46 };
47}
48
49#endif // DERIVATIONFRAMEWORK_Reco_dimuTrk_H
50
SG::WriteHandleKey< xAOD::VertexContainer > m_v0Key
std::vector< std::string > m_CollectionsToCheck
ToolHandle< InDet::V0MainDecorator > m_v0DecoTool
ToolHandle< InDet::InDetV0FinderTool > m_v0FinderTool
SG::WriteHandleKey< xAOD::VertexContainer > m_ksKey
SG::WriteHandleKey< xAOD::VertexContainer > m_lbKey
virtual StatusCode addBranches(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexKey
Reco_V0Finder(const std::string &t, const std::string &n, const IInterface *p)
SG::WriteHandleKey< xAOD::VertexContainer > m_laKey
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.
THE reconstruction tool.