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
14
namespace
Belle2
{
19
class
ROIid
;
20
class
MCParticle
;
21
class
PXDDigit
;
22
27
class
MCPXDROICreatorModule
:
public
Module
{
28
29
public
:
30
34
MCPXDROICreatorModule
();
35
37
virtual
~MCPXDROICreatorModule
() {};
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
=
""
;
49
50
StoreArray<PXDDigit>
m_PXDDigits
;
51
StoreArray<MCParticle>
m_MCParticles
;
52
StoreArray<ROIid>
m_ROIs
;
53
54
short
m_ROISize
= 40;
55
bool
m_createROIForAll
=
false
;
56
bool
m_createROIForSlowPionsOnly
=
true
;
57
};
58
59
}
Belle2::MCPXDROICreatorModule::MCPXDROICreatorModule
MCPXDROICreatorModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition
MCPXDROICreatorModule.cc:27
Belle2::MCPXDROICreatorModule::initialize
virtual void initialize() override
init the module
Definition
MCPXDROICreatorModule.cc:45
Belle2::MCPXDROICreatorModule::m_createROIForAll
bool m_createROIForAll
Create ROI for all chargedstable MCParticles.
Definition
MCPXDROICreatorModule.h:55
Belle2::MCPXDROICreatorModule::event
virtual void event() override
processes the event
Definition
MCPXDROICreatorModule.cc:58
Belle2::MCPXDROICreatorModule::m_pxdDigitsName
std::string m_pxdDigitsName
PXDDigits StoreArray name.
Definition
MCPXDROICreatorModule.h:46
Belle2::MCPXDROICreatorModule::m_ROISize
short m_ROISize
ROI size.
Definition
MCPXDROICreatorModule.h:54
Belle2::MCPXDROICreatorModule::m_MCParticlesName
std::string m_MCParticlesName
MCParticles StoreArray name.
Definition
MCPXDROICreatorModule.h:47
Belle2::MCPXDROICreatorModule::m_ROIsName
std::string m_ROIsName
ROI StoreArray name.
Definition
MCPXDROICreatorModule.h:48
Belle2::MCPXDROICreatorModule::m_PXDDigits
StoreArray< PXDDigit > m_PXDDigits
StoreArray for the PXDDigits.
Definition
MCPXDROICreatorModule.h:50
Belle2::MCPXDROICreatorModule::m_createROIForSlowPionsOnly
bool m_createROIForSlowPionsOnly
Create ROI only for slow pions.
Definition
MCPXDROICreatorModule.h:56
Belle2::MCPXDROICreatorModule::m_MCParticles
StoreArray< MCParticle > m_MCParticles
StoreArray for the MCParticles.
Definition
MCPXDROICreatorModule.h:51
Belle2::MCPXDROICreatorModule::~MCPXDROICreatorModule
virtual ~MCPXDROICreatorModule()
Empty destructor.
Definition
MCPXDROICreatorModule.h:37
Belle2::MCPXDROICreatorModule::m_ROIs
StoreArray< ROIid > m_ROIs
StoreArray for the ROIs.
Definition
MCPXDROICreatorModule.h:52
Belle2::MCParticle
A Class to store the Monte Carlo particle information.
Definition
MCParticle.h:32
Belle2::Module::Module
Module()
Constructor.
Definition
Module.cc:30
Belle2::PXDDigit
The PXD digit class.
Definition
PXDDigit.h:27
Belle2::ROIid
ROIid stores the U and V ids and the sensor id of the Region Of Interest.
Definition
ROIid.h:25
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition
StoreArray.h:113
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
tracking
modules
roiFinding
pxd
include
MCPXDROICreatorModule.h
Generated on Mon Sep 1 2025 02:58:40 for Belle II Software by
1.13.2