CondFormats
RunInfo
interface
RunNumber.h
Go to the documentation of this file.
1
#ifndef RunNumber_h
2
#define RunNumber_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include <iostream>
7
#include <vector>
8
9
/*
10
* \class RunNumber
11
*
12
* hosting runinfo information, above all the runnumber
13
*
14
* \author Michele de Gruttola (degrutto) - INFN Naples / CERN (June-12-2008)
15
*
16
*/
17
18
namespace
runinfo_test
{
19
class
RunNumber
{
20
public
:
21
struct
Item
{
22
Item
() {}
23
~Item
() {}
24
int
m_run
;
25
long
long
m_id_start
;
26
long
long
m_id_stop
;
27
std::string
m_number
;
28
std::string
m_name
;
29
signed
long
long
m_start_time_sll
;
30
std::string
m_start_time_str
;
31
signed
long
long
m_stop_time_sll
;
32
std::string
m_stop_time_str
;
33
int
m_lumisections
;
34
std::vector<std::string>
m_subdt_joined
;
35
std::vector<int>
m_subdt_in
;
36
enum
subdet
{
PIXEL
,
TRACKER
,
ECAL
,
HCAL
,
DT
,
CSC
,
RPC
};
37
38
COND_SERIALIZABLE
;
39
};
40
41
RunNumber
();
42
virtual
~RunNumber
() {}
43
typedef
std::vector<Item>::const_iterator
ItemIterator
;
44
std::vector<Item>
m_runnumber
;
45
46
COND_SERIALIZABLE
;
47
};
48
49
}
// namespace runinfo_test
50
#endif
runinfo_test
Definition:
RunNumber.h:18
runinfo_test::RunNumber::Item::RPC
Definition:
RunNumber.h:36
runinfo_test::RunNumber::Item::PIXEL
Definition:
RunNumber.h:36
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
runinfo_test::RunNumber::Item::HCAL
Definition:
RunNumber.h:36
runinfo_test::RunNumber::ItemIterator
std::vector< Item >::const_iterator ItemIterator
Definition:
RunNumber.h:43
runinfo_test::RunNumber::Item::DT
Definition:
RunNumber.h:36
runinfo_test::RunNumber::Item::m_id_stop
long long m_id_stop
Definition:
RunNumber.h:26
runinfo_test::RunNumber::Item::~Item
~Item()
Definition:
RunNumber.h:23
runinfo_test::RunNumber::Item::m_stop_time_sll
signed long long m_stop_time_sll
Definition:
RunNumber.h:31
runinfo_test::RunNumber::Item::ECAL
Definition:
RunNumber.h:36
runinfo_test::RunNumber::Item::CSC
Definition:
RunNumber.h:36
runinfo_test::RunNumber::Item::m_stop_time_str
std::string m_stop_time_str
Definition:
RunNumber.h:32
runinfo_test::RunNumber::Item::TRACKER
Definition:
RunNumber.h:36
runinfo_test::RunNumber::Item::m_id_start
long long m_id_start
Definition:
RunNumber.h:25
runinfo_test::RunNumber::Item::m_run
int m_run
Definition:
RunNumber.h:24
runinfo_test::RunNumber::Item::subdet
subdet
Definition:
RunNumber.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
runinfo_test::RunNumber::Item::m_start_time_sll
signed long long m_start_time_sll
Definition:
RunNumber.h:29
runinfo_test::RunNumber::Item::m_name
std::string m_name
Definition:
RunNumber.h:28
runinfo_test::RunNumber::RunNumber
RunNumber()
Definition:
RunNumber.cc:2
Serializable.h
runinfo_test::RunNumber::Item
Definition:
RunNumber.h:21
runinfo_test::RunNumber::Item::m_number
std::string m_number
Definition:
RunNumber.h:27
runinfo_test::RunNumber::Item::m_subdt_joined
std::vector< std::string > m_subdt_joined
Definition:
RunNumber.h:34
runinfo_test::RunNumber::Item::m_lumisections
int m_lumisections
Definition:
RunNumber.h:33
runinfo_test::RunNumber
Definition:
RunNumber.h:19
runinfo_test::RunNumber::Item::m_subdt_in
std::vector< int > m_subdt_in
Definition:
RunNumber.h:35
runinfo_test::RunNumber::Item::m_start_time_str
std::string m_start_time_str
Definition:
RunNumber.h:30
runinfo_test::RunNumber::~RunNumber
virtual ~RunNumber()
Definition:
RunNumber.h:42
runinfo_test::RunNumber::m_runnumber
std::vector< Item > m_runnumber
Definition:
RunNumber.h:44
runinfo_test::RunNumber::Item::Item
Item()
Definition:
RunNumber.h:22
Generated for CMSSW Reference Manual by
1.8.16