ATLAS Offline Software
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 
20 namespace DerivationFramework {
21 
22  class Reco_V0Finder : public AthAlgTool, public 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 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 
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
IAugmentationTool.h
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DerivationFramework::Reco_V0Finder::m_v0FinderTool
ToolHandle< InDet::InDetV0FinderTool > m_v0FinderTool
Definition: Reco_V0Finder.h:33
DerivationFramework::Reco_V0Finder::m_lbKey
SG::WriteHandleKey< xAOD::VertexContainer > m_lbKey
Definition: Reco_V0Finder.h:42
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
V0MainDecorator.h
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
InDetV0FinderTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::Reco_V0Finder::m_CollectionsToCheck
std::vector< std::string > m_CollectionsToCheck
Definition: Reco_V0Finder.h:32
DerivationFramework::Reco_V0Finder::Reco_V0Finder
Reco_V0Finder(const std::string &t, const std::string &n, const IInterface *p)
Definition: Reco_V0Finder.cxx:14
DerivationFramework::Reco_V0Finder::addBranches
virtual StatusCode addBranches() const override
Pass the thinning service
Definition: Reco_V0Finder.cxx:50
DerivationFramework::Reco_V0Finder::m_v0DecoTool
ToolHandle< InDet::V0MainDecorator > m_v0DecoTool
Definition: Reco_V0Finder.h:45
DerivationFramework::Reco_V0Finder::m_ksKey
SG::WriteHandleKey< xAOD::VertexContainer > m_ksKey
Definition: Reco_V0Finder.h:39
DerivationFramework::Reco_V0Finder
Definition: Reco_V0Finder.h:22
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::Reco_V0Finder::m_vertexKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexKey
Definition: Reco_V0Finder.h:35
DerivationFramework::Reco_V0Finder::m_v0Key
SG::WriteHandleKey< xAOD::VertexContainer > m_v0Key
Definition: Reco_V0Finder.h:38
DerivationFramework::Reco_V0Finder::initialize
StatusCode initialize() override
Definition: Reco_V0Finder.cxx:29
DerivationFramework::Reco_V0Finder::m_laKey
SG::WriteHandleKey< xAOD::VertexContainer > m_laKey
Definition: Reco_V0Finder.h:40