Belle II Software development
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
21namespace Belle2 {
31
32 public:
33
38
40 virtual void initialize() override;
41
43 virtual void event() override;
44
45
46 private:
47
49 std::string m_particleListName;
50 std::vector<std::tuple<std::string, std::string, std::string, std::string>>
52 typedef std::map<std::string, std::shared_ptr<Variable::Cut>>
54 typedef std::map<std::string, std::vector<double>>
56 typedef std::map<unsigned int, bool> intAndBoolMap;
57 typedef std::map<std::string, std::map<unsigned int, bool>>
61 std::vector<std::string> m_maskNames;
69 bool m_update;
71 };
73}
74
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.