 |
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef VKalVrt_NewVrtSecInclusiveAlg_H
15 #define VKalVrt_NewVrtSecInclusiveAlg_H
21 #include "GaudiKernel/ToolHandle.h"
54 ToolHandle < Rec::IVrtInclusive >
m_bvertextool{
this,
"BVertexTool",
"Rec::NewVrtSecInclusiveTool/SVTool"};
56 Gaudi::Property<bool>
m_addIDTracks{
this,
"AddIDTracks",
true,
"Set to true if you want to add ID tracks to the pool"};
57 Gaudi::Property<bool>
m_addGSFTracks{
this,
"AddGSFTracks",
false,
"Set to true if you want to add GSF tracks to the pool"};
58 Gaudi::Property<bool>
m_addMuonTracks{
this,
"AddMuonTracks",
false,
"Set to true if you want to add ID tracks from muons to the pool"};
59 Gaudi::Property<bool>
m_addElectronTracks{
this,
"AddElectronTracks",
false,
"Set to true if you want to add GSF tracks from electrons to the pool"};
60 Gaudi::Property<bool>
m_removeNonLepVerts{
this,
"RemoveNonLepVertices",
false,
"Set to true if you want to remove vertices with no associated lepton tracks"};
62 void addInDetTracks(
const EventContext &, std::unordered_set<const xAOD::TrackParticle*>&)
const;
63 void addGSFTracks(
const EventContext &, std::unordered_set<const xAOD::TrackParticle*>&)
const;
64 void addMuonTracks(
const EventContext &, std::unordered_set<const xAOD::TrackParticle*>&)
const;
65 void addElectronTracks(
const EventContext &, std::unordered_set<const xAOD::TrackParticle*>&)
const;
Property holding a SG store/key/clid from which a ReadHandle is made.
StatusCode execute(const EventContext &ctx) const override
bool vertexHasNoLep(const EventContext &, const xAOD::Vertex *) const
SG::ReadHandleKey< xAOD::VertexContainer > m_btsvContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_gsfContainerKey
StatusCode finalize() override
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< xAOD::VertexContainer > m_pvContainerKey
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronContainerKey
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
::StatusCode StatusCode
StatusCode definition for legacy code.
void addElectronTracks(const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
ToolHandle< Rec::IVrtInclusive > m_bvertextool
Gaudi::Property< bool > m_addElectronTracks
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
Property holding a SG store/key/clid from which a WriteHandle is made.
NewVrtSecInclusiveAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< bool > m_addGSFTracks
void addGSFTracks(const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
Class describing a Vertex.
Gaudi::Property< bool > m_removeNonLepVerts
Gaudi::Property< bool > m_addMuonTracks
StatusCode initialize() override
void addMuonTracks(const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
Gaudi::Property< bool > m_addIDTracks
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tpContainerKey
void addInDetTracks(const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
SG::WriteHandleKey< xAOD::VertexContainer > m_foundVerticesKey