Belle II Software  release-05-01-25
MicrotpcMetaHit.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010-2016 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Igal Jaegle *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef MICROTPCMETAHIT_H
12 #define MICROTPCMETAHIT_H
13 
14 #include <simulation/dataobjects/SimHitBase.h>
15 
16 namespace Belle2 {
28  class MicrotpcMetaHit : public SimHitBase {
29  public:
30 
33  m_ts_nb(0), m_ts_start(), m_ts_stop(),
35  m_IHER(0), m_PHER(0), m_tHER(0), m_flagHER(0),
36  m_ILER(0), m_PLER(0), m_tLER(0), m_flagLER(0) {}
38  MicrotpcMetaHit(int detNb, int pixNb,
39  int ts_nb, const double ts_start[10], const double ts_stop[10],
40  const float Temperature[4], const float Pressure[2], const float Flow[2], float SetFlow, float GetFlow,
41  double IHER, double PHER, double tHER, int flagHER,
42  double ILER, double PLER, double tLER, int flagLER):
43  m_detNb(detNb), m_pixNb(pixNb), m_ts_nb(ts_nb), m_SetFlow(SetFlow), m_GetFlow(GetFlow),
44  m_IHER(IHER), m_PHER(PHER), m_tHER(tHER), m_flagHER(flagHER),
45  m_ILER(ILER), m_PLER(PLER), m_tLER(tLER), m_flagLER(flagLER)
46  {
47  std::copy(ts_start, ts_start + 10, m_ts_start);
48  std::copy(ts_stop, ts_stop + 10, m_ts_stop);
49  std::copy(Temperature, Temperature + 4, m_Temperature);
50  std::copy(Pressure, Pressure + 2, m_Pressure);
51  std::copy(Flow, Flow + 2, m_Flow);
52  }
53 
55  int getdetNb() const { return m_detNb; }
57  int getpixNb() const { return m_pixNb; }
59  int getts_nb() const { return m_ts_nb; }
61  const double* getts_start() const { return m_ts_start; }
63  const double* getts_stop() const { return m_ts_stop; }
65  const float* getTemperature() const { return m_Temperature; }
67  const float* getPressure() const { return m_Pressure; }
69  const float* getFlow() const { return m_Flow; }
71  float getSetFlow() const { return m_SetFlow; }
73  float getGetFlow() const { return m_GetFlow; }
75  double getIHER() const { return m_IHER; }
77  double getPHER() const { return m_PHER; }
79  double gettHER() const { return m_tHER; }
81  double getflagHER() const { return m_flagHER; }
83  double getILER() const { return m_ILER; }
85  double getPLER() const { return m_PLER; }
87  double gettLER() const { return m_tLER; }
89  double getflagLER() const { return m_flagLER; }
90 
91  private:
92 
94  int m_detNb;
96  int m_pixNb;
98  int m_ts_nb;
100  double m_ts_start[10];
102  double m_ts_stop[10];
104  float m_Temperature[4];
106  float m_Pressure[2];
108  float m_Flow[2];
110  float m_SetFlow;
112  float m_GetFlow;
114  double m_IHER;
116  double m_PHER;
118  double m_tHER;
120  double m_flagHER;
122  double m_ILER;
124  double m_PLER;
126  double m_tLER;
128  double m_flagLER;
129 
131  };
132 
134 } // end namespace Belle2
135 
136 #endif
Belle2::MicrotpcMetaHit::m_ts_start
double m_ts_start[10]
Start time stamp.
Definition: MicrotpcMetaHit.h:108
Belle2::MicrotpcMetaHit::getPHER
double getPHER() const
Return HER average pressure.
Definition: MicrotpcMetaHit.h:85
Belle2::MicrotpcMetaHit::getdetNb
int getdetNb() const
Return the TPC number.
Definition: MicrotpcMetaHit.h:63
Belle2::MicrotpcMetaHit::m_flagLER
double m_flagLER
LER injection flag.
Definition: MicrotpcMetaHit.h:136
Belle2::MicrotpcMetaHit::getpixNb
int getpixNb() const
Return the pixel number firing.
Definition: MicrotpcMetaHit.h:65
Belle2::RelationsInterface::ClassDef
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Belle2::MicrotpcMetaHit::getts_nb
int getts_nb() const
Return the number of time stamp.
Definition: MicrotpcMetaHit.h:67
Belle2::MicrotpcMetaHit::m_Temperature
float m_Temperature[4]
Temperature.
Definition: MicrotpcMetaHit.h:112
Belle2::MicrotpcMetaHit::m_PLER
double m_PLER
LER pressure.
Definition: MicrotpcMetaHit.h:132
Belle2::MicrotpcMetaHit::m_Flow
float m_Flow[2]
Flow.
Definition: MicrotpcMetaHit.h:116
Belle2::MicrotpcMetaHit::m_ts_nb
int m_ts_nb
Time stamp number.
Definition: MicrotpcMetaHit.h:106
Belle2::MicrotpcMetaHit::m_tLER
double m_tLER
LER tau.
Definition: MicrotpcMetaHit.h:134
Belle2::MicrotpcMetaHit::MicrotpcMetaHit
MicrotpcMetaHit()
default constructor for ROOT
Definition: MicrotpcMetaHit.h:40
Belle2::MicrotpcMetaHit::m_ts_stop
double m_ts_stop[10]
Stop time stamp.
Definition: MicrotpcMetaHit.h:110
Belle2::MicrotpcMetaHit::m_SetFlow
float m_SetFlow
Set flow.
Definition: MicrotpcMetaHit.h:118
Belle2::MicrotpcMetaHit::m_detNb
int m_detNb
Detector Number.
Definition: MicrotpcMetaHit.h:102
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::MicrotpcMetaHit::getIHER
double getIHER() const
Return HER current.
Definition: MicrotpcMetaHit.h:83
Belle2::MicrotpcMetaHit::getILER
double getILER() const
Return LER current.
Definition: MicrotpcMetaHit.h:91
Belle2::MicrotpcMetaHit::getflagHER
double getflagHER() const
Return HER injection flag.
Definition: MicrotpcMetaHit.h:89
Belle2::MicrotpcMetaHit::getts_start
const double * getts_start() const
Return start readout time stamp.
Definition: MicrotpcMetaHit.h:69
Belle2::MicrotpcMetaHit::getGetFlow
float getGetFlow() const
Return TPC slow control get flow.
Definition: MicrotpcMetaHit.h:81
Belle2::MicrotpcMetaHit::getPLER
double getPLER() const
Return LER average pressure.
Definition: MicrotpcMetaHit.h:93
Belle2::MicrotpcMetaHit::m_GetFlow
float m_GetFlow
Get flow.
Definition: MicrotpcMetaHit.h:120
Belle2::MicrotpcMetaHit::m_PHER
double m_PHER
HER pressure.
Definition: MicrotpcMetaHit.h:124
Belle2::MicrotpcMetaHit::gettHER
double gettHER() const
Return HER beam life time.
Definition: MicrotpcMetaHit.h:87
Belle2::MicrotpcMetaHit::m_ILER
double m_ILER
LER current.
Definition: MicrotpcMetaHit.h:130
Belle2::MicrotpcMetaHit::getPressure
const float * getPressure() const
Return TPC pressure.
Definition: MicrotpcMetaHit.h:75
Belle2::MicrotpcMetaHit::m_tHER
double m_tHER
HER tau.
Definition: MicrotpcMetaHit.h:126
Belle2::MicrotpcMetaHit
ClassMicrotpcMetaHit - digitization simulated metahit for the Microtpc detector.
Definition: MicrotpcMetaHit.h:36
Belle2::MicrotpcMetaHit::m_Pressure
float m_Pressure[2]
Pressure.
Definition: MicrotpcMetaHit.h:114
Belle2::MicrotpcMetaHit::getFlow
const float * getFlow() const
Return TPC flow.
Definition: MicrotpcMetaHit.h:77
Belle2::MicrotpcMetaHit::m_pixNb
int m_pixNb
Pixel number.
Definition: MicrotpcMetaHit.h:104
Belle2::MicrotpcMetaHit::getSetFlow
float getSetFlow() const
Return TPC slow control set flow.
Definition: MicrotpcMetaHit.h:79
Belle2::MicrotpcMetaHit::gettLER
double gettLER() const
Return HER beam life time.
Definition: MicrotpcMetaHit.h:95
Belle2::MicrotpcMetaHit::getflagLER
double getflagLER() const
Return HER injection flag.
Definition: MicrotpcMetaHit.h:97
Belle2::MicrotpcMetaHit::m_flagHER
double m_flagHER
HER injection flag.
Definition: MicrotpcMetaHit.h:128
Belle2::MicrotpcMetaHit::getts_stop
const double * getts_stop() const
Return stop readout time stamp.
Definition: MicrotpcMetaHit.h:71
Belle2::MicrotpcMetaHit::getTemperature
const float * getTemperature() const
Return TPC temperature.
Definition: MicrotpcMetaHit.h:73
Belle2::MicrotpcMetaHit::m_IHER
double m_IHER
HER current.
Definition: MicrotpcMetaHit.h:122