Belle II Software
development
Toggle main menu visibility
Main Page
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
a
b
c
e
f
g
n
p
s
v
z
Enumerator
c
d
f
p
t
v
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Symbols
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Typedefs
Macros
ECLTrimShowersAndDigitsModule.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
#include <framework/datastore/SelectSubset.h>
14
#include <ecl/dataobjects/ECLShower.h>
15
#include <ecl/dataobjects/ECLCalDigit.h>
16
17
18
namespace
Belle2
{
23
class
ECLCluster
;
24
class
ECLShower
;
25
class
ECLCalDigit
;
26
class
MCParticle
;
27
28
33
class
ECLTrimShowersAndDigitsModule
:
public
Module
{
34
35
public
:
36
40
ECLTrimShowersAndDigitsModule
();
41
43
virtual
void
initialize
()
override
;
44
46
virtual
void
event
()
override
;
47
49
virtual
void
terminate
()
override
;
50
51
private
:
52
53
bool
selectShower
(
const
ECLShower
* shower);
54
bool
selectDigit
(
const
ECLCalDigit
* digit);
55
56
StoreArray<ECLCluster>
m_eclClusterArray
;
57
StoreArray<ECLShower>
m_eclShowerArray
;
58
StoreArray<ECLCalDigit>
m_eclCalDigitArray
;
59
StoreArray<MCParticle>
m_mcParticleArray
;
60
61
std::string
m_ShowerArrayName
=
"ECLTrimmedShowers"
;
62
std::string
m_DigitArrayName
=
"ECLTrimmedDigits"
;
63
64
SelectSubset<ECLShower>
m_selectedShowers
;
65
SelectSubset<ECLCalDigit>
m_selectedDigits
;
66
67
unsigned
short
maxCellID
= 9999;
68
69
};
33
class
ECLTrimShowersAndDigitsModule
:
public
Module
{
…
};
70
71
}
72
73
74
Belle2::ECLCalDigit
Class to store calibrated ECLDigits: ECLCalDigits.
Definition
ECLCalDigit.h:23
Belle2::ECLCluster
ECL cluster data.
Definition
ECLCluster.h:27
Belle2::ECLShower
Class to store ECL Showers.
Definition
ECLShower.h:30
Belle2::ECLTrimShowersAndDigitsModule::m_mcParticleArray
StoreArray< MCParticle > m_mcParticleArray
Array of MCParticles.
Definition
ECLTrimShowersAndDigitsModule.h:59
Belle2::ECLTrimShowersAndDigitsModule::m_eclShowerArray
StoreArray< ECLShower > m_eclShowerArray
Array of ECLShowers.
Definition
ECLTrimShowersAndDigitsModule.h:57
Belle2::ECLTrimShowersAndDigitsModule::m_DigitArrayName
std::string m_DigitArrayName
Name of new ECLCalDigit StoreArray.
Definition
ECLTrimShowersAndDigitsModule.h:62
Belle2::ECLTrimShowersAndDigitsModule::initialize
virtual void initialize() override
Register input and output data.
Definition
ECLTrimShowersAndDigitsModule.cc:39
Belle2::ECLTrimShowersAndDigitsModule::event
virtual void event() override
Event.
Definition
ECLTrimShowersAndDigitsModule.cc:58
Belle2::ECLTrimShowersAndDigitsModule::m_eclClusterArray
StoreArray< ECLCluster > m_eclClusterArray
Array of ECLClusters.
Definition
ECLTrimShowersAndDigitsModule.h:56
Belle2::ECLTrimShowersAndDigitsModule::selectShower
bool selectShower(const ECLShower *shower)
keep the ECLShower or not
Definition
ECLTrimShowersAndDigitsModule.cc:104
Belle2::ECLTrimShowersAndDigitsModule::m_ShowerArrayName
std::string m_ShowerArrayName
Name of new ECLShower StoreArray.
Definition
ECLTrimShowersAndDigitsModule.h:61
Belle2::ECLTrimShowersAndDigitsModule::selectDigit
bool selectDigit(const ECLCalDigit *digit)
keep the ECLCalDigit or not
Definition
ECLTrimShowersAndDigitsModule.cc:119
Belle2::ECLTrimShowersAndDigitsModule::terminate
virtual void terminate() override
Terminate.
Definition
ECLTrimShowersAndDigitsModule.cc:98
Belle2::ECLTrimShowersAndDigitsModule::ECLTrimShowersAndDigitsModule
ECLTrimShowersAndDigitsModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition
ECLTrimShowersAndDigitsModule.cc:29
Belle2::ECLTrimShowersAndDigitsModule::m_eclCalDigitArray
StoreArray< ECLCalDigit > m_eclCalDigitArray
Array of ECLCalDigits.
Definition
ECLTrimShowersAndDigitsModule.h:58
Belle2::ECLTrimShowersAndDigitsModule::m_selectedDigits
SelectSubset< ECLCalDigit > m_selectedDigits
selected ECLCalDigits
Definition
ECLTrimShowersAndDigitsModule.h:65
Belle2::ECLTrimShowersAndDigitsModule::maxCellID
unsigned short maxCellID
used to identify the cluster of interest
Definition
ECLTrimShowersAndDigitsModule.h:67
Belle2::ECLTrimShowersAndDigitsModule::m_selectedShowers
SelectSubset< ECLShower > m_selectedShowers
selected ECLShowers
Definition
ECLTrimShowersAndDigitsModule.h:64
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::SelectSubset
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Definition
SelectSubset.h:193
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
ecl
modules
eclTrimShowersAndDigits
include
ECLTrimShowersAndDigitsModule.h
Generated on Sat May 17 2025 02:58:16 for Belle II Software by
1.13.2