Project
Loading...
Searching...
No Matches
AggregatedRunInfo.h
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
15
16
#ifndef ALICEO2_DATA_AGGREGATEDRUNINFO_H_
17
#define ALICEO2_DATA_AGGREGATEDRUNINFO_H_
18
19
#include <cstdint>
20
#include "
CCDB/BasicCCDBManager.h
"
21
22
namespace
o2::parameters
23
{
24
25
class
GRPECSObject
;
26
31
struct
AggregatedRunInfo
{
32
int
runNumber
= 0;
// run number
33
int64_t
sor
= 0;
// best known timestamp for the start of run
34
int64_t
eor
= 0;
// best known timestamp for end of run
35
int64_t
orbitsPerTF
= 0;
// number of orbits per TF
36
int64_t
orbitReset
= 0;
// timestamp of orbit reset before run
37
int64_t
orbitSOR
= 0;
// orbit when run starts after orbit reset
38
int64_t
orbitEOR
= 0;
// orbit when run ends after orbit reset
39
40
// we may have pointers to actual data source objects GRPECS, ...
41
const
o2::parameters::GRPECSObject
*
grpECS
=
nullptr
;
// pointer to GRPECSobject (fetched during struct building)
42
43
// fills and returns AggregatedRunInfo for a given run number.
44
static
AggregatedRunInfo
buildAggregatedRunInfo
(
o2::ccdb::CCDBManagerInstance
& ccdb,
int
runnumber);
45
static
AggregatedRunInfo
buildAggregatedRunInfo
(
int
runnumber,
long
sorMS,
long
eorMS,
long
orbitResetMUS,
const
o2::parameters::GRPECSObject
* grpecs,
const
std::vector<Long64_t>* ctfFirstRunOrbitVec);
46
};
47
48
}
// namespace o2::parameters
49
50
#endif
BasicCCDBManager.h
o2::ccdb::CCDBManagerInstance
Definition
BasicCCDBManager.h:46
o2::parameters::GRPECSObject
Definition
GRPECSObject.h:34
o2::parameters
Definition
AggregatedRunInfo.h:23
o2::parameters::AggregatedRunInfo
Definition
AggregatedRunInfo.h:31
o2::parameters::AggregatedRunInfo::eor
int64_t eor
Definition
AggregatedRunInfo.h:34
o2::parameters::AggregatedRunInfo::orbitsPerTF
int64_t orbitsPerTF
Definition
AggregatedRunInfo.h:35
o2::parameters::AggregatedRunInfo::orbitReset
int64_t orbitReset
Definition
AggregatedRunInfo.h:36
o2::parameters::AggregatedRunInfo::runNumber
int runNumber
Definition
AggregatedRunInfo.h:32
o2::parameters::AggregatedRunInfo::grpECS
const o2::parameters::GRPECSObject * grpECS
Definition
AggregatedRunInfo.h:41
o2::parameters::AggregatedRunInfo::buildAggregatedRunInfo
static AggregatedRunInfo buildAggregatedRunInfo(o2::ccdb::CCDBManagerInstance &ccdb, int runnumber)
Definition
AggregatedRunInfo.cxx:24
o2::parameters::AggregatedRunInfo::orbitEOR
int64_t orbitEOR
Definition
AggregatedRunInfo.h:38
o2::parameters::AggregatedRunInfo::orbitSOR
int64_t orbitSOR
Definition
AggregatedRunInfo.h:37
o2::parameters::AggregatedRunInfo::sor
int64_t sor
Definition
AggregatedRunInfo.h:33
DataFormats
Parameters
include
DataFormatsParameters
AggregatedRunInfo.h
Generated on Tue Feb 25 2025 17:02:53 for Project by
1.9.8