Belle II Software development
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
30 class CDCHitFilterModule : public Module {
31
32 public:
37
41 virtual ~CDCHitFilterModule();
42
46 void initialize() override;
47
52 void event() override;
53
54 private:
59
64
65
68 int m_filterWireMax = -1;
74 };//end class declaration
75
76
77 } //end CDC namespace;
79} // end namespace Belle2
80
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.