|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PHOTONVERTEXSELECTION_BUILDVERTEXPOINTINGALG_H
6 #define PHOTONVERTEXSELECTION_BUILDVERTEXPOINTINGALG_H
34 ISvcLocator* svcLoc =
nullptr);
40 this,
"PhotonContainerKey",
"Photons",
41 "The input photons (or electrons) container"};
45 this,
"PointingVertexContainerKey",
"PhotonPointingVertices",
""};
73 this,
"selectionTool",
"CP::AsgPtEtaSelectionTool/PhotonSelectionTool",
74 "the selection tool we apply to photons to compute pointing variables"};
77 this,
"goodPhotonSelectionTool",
"",
78 "the selection tool to count good photons"};
80 Gaudi::Property<float>
m_convPtCut {
this,
"convPtCut", 2E3,
"the conversion pt cut"};
81 Gaudi::Property<int>
m_nphotons_to_use {
this,
"nphotonsToUse", -1,
"the number of photons to use for the pointing computation"};
89 #endif // PHOTONVERTEXSELECTION_BUILDVERTEXPOINTINGALG_H
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
SG::ReadDecorHandleKey< xAOD::EgammaContainer > m_photon_zvertex_key
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_photon_links_key
BuildVertexPointingAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
Gaudi::Property< float > m_convPtCut
SG::ReadDecorHandleKey< xAOD::EgammaContainer > m_photon_errz_key
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_nphotons_good_key
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm to build a vertex from photon pointing.
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_photons_px_key
the (new) base class for EventLoop algorithms
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_photons_py_key
Property holding a SG store/key/clid from which a WriteHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< int > m_nphotons_to_use
ToolHandle< IAsgSelectionTool > m_goodPhotonSelectionTool
virtual StatusCode execute()
ToolHandle< IAsgSelectionTool > m_selectionTool
SG::ReadDecorHandleKey< xAOD::EgammaContainer > m_photon_HPV_zvertex_key
SG::ReadDecorHandleKey< xAOD::EgammaContainer > m_photon_HPV_errz_key
SG::WriteHandleKey< xAOD::VertexContainer > m_pointingVertexContainerKey
void selectPhotons(const xAOD::EgammaContainer &original_photons, ConstDataVector< DataVector< xAOD::Egamma >> &photons_selected) const
SG::ReadHandleKey< xAOD::EgammaContainer > m_photonContainerKey
DataVector adapter that acts like it holds const pointers.
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_photons_pz_key
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_z_common_nphotons_key
virtual StatusCode initialize()
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.