BOSS
7.1.2
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
SniperJSON
;
10
11
class
OfflineRevise
12
{
13
public
:
14
OfflineRevise
(
const
SniperJSON
& json);
15
virtual
~OfflineRevise
();
16
17
void
fixHeader
(
Event::EventHeader
* header);
18
19
int
timeRound
(
int
run) {
20
return
(run < m_tRoundSwitch) ? 61 : 60;
21
}
22
23
private
:
24
void
fixEts1(
Event::EventHeader
* header);
25
void
fixEts2(
Event::EventHeader
* header);
26
27
std::vector<std::pair<int, int> > m_runRanges;
28
std::vector<int> m_runs;
29
int
m_tRoundSwitch;
30
31
int
m_lastRun;
32
int
m_lastEvent;
33
bool
m_lastFlag;
34
35
long
m_t0Sec;
36
long
m_t0NanoShift0;
37
long
m_t0NanoShift1;
38
39
unsigned
long
m_lastEts1;
40
unsigned
long
m_lastEts2Old;
41
unsigned
long
m_lastEts2New;
42
};
43
44
#endif
EventHeader.h
Event::EventHeader
Definition
EventHeader.h:23
OfflineRevise
Definition
OfflineRevise.h:12
OfflineRevise::~OfflineRevise
virtual ~OfflineRevise()
Definition
OfflineRevise.cxx:34
OfflineRevise::OfflineRevise
OfflineRevise(const SniperJSON &json)
Definition
OfflineRevise.cxx:6
OfflineRevise::timeRound
int timeRound(int run)
Definition
OfflineRevise.h:19
OfflineRevise::fixHeader
void fixHeader(Event::EventHeader *header)
Definition
OfflineRevise.cxx:38
SniperJSON
Definition
SniperJSON.h:9
7.1.2
Event
RawDataCnv
RawDataCnv-00-06-02
RawDataCnv
OfflineRevise.h
Generated by
1.12.0