Belle II Software development
BremFindingMatchCompute.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#pragma once
9
10namespace genfit {
11 class MeasuredStateOnPlane;
12}
13
14namespace Belle2 {
20 class ECLCluster;
21
27 public:
31 BremFindingMatchCompute(float clusterAcceptanceFactor, const ECLCluster* cluster,
32 genfit::MeasuredStateOnPlane const& measuredStateOnPlane) :
33 m_clusterAcceptanceFactor(clusterAcceptanceFactor),
34 m_eclCluster(cluster),
35 m_measuredStateOnPlane(measuredStateOnPlane)
36 {}
37
41 bool isMatch();
42
47
52 private:
57
62
66 genfit::MeasuredStateOnPlane const& m_measuredStateOnPlane;
67
72
77
78 };
79
81} //Belle2
Module to compute if an extrapolation to the ECL matches the position of an secondary ECLCLuster to f...
BremFindingMatchCompute(float clusterAcceptanceFactor, const ECLCluster *cluster, genfit::MeasuredStateOnPlane const &measuredStateOnPlane)
Constructor for setting parameters.
bool isMatch()
Check if the angles of the cluster position and the extrapolation match.
const ECLCluster * m_eclCluster
Bremsstrahlung cluster candidate gets stored here.
double getEffAcceptanceFactor()
Return the effective acceptance factor.
float m_clusterAcceptanceFactor
Factor which is multiplied onto the cluster position error to check for matches.
double m_distanceHitCluster
Difference between the angles of extrapolation and cluster position.
genfit::MeasuredStateOnPlane const & m_measuredStateOnPlane
VXD hit.
double getDistanceHitCluster()
Return the difference between the angles of extrapolation and cluster position.
double m_effAcceptanceFactor
The effective acceptance factor, needed to assign the radiation.
ECL cluster data.
Definition: ECLCluster.h:27
Abstract base class for different kinds of events.