Belle II Software  release-06-02-00
BelleBremRecoveryModule.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 
13 #include <analysis/dataobjects/Particle.h>
14 #include <analysis/dataobjects/ParticleList.h>
15 
16 #include <framework/datastore/StoreArray.h>
17 #include <framework/datastore/StoreObjPtr.h>
18 
19 #include <analysis/DecayDescriptor/DecayDescriptor.h>
20 
21 #include <mdst/dataobjects/MCParticle.h>
22 #include <mdst/dataobjects/PIDLikelihood.h>
23 
24 #include <string>
25 
26 
27 namespace Belle2 {
32  class Particle;
33 
40 
41  public:
42 
47 
52  virtual void initialize() override;
53 
57  virtual void event() override;
58 
59  enum {c_DimMatrix = 7};
60 
61  private:
62 
63  int m_pdgCode;
64  std::string m_decayString;
67  std::string m_inputListName;
68  std::string m_gammaListName;
69  std::string m_outputListName;
70  std::string m_outputAntiListName;
78  double m_angleThres;
79  bool m_writeOut;
80  bool m_isMultiPho;
81  };
82 
84 } // Belle2 namespace
85 
Brem recovery module (used in past belle analyses) This module add four vector of all the brem photon...
StoreObjPtr< ParticleList > m_outputparticleList
StoreObjptr for output particlelist.
std::string m_gammaListName
input ParticleList names
std::string m_decayString
Input DecayString specifying the decay being reconstructed.
bool m_isMultiPho
multiple or one bremphoton addition option
StoreArray< Particle > m_particles
StoreArray of Particle objects.
double m_angleThres
input max angle to be accepted (in radian)
StoreArray< PIDLikelihood > m_pidlikelihoods
StoreArray of PIDLikelihood objects.
StoreObjPtr< ParticleList > m_gammaList
StoreObjptr for gamma list.
StoreObjPtr< ParticleList > m_inputparticleList
StoreObjptr for input charged particlelist.
StoreObjPtr< ParticleList > m_outputAntiparticleList
StoreObjptr for output antiparticlelist.
DecayDescriptor m_decaydescriptorGamma
Decay descriptor of the decay being reconstructed.
DecayDescriptor m_decaydescriptor
Decay descriptor of the charged particle decay.
bool m_writeOut
toggle output particle list btw.
StoreArray< MCParticle > m_mcParticles
StoreArray of MCParticle objects.
int m_pdgCode
PDG code of the combined mother particle.
std::string m_outputAntiListName
output anti-particle list name
std::string m_inputListName
input ParticleList names
std::string m_outputListName
output ParticleList name
The DecayDescriptor stores information about a decay tree or parts of a decay tree.
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:95
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
Abstract base class for different kinds of events.