test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
EventFilter
Utilities
src
AuxiliaryMakers.cc
Go to the documentation of this file.
1
#include "
EventFilter/Utilities/interface/AuxiliaryMakers.h
"
2
namespace
evf{
3
namespace
evtn{
4
5
edm::EventAuxiliary
makeEventAuxiliary
(
TCDSRecord
*
record
,
6
unsigned
int
runNumber
,
7
unsigned
int
lumiSection,
8
std::string
const
&processGUID){
9
edm::EventID
eventId(runNumber,
// check that runnumber from record is consistent
10
//record->getHeader().getData().header.lumiSection,//+1
11
lumiSection,
12
record->
getHeader
().
getData
().
header
.
eventNumber
);
13
14
uint64_t
gpsh = record->
getBST
().
getBST
().
gpstimehigh
;
15
uint32_t gpsl = record->
getBST
().
getBST
().
gpstimelow
;
16
edm::Timestamp
tstamp =
edm::Timestamp
(static_cast<edm::TimeValue_t> ((gpsh << 32) + gpsl));
17
return
edm::EventAuxiliary
(eventId,
18
processGUID,
19
tstamp,
20
true
,
21
(
edm::EventAuxiliary::ExperimentType
)record->
getHistory
().
history
().
hist
[0].
eventtype
,
22
(int)record->
getHeader
().
getData
().
header
.
bcid
,
23
edm::EventAuxiliary::invalidStoreNumber
,
24
record->
getHeader
().
getData
().
header
.
orbitLow
);
25
}
26
}
27
}
28
AuxiliaryMakers.h
evf::evtn::TCDSRecord::getBST
TCDSBST & getBST()
Definition:
FED1024.h:129
evf::evtn::TCDSHeader::tcdsheader::orbitLow
uint16_t orbitLow
Definition:
FED1024.h:50
evf::evtn::TCDSL1AHistory::l1a::eventtype
unsigned char eventtype
Definition:
FED1024.h:78
evf::evtn::TCDSRecord::getHeader
TCDSHeader & getHeader()
Definition:
FED1024.h:127
record
JetCorrectorParameters::Record record
Definition:
classes.h:7
evf::evtn::TCDSHeader::tcdsheader::bcid
uint16_t bcid
Definition:
FED1024.h:49
evf::evtn::makeEventAuxiliary
edm::EventAuxiliary makeEventAuxiliary(TCDSRecord *record, unsigned int runNumber, unsigned int lumiSection, std::string const &processGUID)
Definition:
AuxiliaryMakers.cc:5
edm::EventAuxiliary::ExperimentType
ExperimentType
Definition:
EventAuxiliary.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
evf::evtn::TCDSBST::bst::gpstimelow
uint32_t gpstimelow
Definition:
FED1024.h:95
evf::evtn::TCDSBST::bst::gpstimehigh
uint32_t gpstimehigh
Definition:
FED1024.h:96
evf::evtn::TCDSHeader::getData
const tcdsheader & getData()
Definition:
FED1024.h:64
edm::EventID
Definition:
EventID.h:34
edm::Timestamp
Definition:
Timestamp.h:30
evf::evtn::TCDSRecord
Definition:
FED1024.h:117
evf::evtn::TCDSHeader::tcdsheader::eventNumber
uint64_t eventNumber
Definition:
FED1024.h:53
convertSQLiteXML.runNumber
runNumber
Definition:
convertSQLiteXML.py:90
evf::evtn::TCDSL1AHistory::history
const l1h & history()
Definition:
FED1024.h:87
edm::EventAuxiliary
Definition:
EventAuxiliary.h:14
evf::evtn::TCDSHeader::tcdsheader::header
struct evf::evtn::TCDSHeader::tcdsheader::@317 header
cond::uint64_t
unsigned long long uint64_t
Definition:
Time.h:15
evf::evtn::TCDSL1AHistory::l1h::hist
l1a hist[32]
Definition:
FED1024.h:83
evf::evtn::TCDSBST::getBST
const bst & getBST()
Definition:
FED1024.h:112
evf::evtn::TCDSRecord::getHistory
TCDSL1AHistory & getHistory()
Definition:
FED1024.h:128
edm::EventAuxiliary::invalidStoreNumber
static int const invalidStoreNumber
Definition:
EventAuxiliary.h:29
Generated for CMSSW Reference Manual by
1.8.5