Belle II Software light-2406-ragdoll
UdstListFilterModule.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 <framework/datastore/SelectSubset.h>
13
14
15// framework - DataStore
16#include <framework/database/DBObjPtr.h>
17#include <framework/datastore/StoreArray.h>
18#include <framework/datastore/StoreObjPtr.h>
19
20// DataObjects
21#include <analysis/dataobjects/Particle.h>
22#include <analysis/dataobjects/ParticleList.h>
23#include <mdst/dataobjects/V0.h>
24#include <mdst/dataobjects/ECLCluster.h>
25#include <mdst/dataobjects/KLMCluster.h>
26#include <mdst/dataobjects/MCParticle.h>
27#include <mdst/dataobjects/Track.h>
28#include <mdst/dataobjects/PIDLikelihood.h>
29
30namespace Belle2 {
42 public:
51 virtual void initialize() override;
55 virtual void event() override;
56 private:
57
61 void swapV0s();
62
63
65 std::string m_listName;
66 bool m_reverse;
79 };
81}
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
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Module to filter udst content based on a particle list.
StoreArray< V0 > * m_selectedV0s
New selected V0 array.
StoreArray< TrackFitResult > m_trackfitresults
StoreArray of TrackFitResults.
void swapV0s()
Update V0 mdst datastore object.
virtual void initialize() override
Initialize the Module.
StoreArray< KLMCluster > m_klmclusters
StoreArray of KLMCluster.
StoreArray< V0 > m_v0s
StoreArray of V0s.
virtual void event() override
Event processor.
StoreArray< MCParticle > m_mcparticles
StoreArray of MCParticles.
std::string m_listName
Breco particle list name.
SelectSubset< Track > m_track_selector
Selector of sub-set of tracks.
StoreArray< PIDLikelihood > m_pidlikelihoods
StoreArray of PIDLikelihoods.
SelectSubset< KLMCluster > m_klm_selector
Selector of sub-set of KLM clusters.
StoreArray< Track > m_tracks
StoreArray of Tracks.
SelectSubset< ECLCluster > m_ecl_selector
Selector of sub-set of ECL clusters.
SelectSubset< V0 > m_v0_selector
Selector of sub-set of V0s.
StoreArray< ECLCluster > m_eclclusters
StoreArray of ECLCluster.
StoreObjPtr< ParticleList > m_plist
list used for cleaning
bool m_reverse
Reverse selection: keep objects NOT mentioned in the list.
Abstract base class for different kinds of events.
Definition: ClusterUtils.h:24