Belle II Software  release-05-01-25
CDCDedxSkimCDST.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2012 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Jake Bennett
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <reconstruction/dataobjects/DedxConstants.h>
14 #include <reconstruction/dataobjects/CDCDedxTrack.h>
15 
16 #include <framework/dataobjects/EventMetaData.h>
17 #include <framework/datastore/StoreArray.h>
18 #include <framework/datastore/StoreObjPtr.h>
19 #include <framework/database/DBObjPtr.h>
20 #include <framework/core/Module.h>
21 #include <framework/datastore/SelectSubset.h>
22 
23 #include <analysis/dataobjects/ParticleList.h>
24 #include <analysis/dataobjects/Particle.h>
25 
26 #include <string>
27 #include <vector>
28 
29 namespace Belle2 {
37  class CDCDedxSkimCDSTModule : public Module {
38 
39  public:
40 
43 
46 
48  virtual void initialize() override;
49 
51  // void mySelectionFunction(const CDCDedxTrack* dedxTrack);
52 
55  virtual void event() override;
56 
58  virtual void terminate() override;
59 
60  private:
61  bool isRecList;
62  std::vector<std::string> m_strParticleList;
65  };
67 } // Belle2 namespace
Belle2::CDCDedxSkimCDSTModule::~CDCDedxSkimCDSTModule
virtual ~CDCDedxSkimCDSTModule()
Destructor.
Definition: CDCDedxSkimCDST.cc:33
Belle2::SelectSubset
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Definition: SelectSubset.h:203
Belle2::CDCDedxSkimCDSTModule::CDCDedxSkimCDSTModule
CDCDedxSkimCDSTModule()
Default constructor.
Definition: CDCDedxSkimCDST.cc:25
Belle2::CDCDedxSkimCDSTModule::m_strParticleList
std::vector< std::string > m_strParticleList
Vector of ParticleLists to write out.
Definition: CDCDedxSkimCDST.h:70
Belle2::CDCDedxSkimCDSTModule::m_selector
SelectSubset< CDCDedxTrack > m_selector
Used to get a subset of the input array.
Definition: CDCDedxSkimCDST.h:72
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::CDCDedxSkimCDSTModule::event
virtual void event() override
Selection function to skim DataStore.
Definition: CDCDedxSkimCDST.cc:54
Belle2::CDCDedxSkimCDSTModule::initialize
virtual void initialize() override
Initialize the module.
Definition: CDCDedxSkimCDST.cc:35
Belle2::CDCDedxSkimCDSTModule::isRecList
bool isRecList
set particle list type FS or reco particle list
Definition: CDCDedxSkimCDST.h:69
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::CDCDedxSkimCDSTModule::m_dedxTracks
StoreArray< CDCDedxTrack > m_dedxTracks
Intput array of CDCDedxTracks.
Definition: CDCDedxSkimCDST.h:71
Belle2::CDCDedxSkimCDSTModule::terminate
virtual void terminate() override
End of the event processing.
Definition: CDCDedxSkimCDST.cc:151