ATLAS Offline Software
FakesMMConfigs.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3  */
4 
6 
7 namespace top {
8  FakesMMConfigs::FakesMMConfigs(const std::string& configs) {
9  std::istringstream iss(configs);
10  std::string config;
11  while (iss >> config) {
12  m_configurations.push_back(config);
13  }
14  }
15 
16  bool FakesMMConfigs::apply(const top::Event&) const {
17  return true;
18  }
19 
20  std::string FakesMMConfigs::name() const {
21  return "FAKESMMCONFIGS";
22  }
23 }
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
config
Definition: PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
top::FakesMMConfigs::apply
virtual bool apply(const top::Event &event) const override
Definition: FakesMMConfigs.cxx:16
top::FakesMMConfigs::FakesMMConfigs
FakesMMConfigs(const std::string &configs)
Setup the matrix-method configurations.
Definition: FakesMMConfigs.cxx:8
top::FakesMMConfigs::m_configurations
std::vector< std::string > m_configurations
Definition: FakesMMConfigs.h:41
top::FakesMMConfigs::name
std::string name() const override
Return the name for the cutflow table.
Definition: FakesMMConfigs.cxx:20
FakesMMConfigs.h
config
std::vector< std::string > config
Definition: fbtTestBasics.cxx:72
top::Event
Very simple class to hold event data after reading from a file.
Definition: Event.h:49