 |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef DERIVATIONFRAMEWORK_DiphotonVertexDecorator_H
10 #define DERIVATIONFRAMEWORK_DiphotonVertexDecorator_H
18 #include "GaudiKernel/ToolHandle.h"
19 #include "GaudiKernel/SystemOfUnits.h"
42 using base_class::base_class;
64 Gaudi::Property<double>
m_maxEta{
this,
"MaxEta", 2.37};
65 Gaudi::Property<bool>
m_ignoreConv{
this,
"IgnoreConvPointing",
false};
72 if (
part1->charge()==0 &&
part2->charge()!=0)
return false;
73 if (
part1->charge()!=0 &&
part2->charge()==0)
return true;
81 #endif // DERIVATIONFRAMEWORK_DiphotonVertexDecorator_H
virtual StatusCode initialize() override final
Gaudi::Property< bool > m_removeCrack
Gaudi::Property< double > m_maxEta
bool PhotonPreselect(const xAOD::Photon *ph) const
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< double > m_minPhotonPt
Property holding a SG store/key/clid from which a WriteHandle is made.
static bool greaterPtFlowElement(const xAOD::FlowElement *part1, const xAOD::FlowElement *part2)
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode matchFlowElement(const xAOD::Photon *eg, const xAOD::FlowElementContainer *pfoCont) const
ToolHandle< CP::IPhotonVertexSelectionTool > m_photonVertexSelectionTool
SG::ReadHandleKey< xAOD::FlowElementContainer > m_FEContainerHandleKey
SG::ReadHandleKey< xAOD::VertexContainer > m_primaryVertexKey
Gaudi::Property< bool > m_ignoreConv
SG::WriteHandleKey< xAOD::VertexContainer > m_diphotonVertexKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonKey
virtual StatusCode addBranches(const EventContext &ctx) const override final
Gaudi::Property< double > m_tcMatch_dR
Gaudi::Property< double > m_tcMatch_maxRat
A detector object made of other lower level object(s)