Belle II Software release-09-00-00
CDCHitFilterModule.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 <cdc/dataobjects/CDCHit.h>
13#include <framework/datastore/StoreArray.h>
14
15#include <string>
16
17namespace Belle2 {
23 namespace CDC {
24
33 class CDCHitFilterModule : public Module {
34
35 public:
40
44 virtual ~CDCHitFilterModule();
45
49 void initialize() override;
50
55 void event() override;
56
57 private:
62
67
68
71 int m_filterWireMax = -1;
77 };//end class declaration
78
79
80 } //end CDC namespace;
82} // end namespace Belle2
83
CDCHitFilter: Filters CDC hits according to given configuration criteria.
CDCHitFilterModule()
Constructor of the module.
int m_filterSuperLayer
Only perform digitization for a specific super layer or for all, if the value is -1.
StoreArray< CDCHit > m_inputCDCHits
Input CDCHit array.
void initialize() override
Initializes the Module.
void event() override
Begin run action.
std::string m_outputCDCHitListName
Name of the CDCHit list, which will contain the hits passing all filter criteria.
virtual ~CDCHitFilterModule()
Destructor of the module.
StoreArray< CDCHit > m_outputCDCHits
Output (filtered) CDCHit array.
int m_filterWireMax
Only perform digitization for a specific wire or for all, if the value is -1.
int m_filterLayerMax
Only perform digitization up to a specific layer or for all, if the value is -1.
std::string m_inputCDCHitListName
Name of the CDCHit List to filter.
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.