Belle II Software  release-08-01-10
ContinuumSuppressionBuilderModule.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 <analysis/dataobjects/Particle.h>
13 #include <analysis/dataobjects/ParticleList.h>
14 #include <analysis/dataobjects/ContinuumSuppression.h>
15 
16 #include <framework/datastore/StoreArray.h>
17 #include <framework/datastore/StoreObjPtr.h>
18 
19 #include <string>
20 
21 namespace Belle2 {
34  public:
35 
39  virtual void initialize() override;
41  virtual void event() override;
42 
43  private:
44 
48  std::string m_particleListName;
49  std::string m_ROEMask;
52  void printEvent();
54  void printParticle(const Particle* particle);
55  };
57 }
58 
Creates for each Particle in given ParticleList an ContinuumSuppression dataobject and makes basf2 re...
std::string m_particleListName
Name of the ParticleList.
virtual void initialize() override
initialize the module (setup the data store)
void printEvent()
print an event for debugging purposes
void printParticle(const Particle *particle)
print a particle for debugging purposes
StoreArray< ContinuumSuppression > m_csarray
StoreArray of ContinuumSuppression.
StoreObjPtr< ParticleList > m_plist
input particle list
Base class for Modules.
Definition: Module.h:72
Class to store reconstructed particles.
Definition: Particle.h:75
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:96
Abstract base class for different kinds of events.