Belle II Software  release-05-01-25
TRGECLTiming.h
1 //-----------------------------------------------------------
2 // $Id$
3 //-----------------------------------------------------------
4 // Filename : TRGECLDigi.h
5 // Section : TRG ECL
6 // Owner : InSu Lee/Yuuji Unno
7 // Email : islee@hep.hanyang.ac.kr / yunno@post.kek.jp
8 //-----------------------------------------------------------
9 // Description : A class to represent ECL.
10 //-----------------------------------------------------------
11 // $Log$
12 //-----------------------------------------------------------
13 
14 #ifndef TRGECLTIMING_H
15 #define TRGECLTIMING_H
16 
17 #include <TObject.h>
18 
19 namespace Belle2 {
25  class TRGECLTiming : public TObject {
27  public:
28 
30  int m_eventid;
32  double m_timing;
34  void setEventId(int eventid) { m_eventid = eventid; }
36  void setTiming(double timing) { m_timing = timing; }
37 
38 
40  int getEventId() const { return m_eventid; }
42  double getTiming() const {return m_timing; }
43 
44 
48  {
49  m_eventid = 0;
50  m_timing = 0;
51  }
53  ClassDef(TRGECLTiming, 1); /*< the class title */
54  };
56 }
57 
58 #endif
Belle2::TRGECLTiming::setEventId
void setEventId(int eventid)
Set event id.
Definition: TRGECLTiming.h:34
Belle2::TRGECLTiming::getEventId
int getEventId() const
Get event id.
Definition: TRGECLTiming.h:40
Belle2::TRGECLTiming::m_timing
double m_timing
Fitting timing.
Definition: TRGECLTiming.h:32
Belle2::TRGECLTiming::ClassDef
ClassDef(TRGECLTiming, 1)
the class title
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TRGECLTiming::setTiming
void setTiming(double timing)
Set fitting timing.
Definition: TRGECLTiming.h:36
Belle2::TRGECLTiming::m_eventid
int m_eventid
Event Id.
Definition: TRGECLTiming.h:30
Belle2::TRGECLTiming
Digitize result.
Definition: TRGECLTiming.h:26
Belle2::TRGECLTiming::getTiming
double getTiming() const
Get fit timing.
Definition: TRGECLTiming.h:42
Belle2::TRGECLTiming::TRGECLTiming
TRGECLTiming()
Empty constructor Recommended for ROOT IO.
Definition: TRGECLTiming.h:47