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
13#include <framework/datastore/StoreArray.h>
14#include <tracking/dataobjects/RecoTrack.h>
15#include <mdst/dataobjects/Track.h>
16#include <mdst/dataobjects/TrackFitResult.h>
17#include <tracking/dbobjects/TrackFlippingCuts.h>
18
22namespace Belle2 {
29
30 public:
33
35 void initialize() override;
36
38 void event() override;
39
40 private:
46 OptionalDBObjPtr<TrackFlippingCuts> m_flipCutsFromDB{"TRKTrackFlipAndRefit_MVA_cuts"};
53
54 };
56}
57
Base class for Modules.
Definition: Module.h:72
Optional DBObjPtr: This class behaves the same as the DBObjPtr except that it will not raise errors w...
Definition: DBObjPtr.h:48
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.
StoreArray< Track > m_tracks
Store Array of the input tracks (for relations)
std::string m_inputStoreArrayName
Name of the input StoreArray.
OptionalDBObjPtr< TrackFlippingCuts > m_flipCutsFromDB
the flipping cuts can be read from the DB
std::string m_outputStoreArrayName
Name of the output StoreArray.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.