 |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef NONPROMPTLEPTONVERTEXINGALG_H
8 #define NONPROMPTLEPTONVERTEXINGALG_H
29 #include "GaudiKernel/ToolHandle.h"
38 #include "TStopwatch.h"
70 const std::vector<const xAOD::TrackParticle* > &tracks
74 std::vector<std::unique_ptr<xAOD::Vertex>> &clusterVtxs,
75 std::vector<std::unique_ptr<xAOD::Vertex>> &inputVtxs
79 std::vector<std::unique_ptr<xAOD::Vertex>> &vtxs,
80 std::vector<int> &indexVector,
83 std::set< xAOD::Vertex* >& svSet
97 this,
"VertexMergingTool",
98 "Prompt::VertexMergingTool/PromptVertexMergingTool"
101 this,
"VertexFittingTool",
"Prompt::VertexFittingTool/VertexFittingTool"
107 Gaudi::Property<bool>
m_printTime {
this,
"PrintTime",
false};
116 this,
"ReFitPriVtxTypeName",
"refittedVertexType"
119 Gaudi::Property<float>
m_minTrackpT {
this,
"minTrackpT", 500.0};
133 this,
"InDetTrackParticlesKey",
"InDetTrackParticles"
136 this,
"LeptonContainerName",
"default"
139 this,
"PriVertexContainerName",
"PrimaryVertices"
142 this,
"ReFitPriVtxContainerName",
"default"
145 this,
"SVContainerName",
"default"
172 #endif // NONPROMPTLEPTONVERTEXINGALG_H
Gaudi::Property< float > m_minTrackpT
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Gaudi::Property< unsigned > m_minTrackSiHits
Gaudi::Property< float > m_maxTrackZ0Sin
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoratorNameSecVtxLinks
Gaudi::Property< bool > m_selectTracks
Gaudi::Property< double > m_mergeMinVtxDist
Gaudi::Property< float > m_maxTrackSharedSiHits
ToolHandle< Prompt::VertexFittingTool > m_vertexFitterTool
SG::AuxElement::Decorator< std::vector< ElementLink< xAOD::VertexContainer > > > decoratorVecElemVtx_t
Gaudi::Property< std::string > m_linkNameRefittedPriVtxWithoutLepton
SG::ReadHandleKey< xAOD::IParticleContainer > m_leptonContainerKey
Gaudi::Property< unsigned > m_maxTrackSiHoles
std::vector< std::unique_ptr< xAOD::Vertex > > prepLepWithTwoTrkSVVec(const FittingInput &input, const xAOD::TrackParticle *tracklep, const std::vector< const xAOD::TrackParticle * > &tracks)
virtual StatusCode initialize() override
Gaudi::Property< float > m_maxTrackEta
SG::AuxElement::Decorator< std::vector< int > > decoratorVecInt_t
SG::ReadHandleKey< xAOD::VertexContainer > m_refittedPriVtxContainerName
SG::ReadHandleKey< xAOD::VertexContainer > m_primaryVertexContainerName
Gaudi::Property< bool > m_printTime
Gaudi::Property< double > m_mergeChi2OverDoF
ToolHandle< Prompt::IVertexMergingTool > m_vertexMerger
Property holding a SG store/key/clid from which a WriteHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Helper class to provide type-safe access to aux data.
bool passElecCand(const xAOD::Electron &elec) const
void saveSecondaryVertices(std::vector< std::unique_ptr< xAOD::Vertex >> &vtxs, std::vector< int > &indexVector, std::vector< ElementLink< xAOD::VertexContainer > > &svLinks, xAOD::VertexContainer &SVContainer, std::set< xAOD::Vertex * > &svSet)
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< unsigned > m_maxTrackPixHoles
SG::WriteHandleKey< xAOD::VertexContainer > m_svContainerName
Gaudi::Property< float > m_maxTrackLeptonDR
Gaudi::Property< std::string > m_refittedVertexTypeName
std::vector< const xAOD::TrackParticle * > findNearbyTracks(const xAOD::TrackParticle &tracklep, const xAOD::TrackParticleContainer &inDetTracks, const xAOD::Vertex &priVtx) const
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoratorNameDeepMergedSecVtxLinks
Gaudi::Property< float > m_minTrackLeptonDR
virtual StatusCode execute() override
ElementLink implementation for ROOT usage.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inDetTracksKey
virtual StatusCode finalize() override
bool passMuonCand(const xAOD::Muon &muon) const
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoratorNameIndexVectorDeepMerge
Class describing a Vertex.
void makeVertexCluster(std::vector< std::unique_ptr< xAOD::Vertex >> &clusterVtxs, std::vector< std::unique_ptr< xAOD::Vertex >> &inputVtxs)
Class describing a TrackParticle.
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoratorNameIndexVector
NonPromptLeptonVertexingAlg(const std::string &name, ISvcLocator *pSvcLocator)