Belle II Software development
TRGGRLInnerTrack.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
9#ifndef TRGGRLInnerTrack_H
10#define TRGGRLInnerTrack_H
11
12#include <framework/datastore/RelationsObject.h>
13#include <vector>
14
15namespace Belle2 {
23 public:
24
29
31 double get_TS_ID(int i) const {return m_TS_ID[i];}
32
34 double get_TS_phi(int i) const {return m_TS_ID[i] * 5.625;}
35
37 void set_TS_ID(int i, int id) { m_TS_ID[i] = id; }
38
39
41 void init()
42 {
43 m_TS_ID.clear();
44 for (int i = 0; i < 5; i++) {
45 m_TS_ID.push_back(-1);
46 }
47 }
48
49 private:
50
52 std::vector<int> m_TS_ID = std::vector<int>(0, 0);
53
55 ClassDef(TRGGRLInnerTrack, 1); /*< the class title */
56
57 };
58
60} // end namespace Belle2
61
62#endif
Defines interface for accessing relations of objects in StoreArray.
a class for neutral ECL cluster in TRGGRL
void init()
initialization
ClassDef(TRGGRLInnerTrack, 1)
! The Class title
double get_TS_ID(int i) const
Get TS ID of SL i, from 0 to 63.
TRGGRLInnerTrack()
Constructor.
void set_TS_ID(int i, int id)
set TS ID of SL i
double get_TS_phi(int i) const
Get TS phi of SL i with unit = 5.625.
std::vector< int > m_TS_ID
TSF0 ID of the track.
Abstract base class for different kinds of events.