Belle II Software light-2406-ragdoll
SelectorCut.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
11#include <analysis/modules/CurlTagger/Selector.h>
12
13#include <analysis/dataobjects/Particle.h>
14#include <vector>
15
16namespace Belle2 {
21 namespace CurlTagger {
22
24 class SelectorCut : public Selector {
25
26 public:
28 explicit SelectorCut(bool belleFlag);
29
32
34 virtual float getResponse(Particle* iPart, Particle* jPart) override;
35
37 virtual std::vector<float> getVariables(Particle* iPart, Particle* jPart) override;
38
39 private:
42
45
48
49 }; //class
50
51 } // curlTagger Module namespace
53}// Belle 2 namespace
54
Simple cut based selector for curl tracks taken from Belle note 1079.
Definition: SelectorCut.h:24
virtual std::vector< float > getVariables(Particle *iPart, Particle *jPart) override
returns vector of variables used by this selector.
Definition: SelectorCut.cc:35
double m_sameChargePhiCut
cut for angle between momenta of the two particles when they have the same charge
Definition: SelectorCut.h:44
double m_oppositeChargePhiCut
cut for angle between momenta of the two particles when they have the opposite charge
Definition: SelectorCut.h:47
double m_magDiffPCut
cut for momentum magnitude difference
Definition: SelectorCut.h:41
virtual float getResponse(Particle *iPart, Particle *jPart) override
Selector response that this pair of particles come from the same mc/actual particle.
Definition: SelectorCut.cc:43
Abstract base class for curl track selectors.
Definition: Selector.h:22
Class to store reconstructed particles.
Definition: Particle.h:75
Abstract base class for different kinds of events.
Definition: ClusterUtils.h:24