Belle II Software  release-05-01-25
DriftLengthEstimator.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <string>
13 #include <cmath>
14 
15 namespace Belle2 {
20  class ModuleParamList;
22 }
23 
24 namespace Belle2 {
29  namespace TrackFindingCDC {
30  class CDCFacet;
31  class CDCRecoHit2D;
32  class CDCRecoHit3D;
33  class CDCSegment2D;
34  class CDCSegment3D;
35  class CDCTrack;
36 
39 
41  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix);
42 
44  double updateDriftLength(CDCRecoHit2D& recoHit2D);
45 
47  double updateDriftLength(CDCRecoHit3D& recoHit3D, double tanLambda);
48 
54  void updateDriftLength(CDCFacet& facet);
55 
57  void updateDriftLength(CDCSegment2D& segment);
58 
60  void updateDriftLength(CDCSegment3D& segment, double tanLambda);
61 
63  void updateDriftLength(CDCTrack& track, double tanLambda);
64 
67 
69  double m_param_tofMassScale = NAN;
70  };
71  }
73 }
Belle2::TrackFindingCDC::CDCRecoHit3D
Class representing a three dimensional reconstructed hit.
Definition: CDCRecoHit3D.h:62
Belle2::TrackFindingCDC::CDCTrack
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:51
Belle2::TrackFindingCDC::DriftLengthEstimator::m_param_tofMassScale
double m_param_tofMassScale
Parameter : Mass to estimate the velocity in the flight time to the hit.
Definition: DriftLengthEstimator.h:69
Belle2::TrackFindingCDC::CDCSegment3D
A segment consisting of three dimensional reconstructed hits.
Definition: CDCSegment3D.h:36
Belle2::TrackFindingCDC::DriftLengthEstimator::m_param_useAlphaInDriftLength
bool m_param_useAlphaInDriftLength
Parameter : Switch to serve the alpha angle to the drift length translator.
Definition: DriftLengthEstimator.h:66
Belle2::TrackFindingCDC::DriftLengthEstimator::updateDriftLength
double updateDriftLength(CDCRecoHit2D &recoHit2D)
Update the drift length of the reconstructed hit in place.
Definition: DriftLengthEstimator.cc:58
Belle2::TrackFindingCDC::CDCRecoHit2D
Class representing a two dimensional reconstructed hit in the central drift chamber.
Definition: CDCRecoHit2D.h:57
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::CDCFacet
Class representing a triple of neighboring oriented wire with additional trajectory information.
Definition: CDCFacet.h:42
Belle2::TrackFindingCDC::CDCSegment2D
A reconstructed sequence of two dimensional hits in one super layer.
Definition: CDCSegment2D.h:40
Belle2::TrackFindingCDC::DriftLengthEstimator::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix)
Add the parameters of the estimator to the module.
Definition: DriftLengthEstimator.cc:45
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46
Belle2::TrackFindingCDC::DriftLengthEstimator
Helper construct implementing the (re)estimation of the drift length for various hit objects.
Definition: DriftLengthEstimator.h:38