![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef DERIVATIONFRAMEWORK_EGAMMATRACKSTHINNING_H
10 #define DERIVATIONFRAMEWORK_EGAMMATRACKSTHINNING_H
17 #include "TLorentzVector.h"
35 const std::string&
name,
46 {
this,
"StreamName",
"",
"Name of the stream being thinned" };
48 {
this,
"electronContainerName",
"Electrons",
"" };
50 {
this,
"photonContainerName",
"Photons",
""};
52 {
this,
"tracksCollectionName",
"Tracks",
"" };
53 Gaudi::Property<double>
m_dr
54 {
this,
"deltaR", 0.5,
"" };
56 {
this,
"minEtEg", 0,
""};
59 const TLorentzVector& candHepLorentz,
60 double maxDeltaR)
const ;
64 const std::set<int>& goodTracks )
const ;
69 #endif // DERIVATIONFRAMEWORK_EGAMMATRACKSTHINNING_H
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode finalize() override
virtual StatusCode initialize() override
Gaudi::Property< double > m_dr
StatusCode thinTracks(SG::ThinningHandle< TrackCollection > &trackCont, const std::set< int > &goodTracks) const
HandleKey object for adding thinning to an object.
Handle for requesting thinning for a data object.
virtual StatusCode doThinning() const override
Handle for requesting thinning for a data object.
EGammaTracksThinning(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~EGammaTracksThinning()
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< double > m_minEtEg
HandleKey object for adding thinning to an object.
StringProperty m_streamName
std::set< int > findGoodTracks(const TrackCollection *trackCont, const TLorentzVector &candHepLorentz, double maxDeltaR) const
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronsContainerKey
SG::ThinningHandleKey< TrackCollection > m_tracksCollectionName
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonsContainerKey