Belle II Software development
SVDEventT0EstimatorModule.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
10#pragma once
11
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <framework/datastore/StoreObjPtr.h>
15#include <mdst/dataobjects/TrackFitResult.h>
16
17#include <string>
18
19namespace Belle2 {
25 class RecoTrack;
26 class EventT0;
27 class SVDEventT0Configuration;
28
35 public:
36
39
42
44 virtual void initialize() override;
45
47 void beginRun() override;
48
50 virtual void event() override;
51
52 private:
53
56 std::string m_eventT0Name = "EventT0";
57 std::string m_recoTracksName = "RecoTracks";
60 double m_ptSelection = 0.25;
61 double m_absPzSelection = 0.;
62 double m_absD0Selection = 0.5;
63 double m_absZ0Selection = 2.0;
66 bool m_useDB = true;
67 std::string m_algorithm = "clsOnTrack_time_average";
70 recoTrack);
71 };
73}
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Base class for Modules.
Definition: Module.h:72
This is the Reconstruction Event-Data Model Track.
Definition: RecoTrack.h:79
This module estimates the EventT0 as the average of cluster time of SVD clusters associated to tracks...
double m_absPzSelection
Cut on abs(pz) for RecoTrack selection.
StoreObjPtr< EventT0 > m_eventT0
EventT0 StoreObjPtr.
bool m_selectTracksFromIP
Apply the selection based on the absolute values of d0 and z0 to select tracks from the IP to compute...
double m_absD0Selection
Cut on abs(d0), in cm, for RecoTrack selection.
virtual void initialize() override
Initialize the SVDEventT0Estimator.
std::string m_algorithm
name of the algorithm used to evaluate SVD-eventT0
virtual void event() override
This method is the core of the SVDEventT0Estimator.
double m_absZ0Selection
Cut on abs(z0), in cm, for RecoTrack selection.
std::string m_recoTracksName
name of RecoTracks StoreArray
double m_ptSelection
Cut on pt for RecoTrack selection.
DBObjPtr< SVDEventT0Configuration > m_svdEventT0Config
SVD EventT0 Reconstruction Configuration payload.
const UncertainHelix constructUncertainHelix(const RecoTrack &recoTrack)
return the UncertainHelix from the seed quantities of the RecoTrack
std::string m_eventT0Name
name of StoreObj EventT0
StoreArray< RecoTrack > m_recoTracks
RecoTracks StoreArray.
virtual ~SVDEventT0EstimatorModule()
default destructor
bool m_useDB
To compute EvetT0, use configuration of selections stored in the DB.
SVDEventT0EstimatorModule()
Constructor defining the parameters.
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
This class represents an ideal helix in perigee parameterization including the covariance matrix of t...
Abstract base class for different kinds of events.