ATLAS Offline Software
Loading...
Searching...
No Matches
TauElecSubtractAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration.
3*/
4
5#ifndef TAUREC_TauElecSubtractAlg_H
6#define TAUREC_TauElecSubtractAlg_H
7
21#include "xAODTau/TauJet.h"
31
37{
38 using AthReentrantAlgorithm::AthReentrantAlgorithm;
39 public:
40 virtual StatusCode initialize() override;
41 virtual StatusCode execute(const EventContext& ctx) const override;
42
43 private:
44 SG::ReadHandleKey<xAOD::ElectronContainer> m_elecInput { this, "Key_ElectronsInput", "", "Input electron container" };
45 SG::ReadHandleKey<xAOD::CaloClusterContainer> m_clustersInput { this, "Key_ClustersInput", "", "Input cluster container " };
46 SG::WriteHandleKey<xAOD::CaloClusterContainer> m_clustersOutput { this, "Key_ClustersOutput", "", "Output cluster container" };
47 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_tracksInput { this, "Key_IDTracksInput", "", "Input track container " };
48 SG::WriteHandleKey<xAOD::TrackParticleContainer> m_tracksOutput { this, "Key_IDTracksOutput", "", "Output track container " };
49 SG::WriteHandleKey<xAOD::CaloClusterContainer> m_removedClustersOutput { this, "Key_RemovedClustersOutput", "", "Output removed clusters " };
50 SG::WriteHandleKey<xAOD::TrackParticleContainer> m_removedTracksOutput { this, "Key_RemovedTracksOutput", "", "Output removed tracks " };
51
52 // make sure standard jet TVA is run before this algorithm, hard coded for now
53 SG::ReadDecorHandleKey<xAOD::TrackParticleContainer> m_stdJetTVADecoKey { this, "InDetTrackParticles_jetTVA_key","InDetTrackParticles.TTVA_AMVFVertices_forReco", "make sure standard jet TVA is run before this algorithm, hard coded for now"};
54
55 ToolHandle<IAsgElectronLikelihoodTool> m_eleLHSelectTool { this, "ElectronLHTool", "", "Electron likelihood selection tool" };
56 Gaudi::Property<bool> m_doNothing { this, "doNothing", false, "If we just deep copy the containers (For Validation Only)"};
57};
58
59#endif // TAUREC_TauElecSubtractAlg_H
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Handle class for reading a decoration on an object.
Property holding a SG store/key/clid from which a ReadHandle is made.
Handle class for reading from StoreGate.
Property holding a SG store/key/clid from which a WriteHandle is made.
Handle class for recording to StoreGate.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Algorithm that remove electron cluster and tracks from the tracks and cluster containers.
SG::ReadHandleKey< xAOD::ElectronContainer > m_elecInput
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_removedClustersOutput
Gaudi::Property< bool > m_doNothing
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_clustersOutput
ToolHandle< IAsgElectronLikelihoodTool > m_eleLHSelectTool
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracksInput
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_tracksOutput
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_stdJetTVADecoKey
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_removedTracksOutput
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clustersInput