ATLAS Offline Software
RunNumberSelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef RUNNUMBERSELECTOR_H_
6 #define RUNNUMBERSELECTOR_H_
7 
9 
10 
11 namespace top {
12  class TopConfig;
13 
18  public:
19  explicit RunNumberSelector(const std::string& params, std::shared_ptr<top::TopConfig> config);
20 
21  bool apply(const top::Event& event) const override;
22  private:
23  std::shared_ptr<top::TopConfig> m_config;
24  };
25 }
26 
27 #endif
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::RunNumberSelector::m_config
std::shared_ptr< top::TopConfig > m_config
Definition: RunNumberSelector.h:23
top::RunNumberSelector
Apply a cut on the (random) run number.
Definition: RunNumberSelector.h:17
top::SignValueSelector
Many of the tools need a sign (>=) and a value (2).
Definition: SignValueSelector.h:16
config
Definition: PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
top::RunNumberSelector::RunNumberSelector
RunNumberSelector(const std::string &params, std::shared_ptr< top::TopConfig > config)
Definition: RunNumberSelector.cxx:10
SignValueSelector.h
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
top::RunNumberSelector::apply
bool apply(const top::Event &event) const override
This does stuff based on the information in an event.
Definition: RunNumberSelector.cxx:15
top::Event
Very simple class to hold event data after reading from a file.
Definition: Event.h:49
PowhegControl_ttFCNC_NLO.params
params
Definition: PowhegControl_ttFCNC_NLO.py:226