EgammaIsolationSelectionAlg.h 1.95 KB
 Nils Krumnack committed Apr 06, 2020 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 /* Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ /// @author Nils Krumnack #ifndef EGAMMA_ANALYSIS_ALGORITHMS__EGAMMA_ISOLATION_SELECTION_ALG_H #define EGAMMA_ANALYSIS_ALGORITHMS__EGAMMA_ISOLATION_SELECTION_ALG_H #include #include #include #include #include #include #include  Tadej Novak committed Oct 22, 2021 19 #include  Nils Krumnack committed Apr 06, 2020 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55  namespace CP { /// \brief an algorithm for calling \ref IIsolationSelectionTool class EgammaIsolationSelectionAlg final : public EL::AnaAlgorithm { /// \brief the standard constructor public: EgammaIsolationSelectionAlg (const std::string& name, ISvcLocator* pSvcLocator); public: StatusCode initialize () override; public: StatusCode execute () override; /// \brief the selection tool private: ToolHandle m_selectionTool; /// \brief the systematics list we run private: SysListHandle m_systematicsList {this}; /// \brief the preselection we apply to our input private: SelectionReadHandle m_preselection { this, "preselection", "", "the preselection to apply"}; /// \brief the particle continer we run on private:  Tadej Novak committed Oct 22, 2021 56  SysReadHandle m_egammasHandle {  Nils Krumnack committed Apr 06, 2020 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73  this, "egammas", "Electrons", "the egamma collection to run on"}; /// \brief the decoration for the asg selection private: std::string m_selectionDecoration {"isolated"}; /// \brief the accessor for \ref m_selectionDecoration private: std::unique_ptr m_selectionAccessor; /// \brief the bits to set for an object failing the preselection private: SelectionType m_setOnFail; }; } #endif