Belle II Software  release-05-02-19
TrackClusterSeparation.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Leo Piilonen *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/datastore/RelationsObject.h>
14 
15 namespace Belle2 {
21  class TrackClusterSeparation : public RelationsObject {
23 
24  public:
25 
28 
31 
33  double getDistance() const { return m_Distance; }
34 
36  double getTrackClusterAngle() const { return m_TrackClusterAngle; }
37 
40 
43 
45  double getTrackRotationAngle() const { return m_TrackRotationAngle; }
46 
48  void setDistance(double d) { m_Distance = d; }
49 
51  void setTrackClusterAngle(double angle) { m_TrackClusterAngle = angle; }
52 
55 
58 
60  void setTrackRotationAngle(double angle) { m_TrackRotationAngle = angle; }
61 
62  private:
63 
65  float m_Distance;
66 
69 
72 
75 
78 
81 
82  };
84 }
Belle2::TrackClusterSeparation::getTrackClusterSeparationAngle
double getTrackClusterSeparationAngle() const
Definition: TrackClusterSeparation.h:50
Belle2::TrackClusterSeparation::setTrackClusterAngle
void setTrackClusterAngle(double angle)
set angle between track-cluster direction and track momentum at the POCA
Definition: TrackClusterSeparation.h:59
Belle2::TrackClusterSeparation::m_Distance
float m_Distance
distance between the track and KLM cluster
Definition: TrackClusterSeparation.h:73
Belle2::TrackClusterSeparation::setTrackRotationAngle
void setTrackRotationAngle(double angle)
set angle between track's momentum at the origin and at the POCA
Definition: TrackClusterSeparation.h:68
Belle2::RelationsInterface::ClassDef
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Belle2::TrackClusterSeparation::~TrackClusterSeparation
virtual ~TrackClusterSeparation()
Destructor.
Definition: TrackClusterSeparation.h:38
Belle2::TrackClusterSeparation::TrackClusterSeparation
TrackClusterSeparation()
Empty constructor for default and ROOT IO (needed to make the class storable)
Definition: TrackClusterSeparation.cc:16
Belle2::TrackClusterSeparation::m_TrackClusterInitialSeparationAngle
float m_TrackClusterInitialSeparationAngle
angle between the track's momentum at the origin and the cluster direction
Definition: TrackClusterSeparation.h:79
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackClusterSeparation::getTrackClusterAngle
double getTrackClusterAngle() const
Definition: TrackClusterSeparation.h:44
Belle2::TrackClusterSeparation::setTrackClusterSeparationAngle
void setTrackClusterSeparationAngle(double angle)
set angle between cluster direction and track's momentum at the POCA
Definition: TrackClusterSeparation.h:65
Belle2::TrackClusterSeparation::getTrackClusterInitialSeparationAngle
double getTrackClusterInitialSeparationAngle() const
Definition: TrackClusterSeparation.h:47
Belle2::TrackClusterSeparation::m_TrackClusterAngle
float m_TrackClusterAngle
angle between the track's momentum at the POCA and the track-to-cluster direction (nominally pi/2)
Definition: TrackClusterSeparation.h:76
Belle2::TrackClusterSeparation::setTrackClusterInitialSeparationAngle
void setTrackClusterInitialSeparationAngle(double angle)
set angle between cluster direction and track's initial momentum
Definition: TrackClusterSeparation.h:62
Belle2::TrackClusterSeparation::getDistance
double getDistance() const
Definition: TrackClusterSeparation.h:41
Belle2::RelationsObject
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Definition: RelationsObject.h:443
Belle2::TrackClusterSeparation::m_TrackClusterSeparationAngle
float m_TrackClusterSeparationAngle
angle between the track's momentum at the POCA and the cluster direction
Definition: TrackClusterSeparation.h:82
Belle2::TrackClusterSeparation::m_TrackRotationAngle
float m_TrackRotationAngle
angle between the track's momentum at the origin and at the POCA
Definition: TrackClusterSeparation.h:85
Belle2::TrackClusterSeparation::setDistance
void setDistance(double d)
set separation distance between track and KLM cluster
Definition: TrackClusterSeparation.h:56
Belle2::TrackClusterSeparation
Store one Track-KLMCluster separation as a ROOT object.
Definition: TrackClusterSeparation.h:30
Belle2::TrackClusterSeparation::getTrackRotationAngle
double getTrackRotationAngle() const
Definition: TrackClusterSeparation.h:53