Belle II Software release-09-00-00
MCSlowPionPXDROICreatorModule.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 <framework/datastore/StoreArray.h>
13
14namespace Belle2 {
19 class ROIid;
20 class MCParticle;
21 class PXDDigit;
22
31
32 public:
33
38
41
43 virtual void initialize() override;
44
46 virtual void event() override;
47
49 virtual void endRun() override;
50
51 private:
52 std::string m_pxdDigitsName = "";
53 std::string m_MCParticlesName = "";
54 std::string m_ROIsName = "";
60 short m_ROISize = 20;
62 uint m_slowPiCounter = 0;
63 uint m_ROICounter = 0;
64 };
66}
The MCSlowPionPXDROICreatorModule module Create artificial ROI just for PXDDigits from slow pions fro...
virtual void initialize() override
init the module
virtual void event() override
processes the event
virtual ~MCSlowPionPXDROICreatorModule()
Empty destructor.
uint m_ROICounter
Count the ROI that are created for debugging.
std::string m_pxdDigitsName
PXDDigits StoreArray name.
std::string m_MCParticlesName
MCParticles StoreArray name.
StoreArray< PXDDigit > m_PXDDigits
StoreArray for the PXDDigits.
MCSlowPionPXDROICreatorModule()
Constructor: Sets the description, the properties and the parameters of the module.
StoreArray< MCParticle > m_MCParticles
StoreArray for the MCParticles.
uint m_slowPiCounter
Count the slow pions in MC for debugging.
StoreArray< ROIid > m_ROIs
StoreArray for the ROIs.
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.