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 <reconstruction/dataobjects/DedxConstants.h>
12#include <reconstruction/dataobjects/CDCDedxTrack.h>
13
14#include <framework/dataobjects/EventMetaData.h>
15#include <framework/datastore/StoreArray.h>
16#include <framework/datastore/StoreObjPtr.h>
17#include <framework/database/DBObjPtr.h>
18#include <framework/core/Module.h>
19#include <framework/datastore/SelectSubset.h>
20
21#include <analysis/dataobjects/ParticleList.h>
22#include <analysis/dataobjects/Particle.h>
23
24#include <string>
25#include <vector>
26
27namespace Belle2 {
36
37 public:
38
41
43 virtual ~CDCDedxSkimCDSTModule();
44
46 virtual void initialize() override;
47
49 // void mySelectionFunction(const CDCDedxTrack* dedxTrack);
50
53 virtual void event() override;
54
56 virtual void terminate() override;
57
58 private:
60 std::vector<std::string> m_strParticleList;
63 };
65} // Belle2 namespace
Extracts dE/dx information for calibration testing.
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.
Base class for Modules.
Definition: Module.h:72
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Definition: SelectSubset.h:193
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.