Belle II Software  release-05-01-25
SelectorCut.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2018 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Marcel Hohmann *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <analysis/modules/CurlTagger/Selector.h>
14 
15 #include <analysis/dataobjects/Particle.h>
16 #include <vector>
17 
18 namespace Belle2 {
23  namespace CurlTagger {
24 
26  class SelectorCut : public Selector {
27 
28  public:
30  explicit SelectorCut(bool belleFlag);
31 
33  ~SelectorCut();
34 
36  virtual float getResponse(Particle* iPart, Particle* jPart) override;
37 
39  virtual std::vector<float> getVariables(Particle* iPart, Particle* jPart) override;
40 
41  private:
43  double m_magDiffPCut;
44 
46  double m_sameChargePhiCut;
47 
50 
51  }; //class
52 
53  } // curlTagger Module namespace
55 }// Belle 2 namespace
56 
Belle2::CurlTagger::SelectorCut::m_sameChargePhiCut
double m_sameChargePhiCut
cut for angle between momenta of the two particles when they have the same charge
Definition: SelectorCut.h:54
Belle2::CurlTagger::SelectorCut::m_oppositeChargePhiCut
double m_oppositeChargePhiCut
cut for angle between momenta of the two particles when they have the opposite charge
Definition: SelectorCut.h:57
Belle2::CurlTagger::SelectorCut::~SelectorCut
~SelectorCut()
Destructor.
Belle2::CurlTagger::SelectorCut::m_magDiffPCut
double m_magDiffPCut
cut for momentum magnitude difference
Definition: SelectorCut.h:51
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::CurlTagger::SelectorCut::SelectorCut
SelectorCut(bool belleFlag)
Constructor.
Definition: SelectorCut.cc:20
Belle2::Particle
Class to store reconstructed particles.
Definition: Particle.h:77
Belle2::CurlTagger::SelectorCut::getResponse
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:46
Belle2::CurlTagger::SelectorCut::getVariables
virtual std::vector< float > getVariables(Particle *iPart, Particle *jPart) override
returns vector of variables used by this selector.
Definition: SelectorCut.cc:38