Belle II Software  release-05-02-19
AllParticleCombinerModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Frank Meier *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/core/Module.h>
14 
15 #include <analysis/DecayDescriptor/DecayDescriptor.h>
16 #include <analysis/VariableManager/Utility.h>
17 
18 namespace Belle2 {
28  class AllParticleCombinerModule : public Module {
29 
30  public:
31 
36 
38  virtual void initialize() override;
39 
41  virtual void event() override;
42 
43 
44  private:
45 
46  std::vector<std::string> m_inputListNames;
50  std::string m_cutString;
51  std::unique_ptr<Variable::Cut> m_cut;
52  bool m_writeOut;
54  std::string m_outputListName;
55  std::string m_antiListName;
57  int m_pdgCode;
58  };
60 }
Belle2::AllParticleCombinerModule::m_decaydescriptor
DecayDescriptor m_decaydescriptor
Decay descriptor of the decay being reconstructed.
Definition: AllParticleCombinerModule.h:64
Belle2::AllParticleCombinerModule::m_inputListNames
std::vector< std::string > m_inputListNames
List of ParticleLists which are supposed to be combined.
Definition: AllParticleCombinerModule.h:54
Belle2::AllParticleCombinerModule::m_writeOut
bool m_writeOut
If true, the output ParticleList will be saved by RootOutput.
Definition: AllParticleCombinerModule.h:60
Belle2::AllParticleCombinerModule::m_outputListName
std::string m_outputListName
Name of the output list created by the combination of all particles in the input list.
Definition: AllParticleCombinerModule.h:62
Belle2::AllParticleCombinerModule::m_isSelfConjugatedParticle
bool m_isSelfConjugatedParticle
flag that indicates whether an anti-particle mother does not exist and should not be reconstructed as...
Definition: AllParticleCombinerModule.h:56
Belle2::AllParticleCombinerModule::event
virtual void event() override
process event
Belle2::AllParticleCombinerModule::m_cutString
std::string m_cutString
Selection criteria.
Definition: AllParticleCombinerModule.h:58
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::AllParticleCombinerModule::initialize
virtual void initialize() override
Register input and output data.
Belle2::AllParticleCombinerModule::m_antiListName
std::string m_antiListName
output anti-particle list name
Definition: AllParticleCombinerModule.h:63
Belle2::AllParticleCombinerModule::AllParticleCombinerModule
AllParticleCombinerModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: AllParticleCombinerModule.cc:29
Belle2::DecayDescriptor
The DecayDescriptor stores information about a decay tree or parts of a decay tree.
Definition: DecayDescriptor.h:43
Belle2::AllParticleCombinerModule::m_cut
std::unique_ptr< Variable::Cut > m_cut
cut object which performs the cuts
Definition: AllParticleCombinerModule.h:59
Belle2::AllParticleCombinerModule::m_pdgCode
int m_pdgCode
PDG code of the combined mother particle.
Definition: AllParticleCombinerModule.h:65