Belle II Software prerelease-10-00-00a
MCPXDROICreatorModule.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
48 private:
49 std::string m_pxdDigitsName = "";
50 std::string m_MCParticlesName = "";
51 std::string m_ROIsName = "";
52
56
57 short m_ROISize = 40;
58 bool m_createROIForAll = false;
60 };
61
62}
MCPXDROICreatorModule()
Constructor: Sets the description, the properties and the parameters of the module.
virtual void initialize() override
init the module
bool m_createROIForAll
Create ROI for all chargedstable MCParticles.
virtual void event() override
processes the event
std::string m_pxdDigitsName
PXDDigits StoreArray name.
std::string m_MCParticlesName
MCParticles StoreArray name.
std::string m_ROIsName
ROI StoreArray name.
StoreArray< PXDDigit > m_PXDDigits
StoreArray for the PXDDigits.
bool m_createROIForSlowPionsOnly
Create ROI only for slow pions.
StoreArray< MCParticle > m_MCParticles
StoreArray for the MCParticles.
virtual ~MCPXDROICreatorModule()
Empty destructor.
StoreArray< ROIid > m_ROIs
StoreArray for the ROIs.
A Class to store the Monte Carlo particle information.
Definition MCParticle.h:32
Module()
Constructor.
Definition Module.cc:30
The PXD digit class.
Definition PXDDigit.h:27
ROIid stores the U and V ids and the sensor id of the Region Of Interest.
Definition ROIid.h:25
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Abstract base class for different kinds of events.