Belle II Software  release-05-01-25
CDCTriggerPlane.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Makoto Uchida (original), CDC group *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <TObject.h>
13 #include <TVector3.h>
14 
15 namespace Belle2 {
24  class CDCTriggerPlane: public TObject {
25  public:
26 
30  CDCTriggerPlane() {}
31 
35  const TVector3& getTriggerPosition() const
36  {
37  return m_position;
38  }
42  const TVector3& getTriggerDirection() const
43  {
44  return m_direction;
45  }
46 
50  const TVector3& getPmtPosition() const
51  {
52  return m_pmtPosition;
53  }
54 
58  double getLightPropSpeed() const
59  {
60  return m_lightPropSpeed;
61  }
62 
63  private:
64  TVector3 m_position;
65  TVector3 m_direction;
66  TVector3 m_pmtPosition;
67  double m_lightPropSpeed = 12.9925;
69  };
70 
72 } // end namespace Belle2
73 
Belle2::CDCTriggerPlane::getPmtPosition
const TVector3 & getPmtPosition() const
Getter for the pmt position.
Definition: CDCTriggerPlane.h:58
Belle2::CDCTriggerPlane::m_position
TVector3 m_position
center position of the trigger plane.
Definition: CDCTriggerPlane.h:72
Belle2::CDCTriggerPlane::ClassDef
ClassDef(CDCTriggerPlane, 1)
ClassDef.
Belle2::CDCTriggerPlane::m_pmtPosition
TVector3 m_pmtPosition
edge position of the pmt.
Definition: CDCTriggerPlane.h:74
Belle2::CDCTriggerPlane::getLightPropSpeed
double getLightPropSpeed() const
Getter for the light speed in the scintillator.
Definition: CDCTriggerPlane.h:66
Belle2::CDCTriggerPlane::getTriggerPosition
const TVector3 & getTriggerPosition() const
Getter for the center posotion of the trigger plane.
Definition: CDCTriggerPlane.h:43
Belle2::CDCTriggerPlane::m_lightPropSpeed
double m_lightPropSpeed
light of speed in the trigger counter.
Definition: CDCTriggerPlane.h:75
Belle2::CDCTriggerPlane::getTriggerDirection
const TVector3 & getTriggerDirection() const
Getter for the normal vector to the trigger plane.
Definition: CDCTriggerPlane.h:50
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::CDCTriggerPlane
Database object for timing offset (t0).
Definition: CDCTriggerPlane.h:32
Belle2::CDCTriggerPlane::m_direction
TVector3 m_direction
normal direction to the trigger plane.
Definition: CDCTriggerPlane.h:73
Belle2::CDCTriggerPlane::CDCTriggerPlane
CDCTriggerPlane()
Default constructor.
Definition: CDCTriggerPlane.h:38