Belle II Software development
RecoTracksReverterModule.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#pragma once
9
10#include <framework/core/Module.h>
11#include <framework/database/DBObjPtr.h>
12#include <framework/datastore/StoreArray.h>
13
17namespace Belle2 {
22 class RecoTrack;
23 class Track;
25
28
29 public:
32
34 void initialize() override;
35
37 void beginRun() override;
38
40 void event() override;
41
42 private:
48 DBObjPtr<TrackFlippingCuts> m_flipCutsFromDB{"TRKTrackFlipAndRefit_MVA_cuts"};
55
56 };
57
58}
59
Class for accessing objects in the database.
Definition DBObjPtr.h:21
Module()
Constructor.
Definition Module.cc:30
This is the Reconstruction Event-Data Model Track.
Definition RecoTrack.h:79
StoreArray< RecoTrack > m_inputRecoTracks
Store Array of the input tracks.
StoreArray< RecoTrack > m_outputRecoTracks
Store Array of the output tracks.
void initialize() override
Declare required StoreArray.
void event() override
Event processing.
RecoTracksReverterModule()
Constructor of the module. Setting up parameters and description.
DBObjPtr< TrackFlippingCuts > m_flipCutsFromDB
the flipping cuts can be read from the DB
StoreArray< Track > m_tracks
Store Array of the input tracks (for relations)
std::string m_inputStoreArrayName
Name of the input StoreArray.
std::string m_outputStoreArrayName
Name of the output StoreArray.
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
The payload containing the cuts for 2 mva based filters to decide whether a RecoTrack should be flipp...
Class that bundles various TrackFitResults.
Definition Track.h:25
Abstract base class for different kinds of events.