ATLAS Offline Software
IsolationConditionCombined.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 ISOLATIONSELECTION_ISOLATIONCONDITIONCOMBINED_H
6 #define ISOLATIONSELECTION_ISOLATIONCONDITIONCOMBINED_H
7 
8 #include <TF1.h>
9 
11 
12 namespace CP {
14  public:
15  IsolationConditionCombined(const std::string& name, const std::vector<xAOD::Iso::IsolationType>& isoType,
16  std::unique_ptr<TF1> isoFunction, const std::string& cutFunction, const std::string& isoDecSuffix = "");
17  virtual ~IsolationConditionCombined() = default;
18 
19  bool accept(const xAOD::IParticle& x) const override;
20  bool accept(const strObj& x) const override;
21 
22  private:
23  std::unique_ptr<TF1> m_cutFunction;
24  std::unique_ptr<TF1> m_isoFunction;
25  };
26 } // namespace CP
27 #endif
CP::IsolationConditionCombined
Definition: IsolationConditionCombined.h:13
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
x
#define x
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
CP::IsolationConditionCombined::m_isoFunction
std::unique_ptr< TF1 > m_isoFunction
Definition: IsolationConditionCombined.h:24
CP::IsolationCondition
Definition: IsolationCondition.h:30
CP::strObj
Definition: IsolationCondition.h:23
IsolationCondition.h
CP::IsolationCondition::name
const std::string & name() const
Definition: IsolationCondition.cxx:36
CP::IsolationConditionCombined::IsolationConditionCombined
IsolationConditionCombined(const std::string &name, const std::vector< xAOD::Iso::IsolationType > &isoType, std::unique_ptr< TF1 > isoFunction, const std::string &cutFunction, const std::string &isoDecSuffix="")
Definition: IsolationConditionCombined.cxx:15
CP::IsolationConditionCombined::m_cutFunction
std::unique_ptr< TF1 > m_cutFunction
Definition: IsolationConditionCombined.h:23
CP::IsolationConditionCombined::~IsolationConditionCombined
virtual ~IsolationConditionCombined()=default
CP::IsolationConditionCombined::accept
bool accept(const xAOD::IParticle &x) const override
Definition: IsolationConditionCombined.cxx:22