Belle II Software  release-08-01-10
RestOfEventInterpreterModule.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 #include <framework/core/Module.h>
11 
12 #include <analysis/dataobjects/ParticleList.h>
13 #include <analysis/VariableManager/Utility.h>
14 #include <framework/datastore/StoreObjPtr.h>
15 
16 #include <string>
17 #include <vector>
18 #include <map>
19 #include <tuple>
20 
21 namespace Belle2 {
34 
35  public:
36 
41 
43  virtual void initialize() override;
44 
46  virtual void event() override;
47 
48 
49  private:
50 
52  std::string m_particleListName;
53  std::vector<std::tuple<std::string, std::string, std::string, std::string>>
55  typedef std::map<std::string, std::shared_ptr<Variable::Cut>>
57  typedef std::map<std::string, std::vector<double>>
59  typedef std::map<unsigned int, bool> intAndBoolMap;
60  typedef std::map<std::string, std::map<unsigned int, bool>>
64  std::vector<std::string> m_maskNames;
72  bool m_update;
74  };
76 }
77 
Base class for Modules.
Definition: Module.h:72
Creates a mask (vector of boolean values) for tracks and clusters in RestOfEvent regarding their usag...
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.
std::string m_particleListName
Name of the ParticleList.
RestOfEventInterpreterModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::map< std::string, std::shared_ptr< Variable::Cut > > stringAndCutMap
Type definition helper for a map of string and cuts.
virtual void initialize() override
Overridden initialize method.
virtual void event() override
Overridden event method.
std::vector< std::string > m_maskNames
Container for added mask names of ROE interpretations.
std::vector< std::tuple< std::string, std::string, std::string, std::string > > m_ROEMasks
Container for tuples.
stringAndCutMap m_trackCuts
Cut object which performs the cuts on the remaining tracks for a single ROE interpretation.
bool m_update
Set true for updating a-priori charged stable fractions.
std::map< unsigned int, bool > intAndBoolMap
Type definition helper for a map of integer and boolean.
std::map< std::string, std::vector< double > > stringAndVectorMap
Type definition helper for a map of string and vector of doubles.
stringAndCutMap m_eclClusterCuts
Cut object which performs the cuts on the remaining ECL clusters for a single ROE interpretation.
StoreObjPtr< ParticleList > m_plist
input particle list
stringAndCutMap m_klmClusterCuts
Cut object which performs the cuts on the remaining KLM clusters for a single ROE interpretation.
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.