Belle II Software  release-08-01-10
TRGECLTiming.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 TRGECLTIMING_H
10 #define TRGECLTIMING_H
11 
12 #include <TObject.h>
13 
14 namespace Belle2 {
21  class TRGECLTiming : public TObject {
22  public:
23 
25  int m_eventid;
27  double m_timing;
29  void setEventId(int eventid) { m_eventid = eventid; }
31  void setTiming(double timing) { m_timing = timing; }
32 
33 
35  int getEventId() const { return m_eventid; }
37  double getTiming() const {return m_timing; }
38 
39 
43  {
44  m_eventid = 0;
45  m_timing = 0;
46  }
48  ClassDef(TRGECLTiming, 1); /*< the class title */
49  };
51 }
52 
53 #endif
Digitize result.
Definition: TRGECLTiming.h:21
TRGECLTiming()
Empty constructor Recommended for ROOT IO.
Definition: TRGECLTiming.h:42
double m_timing
Fitting timing.
Definition: TRGECLTiming.h:27
int m_eventid
Event Id.
Definition: TRGECLTiming.h:25
double getTiming() const
Get fit timing.
Definition: TRGECLTiming.h:37
int getEventId() const
Get event id.
Definition: TRGECLTiming.h:35
ClassDef(TRGECLTiming, 1)
the class title
void setTiming(double timing)
Set fitting timing.
Definition: TRGECLTiming.h:31
void setEventId(int eventid)
Set event id.
Definition: TRGECLTiming.h:29
Abstract base class for different kinds of events.