Belle II Software development
CDCDedxSkimCDST.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 <cdc/dataobjects/CDCDedxTrack.h>
12
13#include <framework/datastore/StoreArray.h>
14#include <framework/core/Module.h>
15#include <framework/datastore/SelectSubset.h>
16
17#include <string>
18#include <vector>
19
20namespace Belle2 {
25
29
30 public:
31
34
36 virtual ~CDCDedxSkimCDSTModule();
37
39 virtual void initialize() override;
40
42 // void mySelectionFunction(const CDCDedxTrack* dedxTrack);
43
46 virtual void event() override;
47
49 virtual void terminate() override;
50
51 private:
53 std::vector<std::string> m_strParticleList;
56 };
57
58} // Belle2 namespace
CDCDedxSkimCDSTModule()
Default constructor.
virtual void initialize() override
Initialize the module.
virtual void event() override
Selection function to skim DataStore.
virtual void terminate() override
End of the event processing.
bool isRecList
set particle list type FS or reco particle list
virtual ~CDCDedxSkimCDSTModule()
Destructor.
SelectSubset< CDCDedxTrack > m_selector
Used to get a subset of the input array.
StoreArray< CDCDedxTrack > m_dedxTracks
Input array of CDCDedxTracks.
std::vector< std::string > m_strParticleList
Vector of ParticleLists to write out.
Module()
Constructor.
Definition Module.cc:30
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Abstract base class for different kinds of events.