BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/EvTimeEvent/include/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 "EventModel/EventModel.h"
11#include "GaudiKernel/ContainedObject.h"
12#include "GaudiKernel/ObjectVector.h"
13#include "GaudiKernel/SmartRef.h"
14#include "Identifier/Identifier.h"
15
16extern const CLID& CLID_RecEsTime;
17
18class RecEsTime : virtual public ContainedObject {
19
20public:
22 virtual ~RecEsTime() {}
23
24 virtual const CLID& clID() const { return RecEsTime::classID(); }
25 static const CLID& classID() { return CLID_RecEsTime; }
26
27 // Extractors
28public:
29 double getTest() const { return m_Test; }
30 int getStat() const { return m_Stat; }
31 double getQuality() const { return m_Quality; }
32 // int getNbunch() const { return m_nbunch;}
33
34 void setTest( double Test ) { m_Test = Test; }
35 void setStat( int Stat ) { m_Stat = Stat; }
36 void setQuality( double Quality ) { m_Quality = Quality; }
37 // void setNbunch(int nbunch) { m_nbunch = nbunch;}
38
39private:
40 double m_Test; // event start time
41 int m_Stat; // 1/2/3: from TOF;/ danger events from TOF; /change events before and after MDC
42 // recon 4/5/6: from MDC / danger / change 7:from segment fit; 8:six parameter
43 // fit 9:cosmic event
44 double m_Quality; // value between measured time and bunch time
45 // int m_nbunch; //bunches before the collide bunch
46};
47
48typedef ObjectVector<RecEsTime> RecEsTimeCol;
49
50#endif // EVTIME_H
const CLID & CLID_RecEsTime
ObjectVector< RecEsTime > RecEsTimeCol
const CLID & CLID_RecEsTime