ATLAS Offline Software
NewVrtSecInclusiveAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // NewVrtSecInclusiveAlg.h, (c) ATLAS Detector software
7 // author: Vadim Kostyukhin (vadim.kostyukhin@cern.ch)
9 
14 #ifndef VKalVrt_NewVrtSecInclusiveAlg_H
15 #define VKalVrt_NewVrtSecInclusiveAlg_H
16 
17 #include <string>
18 #include <vector>
19 
21 #include "GaudiKernel/ToolHandle.h"
27 #include "xAODJet/JetContainer.h"
28 
29 
30 namespace Rec {
31 
33  public:
34 
35  NewVrtSecInclusiveAlg( const std::string& name, ISvcLocator* pSvcLocator );
36 
37  StatusCode initialize() override;
38  StatusCode execute(const EventContext &ctx) const override;
39  StatusCode finalize() override;
40 
41  private:
42 
43  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_tpContainerKey{this,"TrackParticleContainer","InDetTrackParticles","Read TrackParticle container"};
44  SG::ReadHandleKey<xAOD::VertexContainer> m_pvContainerKey{this,"PrimaryVertexContainer","PrimaryVertices","Read PrimaryVertices container"};
45  SG::ReadHandleKey<xAOD::JetContainer> m_jetContainerKey{this,"JetContainer","AntiKt4EMPFlowJets","Read Jets container"};
46  SG::ReadHandleKey<xAOD::VertexContainer> m_btsvContainerKey{this,"BTagSVContainer","BTagging_AntiKt4EMPFlowSecVtx","Read BTagiingSV container"};
47 
48  SG::WriteHandleKey<xAOD::VertexContainer> m_foundVerticesKey{this,"BVertexContainerName","AllBVertices","Found vertices container"};
49  ToolHandle < Rec::IVrtInclusive > m_bvertextool;
50  };
51 }
52 
53 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
Rec::NewVrtSecInclusiveAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: NewVrtSecInclusiveAlg.cxx:50
Rec::NewVrtSecInclusiveAlg::m_btsvContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_btsvContainerKey
Definition: NewVrtSecInclusiveAlg.h:46
Rec::NewVrtSecInclusiveAlg::finalize
StatusCode finalize() override
Definition: NewVrtSecInclusiveAlg.cxx:45
SG::ReadHandleKey< xAOD::TrackParticleContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
Rec::NewVrtSecInclusiveAlg::m_pvContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_pvContainerKey
Definition: NewVrtSecInclusiveAlg.h:44
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Rec::NewVrtSecInclusiveAlg::m_bvertextool
ToolHandle< Rec::IVrtInclusive > m_bvertextool
Definition: NewVrtSecInclusiveAlg.h:49
Rec::NewVrtSecInclusiveAlg::m_jetContainerKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
Definition: NewVrtSecInclusiveAlg.h:45
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
Rec::NewVrtSecInclusiveAlg::NewVrtSecInclusiveAlg
NewVrtSecInclusiveAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: NewVrtSecInclusiveAlg.cxx:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
VertexContainer.h
JetContainer.h
Rec::NewVrtSecInclusiveAlg
Definition: NewVrtSecInclusiveAlg.h:32
Rec::NewVrtSecInclusiveAlg::initialize
StatusCode initialize() override
Definition: NewVrtSecInclusiveAlg.cxx:34
IVrtInclusive.h
Rec::NewVrtSecInclusiveAlg::m_tpContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tpContainerKey
Definition: NewVrtSecInclusiveAlg.h:43
TrackParticleContainer.h
Rec::NewVrtSecInclusiveAlg::m_foundVerticesKey
SG::WriteHandleKey< xAOD::VertexContainer > m_foundVerticesKey
Definition: NewVrtSecInclusiveAlg.h:48