Belle II Software development
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
14namespace Belle2 {
19
21 class TRGECLTiming : public TObject {
22 public:
23
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 }
47
48 ClassDef(TRGECLTiming, 1); /*< the class title */
49 };
50
51}
52
53#endif
TRGECLTiming()
Empty constructor Recommended for ROOT IO.
double m_timing
Fitting timing.
int m_eventid
Event Id.
double getTiming() const
Get fit timing.
int getEventId() const
Get event id.
ClassDef(TRGECLTiming, 1)
the class title
void setTiming(double timing)
Set fitting timing.
void setEventId(int eventid)
Set event id.
Abstract base class for different kinds of events.