Belle II Software development
SVDEventT0Configuration.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#include <TObject.h>
11#include <TString.h>
12
13namespace Belle2 {
22 class SVDEventT0Configuration: public TObject {
23 public:
27 SVDEventT0Configuration(const TString& uniqueID = "")
28 : m_uniqueID(uniqueID)
31 , m_absPzSelection(0.0)
32 , m_absD0Selection(0.5)
33 , m_absZ0Selection(2.0)
34 {};
35
39 std::string get_name() const {return s_name;}
40
44 TString get_uniqueID() const {return m_uniqueID;}
45
52
56 double getMinimumPtSelection() const { return m_minimumPtSelection; };
57
61 double getAbsPzSelection() const { return m_absPzSelection; };
62
66 double getAbsD0Selection() const { return m_absD0Selection; };
67
71 double getAbsZ0Selection() const { return m_absZ0Selection; };
72
78 void setSelectTracksFromIP(bool selectTracksFromIP) { m_selectTracksFromIP = selectTracksFromIP; };
79
83 void setMinimumPtSelection(double minimumPtSelection) { m_minimumPtSelection = minimumPtSelection; };
84
88 void setAbsPzSelection(double absPzSelection) { m_absPzSelection = absPzSelection; };
89
93 void setAbsD0Selection(double absD0Selection) { m_absD0Selection = absD0Selection; };
94
98 void setAbsZ0Selection(double absZ0Selection) { m_absZ0Selection = absZ0Selection; };
99
100 private:
101
103 static std::string s_name;
104
106 TString m_uniqueID;
107
116 };
117
119}
120
121
This class store the configuration of the selections applied on the tracks used to compute the SVD Ev...
TString m_uniqueID
unique identifier of the SVD EventT0 configuration payload
std::string get_name() const
Get payload name.
double m_absPzSelection
Cut on abs(pz) for RecoTrack selection.
double getAbsD0Selection() const
Return the cut on maximum absolute value of the d0 for RecoTrack selection.
double m_minimumPtSelection
Cut on pt for RecoTrack selection.
static std::string s_name
name of the payload
bool m_selectTracksFromIP
Apply the selection based on the absolute values of d0.
double getMinimumPtSelection() const
Return the cut on minimum transverse momentum pt for RecoTrack selection.
double getAbsZ0Selection() const
Return cut on maximum absolute value of the z0 for RecoTrack selection.
double m_absD0Selection
Cut on abs(d0), in cm, for RecoTrack selection.
double m_absZ0Selection
Cut on abs(z0), in cm, for RecoTrack selection.
void setSelectTracksFromIP(bool selectTracksFromIP)
Set the boolean used to specify whether apply the selection based on the absolute values of d0 and z0...
TString get_uniqueID() const
Get the unique ID of the calibration.
void setAbsZ0Selection(double absZ0Selection)
Set cut on maximum absolute value of the z0 for RecoTrack selection.
void setMinimumPtSelection(double minimumPtSelection)
Set the cut on minimum transverse momentum pt for RecoTrack selection.
SVDEventT0Configuration(const TString &uniqueID="")
Default constructor.
double getAbsPzSelection() const
Return the cut on minimum absolute value of the longitudinal momentum, abs(pz), for RecoTrack selecti...
bool getSelectTracksFromIP() const
Return the boolean used to specify whether apply the selection based on the absolute values of d0 and...
void setAbsD0Selection(double absD0Selection)
Set the cut on maximum absolute value of the d0 for RecoTrack selection.
void setAbsPzSelection(double absPzSelection)
Set the cut on minimum absolute value of the longitudinal momentum, abs(pz), for RecoTrack selection.
ClassDef(SVDEventT0Configuration, 1)
needed by root
Abstract base class for different kinds of events.