BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/EvTimeEvent/EvTimeEvent-00-00-08/EvTimeEvent/RecEsTime.h
Go to the documentation of this file.
1/*
2 *
3 * This class is a Event data model for the EsTimeAlg output
4 * Created by max
5 *
6 */
7
8#ifndef EVTIME_H
9#define EVTIME_H
10#include "GaudiKernel/ContainedObject.h"
11#include "GaudiKernel/SmartRef.h"
12#include "EventModel/EventModel.h"
13#include "GaudiKernel/ObjectVector.h"
14#include "Identifier/Identifier.h"
15
16extern const CLID &CLID_RecEsTime;
17
18
19class RecEsTime : virtual public ContainedObject {
20
21public:
23 virtual ~RecEsTime(){}
24
25 virtual const CLID& clID() const { return RecEsTime::classID();}
26 static const CLID& classID() { return CLID_RecEsTime; }
27
28 //Extractors
29 public:
30
31 double getTest() const { return m_Test;}
32 int getStat() const { return m_Stat;}
33 double getQuality() const { return m_Quality;}
34 // int getNbunch() const { return m_nbunch;}
35
36 void setTest(double Test) { m_Test = Test;}
37 void setStat(int Stat) { m_Stat = Stat;}
38 void setQuality(double Quality) { m_Quality = Quality;}
39 // void setNbunch(int nbunch) { m_nbunch = nbunch;}
40
41private:
42
43 double m_Test; // event start time
44 int m_Stat; // 1/2/3: from TOF;/ danger events from TOF; /change events before and after MDC recon
45 // 4/5/6: from MDC / danger / change
46 // 7:from segment fit;
47 // 8:six parameter fit
48 // 9:cosmic event
49 double m_Quality; // value between measured time and bunch time
50 // int m_nbunch; //bunches before the collide bunch
51};
52
53typedef ObjectVector<RecEsTime> RecEsTimeCol;
54
55#endif //EVTIME_H
56
const CLID & CLID_RecEsTime
Definition: EventModel.cxx:363
const CLID & CLID_RecEsTime
Definition: EventModel.cxx:363