Belle II Software  release-05-02-19
RestOfEventInterpreterModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2013 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Matic Lubej, Sviatoslav Bilokin *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 #include <framework/core/Module.h>
13 
14 #include <analysis/VariableManager/Utility.h>
15 
16 #include <string>
17 #include <vector>
18 #include <map>
19 #include <tuple>
20 
21 namespace Belle2 {
33  class RestOfEventInterpreterModule : public Module {
34 
35  public:
36 
41 
43  virtual void initialize() override;
44 
46  virtual void event() override;
47 
48 
49  private:
50 
51  std::string m_particleList;
52  std::vector<std::tuple<std::string, std::string, std::string>>
53  m_ROEMasks;
54  typedef std::map<std::string, std::shared_ptr<Variable::Cut>>
56  typedef std::map<std::string, std::vector<double>>
58  typedef std::map<unsigned int, bool> intAndBoolMap;
59  typedef std::map<std::string, std::map<unsigned int, bool>>
63  std::vector<std::string> m_maskNames;
69  bool m_update;
71  };
73 }
74 
Belle2::RestOfEventInterpreterModule::m_eclClusterCuts
stringAndCutMap m_eclClusterCuts
Cut object which performs the cuts on the remaining ECL clusters for a single ROE interpretation.
Definition: RestOfEventInterpreterModule.h:75
Belle2::RestOfEventInterpreterModule::stringAndVectorMap
std::map< std::string, std::vector< double > > stringAndVectorMap
Type definition helper for a map of string and vector of doubles.
Definition: RestOfEventInterpreterModule.h:65
Belle2::RestOfEventInterpreterModule::intAndBoolMap
std::map< unsigned int, bool > intAndBoolMap
Type definition helper for a map of integer and boolean.
Definition: RestOfEventInterpreterModule.h:66
Belle2::RestOfEventInterpreterModule::event
virtual void event() override
Overriden event method.
Definition: RestOfEventInterpreterModule.cc:88
Belle2::RestOfEventInterpreterModule::stringAndCutMap
std::map< std::string, std::shared_ptr< Variable::Cut > > stringAndCutMap
Type definition helper for a map of string and cuts.
Definition: RestOfEventInterpreterModule.h:63
Belle2::RestOfEventInterpreterModule::initialize
virtual void initialize() override
Overriden initialize method.
Definition: RestOfEventInterpreterModule.cc:62
Belle2::RestOfEventInterpreterModule::m_ROEMasks
std::vector< std::tuple< std::string, std::string, std::string > > m_ROEMasks
Container for tuples.
Definition: RestOfEventInterpreterModule.h:61
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::RestOfEventInterpreterModule::m_trackCuts
stringAndCutMap m_trackCuts
Cut object which performs the cuts on the remaining tracks for a single ROE interpretation.
Definition: RestOfEventInterpreterModule.h:73
Belle2::RestOfEventInterpreterModule::stringAndMapOfIntAndBoolMap
std::map< std::string, std::map< unsigned int, bool > > stringAndMapOfIntAndBoolMap
Type definition helper for a map of string and nested map of integer and boolean.
Definition: RestOfEventInterpreterModule.h:68
Belle2::RestOfEventInterpreterModule::m_update
bool m_update
Set true for updating a-priori charged stable fractions.
Definition: RestOfEventInterpreterModule.h:77
Belle2::RestOfEventInterpreterModule::m_maskNames
std::vector< std::string > m_maskNames
Container for added mask names of ROE interpretations.
Definition: RestOfEventInterpreterModule.h:71
Belle2::RestOfEventInterpreterModule::RestOfEventInterpreterModule
RestOfEventInterpreterModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: RestOfEventInterpreterModule.cc:42
Belle2::RestOfEventInterpreterModule::m_particleList
std::string m_particleList
Name of the ParticleList.
Definition: RestOfEventInterpreterModule.h:59