ATLAS Offline Software
NFwdElectronSelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef NFWDELECTRONSELECTOR_H_
6 #define NFWDELECTRONSELECTOR_H_
7 
9 
10 #include "AsgTools/AsgTool.h"
11 #include "AsgTools/ToolHandle.h"
12 #include "AsgTools/AnaToolHandle.h"
13 
14 namespace top {
19  public:
20  explicit NFwdElectronSelector(const std::string& params);
21 
22  bool apply(const top::Event& event) const override;
23 
24  bool applyParticleLevel(const top::ParticleLevelEvent& event) const override;
25  };
26 }
27 
28 #endif
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::NFwdElectronSelector
A tool that selects events with a certain number of good forward electrons.
Definition: NFwdElectronSelector.h:18
top::SignValueSelector
Many of the tools need a sign (>=) and a value (2).
Definition: SignValueSelector.h:16
SignValueSelector.h
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
top::NFwdElectronSelector::applyParticleLevel
bool applyParticleLevel(const top::ParticleLevelEvent &event) const override
This does stuff based on the information in a particle level event.
Definition: NFwdElectronSelector.cxx:23
top::ParticleLevelEvent
Definition: ParticleLevelEvent.h:24
AnaToolHandle.h
top::NFwdElectronSelector::NFwdElectronSelector
NFwdElectronSelector(const std::string &params)
Definition: NFwdElectronSelector.cxx:9
top::Event
Very simple class to hold event data after reading from a file.
Definition: Event.h:49
ToolHandle.h
PowhegControl_ttFCNC_NLO.params
params
Definition: PowhegControl_ttFCNC_NLO.py:226
AsgTool.h
top::NFwdElectronSelector::apply
bool apply(const top::Event &event) const override
This does stuff based on the information in an event.
Definition: NFwdElectronSelector.cxx:14