Belle II Software  release-08-01-10
SelectDaughtersModule.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 
11 #include <framework/core/Module.h>
12 #include <string>
13 #include <analysis/DecayDescriptor/DecayDescriptor.h>
14 
15 namespace Belle2 {
28  class SelectDaughtersModule : public Module {
29 
30  public:
36  virtual void initialize() override;
38  virtual void event() override;
39  private:
40  std::string m_listName;
41  std::string m_decayString;
43  };
45 }
The DecayDescriptor stores information about a decay tree or parts of a decay tree.
Base class for Modules.
Definition: Module.h:72
Redefine (select) the daughters of a particle.
virtual void initialize() override
set up datastore
virtual void event() override
process the event
std::string m_decayString
daughter particles selection
std::string m_listName
name of particle list
DecayDescriptor m_decaydescriptor
Decay descriptor of decays to look for.
Abstract base class for different kinds of events.