Belle II Software development
SVDClusterFilterModule.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#ifndef CLUSTERFILTERMODULE_H
10#define CLUSTERFILTERMODULE_H
11
12#include <framework/core/Module.h>
13#include <framework/datastore/SelectSubset.h>
14
15#include <svd/dataobjects/SVDCluster.h>
16
17
18namespace Belle2 {
28
29 public:
30
35
37 virtual ~SVDClusterFilterModule() override;
38
40 virtual void event() override;
41
43 virtual void initialize() override;
44
45 private:
46
47 std::string m_inputArrayName;
48 std::string m_outputINArrayName;
53 float m_minClSNR;
54
55 std::set<VxdID> m_outVxdID;
56 void create_outVxdID_set();
57
60 };
61
62}
63
64#endif /* CLUSTERFILTERMODULE_H */
Module()
Constructor.
Definition Module.cc:30
std::string m_outputOUTArrayName
StoreArray with the NOT selected output clusters.
std::string m_outputINArrayName
StoreArray with the selected output clusters.
SVDClusterFilterModule()
Constructor: Sets the description, the properties and the parameters of the module.
virtual void initialize() override
init the module
virtual ~SVDClusterFilterModule() override
if required
virtual void event() override
processes the event
std::set< VxdID > m_outVxdID
set containing the VxdID of the DUT sensors
int m_xShell
X shell identificator: +1(+X), -1 (-X), 0(both)
int m_layerNum
the layer number from which the clusters should be excluded m_sensorID
SelectSubset< SVDCluster > m_notSelectedClusters
all clusters on the layer with m_layerNum
SelectSubset< SVDCluster > m_selectedClusters
all clusters NOT on the layer with m_layerNum
int m_yShell
Y shell identificator: +1(+Y), -1 (-Y), 0(both)
std::string m_inputArrayName
StoreArray with the input clusters.
float m_minClSNR
minimum cluster SNR
void create_outVxdID_set()
creates the set containing the VxdID of the DUT sensors
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Abstract base class for different kinds of events.