Belle II Software development
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
28
29 public:
30
35
38
40 virtual void initialize() override;
41
43 virtual void event() override;
44
45 private:
46 std::string m_pxdDigitsName = "";
47 std::string m_MCParticlesName = "";
48 std::string m_ROIsName = "";
54 short m_ROISize = 40;
55 bool m_createROIForAll = false;
57 };
59}
The MCPXDROICreatorModule module Create artificial ROI just for PXDDigits from either all charged pri...
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.
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.