32 return StatusCode::SUCCESS;
38 for (
auto x : *photons) {
39 if (
x->pt() > 7000.) {
40 if (
x->caloCluster() !=
nullptr) {
41 if (fabs(
x->caloCluster()->eta()) < 2.47) {
50 for (
auto x : *electrons) {
51 if (
x->pt() > 7000.) {
52 if (
x->caloCluster() !=
nullptr) {
53 if (fabs(
x->caloCluster()->eta()) < 2.47) {
62 for (
auto x : *muons) {
63 if (
x->pt() > 7000.) {
64 if (fabs(
x->eta()) < 2.5) {
71 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
ToolHandle< CP::IIsolationSelectionTool > m_isoTool
TestIsolationAthenaAlg(const std::string &name, ISvcLocator *svcLoc)
std::string m_sgKeyElectrons
std::string m_sgKeyPhotons
virtual StatusCode initialize()
Function initialising the algorithm.
virtual StatusCode execute()
Function executing the algorithm.
Select isolated Photons, Electrons and Muons.
PhotonContainer_v1 PhotonContainer
Definition of the current "photon container version".
ElectronContainer_v1 ElectronContainer
Definition of the current "electron container version".
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".