Belle II Software  release-05-01-25
BremFindingMatchCompute.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Thomas Hauth, Patrick Ecker *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 namespace genfit {
13  class MeasuredStateOnPlane;
14 }
15 
16 namespace Belle2 {
22  class ECLCluster;
23 
29  public:
33  BremFindingMatchCompute(float clusterAcceptanceFactor, ECLCluster const& cluster,
34  genfit::MeasuredStateOnPlane const& measuredStateOnPlane) :
35  m_clusterAcceptanceFactor(clusterAcceptanceFactor),
36  m_eclCluster(cluster),
37  m_measuredStateOnPlane(measuredStateOnPlane)
38  {}
39 
43  bool isMatch();
44 
49 
54  private:
59 
64 
69 
74 
78  double m_effAcceptanceFactor = -1;
79 
80  };
81 
83 } //Belle2
Belle2::BremFindingMatchCompute::getDistanceHitCluster
double getDistanceHitCluster()
Return the difference between the angles of extrapolation and cluster position.
Definition: BremFindingMatchCompute.h:48
genfit::MeasuredStateOnPlane
#StateOnPlane with additional covariance matrix.
Definition: MeasuredStateOnPlane.h:39
Belle2::ECLCluster
ECL cluster data.
Definition: ECLCluster.h:39
Belle2::BremFindingMatchCompute::isMatch
bool isMatch()
Check if the angles of the cluster position and the extrapolation match.
Definition: BremFindingMatchCompute.cc:23
genfit
Defines for I/O streams used for error and debug printing.
Definition: AlignablePXDRecoHit.h:19
Belle2::BremFindingMatchCompute::m_measuredStateOnPlane
genfit::MeasuredStateOnPlane const & m_measuredStateOnPlane
VXD hit.
Definition: BremFindingMatchCompute.h:68
Belle2::BremFindingMatchCompute::m_clusterAcceptanceFactor
float m_clusterAcceptanceFactor
Factor which is multiplied onto the cluster position error to check for matches.
Definition: BremFindingMatchCompute.h:58
Belle2::BremFindingMatchCompute::BremFindingMatchCompute
BremFindingMatchCompute(float clusterAcceptanceFactor, ECLCluster const &cluster, genfit::MeasuredStateOnPlane const &measuredStateOnPlane)
Constructor for setting parameters.
Definition: BremFindingMatchCompute.h:33
Belle2::BremFindingMatchCompute::m_distanceHitCluster
double m_distanceHitCluster
Difference between the angles of extrapolation and cluster position.
Definition: BremFindingMatchCompute.h:73
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::BremFindingMatchCompute::m_effAcceptanceFactor
double m_effAcceptanceFactor
The effective acceptance factor, needed to assign the radiation.
Definition: BremFindingMatchCompute.h:78
Belle2::BremFindingMatchCompute
Module to compute if an extrapolation to the ECL matches the position of an secondary ECLCLuster to f...
Definition: BremFindingMatchCompute.h:28
Belle2::BremFindingMatchCompute::getEffAcceptanceFactor
double getEffAcceptanceFactor()
Return the effective acceptance factor.
Definition: BremFindingMatchCompute.h:53
Belle2::BremFindingMatchCompute::m_eclCluster
ECLCluster const & m_eclCluster
Bremsstrahlung cluster candidate gets stored here.
Definition: BremFindingMatchCompute.h:63