Belle II Software development
FlippedRecoTracksMergerModule.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 <tracking/dbobjects/TrackFlippingCuts.h>
16#include <framework/datastore/StoreAccessorBase.h>
17#include <framework/datastore/RelationArray.h>
18#include <mdst/dataobjects/Track.h>
19
24namespace Belle2 {
31
32 public:
35
37 void initialize() override;
38
40 void event() override;
41
42 private:
62 OptionalDBObjPtr<TrackFlippingCuts> m_flipCutsFromDB{"TRKTrackFlipAndRefit_MVA_cuts"};
63
66 };
68}
69
Module to merge the original and flipped RecoTracks.
std::string m_param_bklmHitsStoreArrayName
StoreArray name of the BKLM hits.
StoreArray< RecoTrack > m_inputRecoTracks
store array for the input RecoTracks
std::string m_inputStoreArrayNameFlipped
Name of the input StoreArray for flipped tracks.
std::string m_param_pxdHitsStoreArrayName
StoreArray name of the PXD hits.
void initialize() override
Declare required StoreArray.
std::string m_param_eklmHitsStoreArrayName
StoreArray name of the EKLM hits.
StoreArray< TrackFitResult > m_trackFitResults
StoreArray of TrackFitResult, only default name should be considered here.
std::string m_param_svdHitsStoreArrayName
StoreArray name of the SVD hits.
std::string m_inputStoreArrayName
Name of the input StoreArray.
std::string m_param_cdcHitsStoreArrayName
StoreArray name of the CDC hits.
FlippedRecoTracksMergerModule()
Constructor of the module. Setting up parameters and description.
OptionalDBObjPtr< TrackFlippingCuts > m_flipCutsFromDB
flipping cuts could be read from the DB
StoreArray< RecoTrack > m_inputRecoTracksFlipped
store array for the input flipped RecoTracks
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
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.