Belle II Software development
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
21namespace Belle2 {
31 public:
32
36 virtual void initialize() override;
38 virtual void event() override;
39
40 private:
41
45 std::string m_particleListName;
46 std::string m_ROEMask;
49 void printEvent();
51 void printParticle(const Particle* particle);
52 };
54}
55
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.