BOSS
7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
OfflineRevise.h
Go to the documentation of this file.
1
#ifndef RAWDATA_OFFLINE_REVISE_H
2
#define RAWDATA_OFFLINE_REVISE_H
3
4
#include "
EventModel/EventHeader.h
"
5
#include <string>
6
#include <vector>
7
#include <map>
8
9
class
OfflineRevise
10
{
11
public
:
12
OfflineRevise
(
const
std::string& conf);
13
virtual
~OfflineRevise
();
14
15
void
fixHeader
(
Event::EventHeader
* header);
16
17
int
timeRound
(
int
run) {
18
return
(run < m_tRoundSwitch) ? 61 : 60;
19
}
20
21
private
:
22
void
fixEts1(
Event::EventHeader
* header);
23
void
fixEts2(
Event::EventHeader
* header);
24
25
std::vector<std::pair<int, int> > m_runRanges;
26
std::vector<int> m_runs;
27
int
m_tRoundSwitch;
28
29
int
m_lastRun;
30
int
m_lastEvent;
31
bool
m_lastFlag;
32
33
long
m_t0Sec;
34
long
m_t0NanoShift0;
35
long
m_t0NanoShift1;
36
37
unsigned
long
m_lastEts1;
38
unsigned
long
m_lastEts2Old;
39
unsigned
long
m_lastEts2New;
40
};
41
42
#endif
EventHeader.h
Event::EventHeader
Definition:
EventHeader.h:23
OfflineRevise
Definition:
OfflineRevise.h:10
OfflineRevise::~OfflineRevise
virtual ~OfflineRevise()
Definition:
OfflineRevise.cxx:520
OfflineRevise::timeRound
int timeRound(int run)
Definition:
OfflineRevise.h:17
OfflineRevise::fixHeader
void fixHeader(Event::EventHeader *header)
Definition:
OfflineRevise.cxx:524
source
Event
RawDataCnv
RawDataCnv-00-05-11
RawDataCnv
OfflineRevise.h
Generated by
1.9.6