CondFormats
PhysicsToolsObjects
src
PhysicsPerformancePayload.cc
Go to the documentation of this file.
1
#include "
CondFormats/PhysicsToolsObjects/interface/PhysicsPerformancePayload.h
"
2
3
//#include <iostream>
4
5
int
PhysicsPerformancePayload::nRows
()
const
{
return
table_
.size() /
stride_
; }
6
7
PhysicsPerformancePayload::Row
PhysicsPerformancePayload::getRow
(
int
n
)
const
{
8
Row
temp
;
9
copy
(
table_
.begin() + (
n
*
stride_
),
table_
.begin() + (
n
+ 1) *
stride_
, back_inserter(
temp
));
10
return
temp
;
11
}
12
13
PhysicsPerformancePayload::PhysicsPerformancePayload
(
int
stride,
const
std::vector<float>&
table
)
14
: stride_(stride),
table_
(
table
) {}
15
16
#include "
FWCore/Utilities/interface/typelookup.h
"
17
18
TYPELOOKUP_DATA_REG
(
PhysicsPerformancePayload
);
PhysicsPerformancePayload::table_
std::vector< float > table_
Definition:
PhysicsPerformancePayload.h:30
PhysicsPerformancePayload::Row
std::vector< float > Row
Definition:
PhysicsPerformancePayload.h:19
dqmiodumpmetadata.n
n
Definition:
dqmiodumpmetadata.py:28
filterCSVwithJSON.copy
copy
Definition:
filterCSVwithJSON.py:36
typelookup.h
groupFilesInBlocks.temp
list temp
Definition:
groupFilesInBlocks.py:142
PhysicsPerformancePayload
Definition:
PhysicsPerformancePayload.h:13
PhysicsPerformancePayload::nRows
int nRows() const
Definition:
PhysicsPerformancePayload.cc:5
TYPELOOKUP_DATA_REG
#define TYPELOOKUP_DATA_REG(_dataclass_)
Definition:
typelookup.h:102
PhysicsPerformancePayload::getRow
Row getRow(int n) const
Definition:
PhysicsPerformancePayload.cc:7
PhysicsPerformancePayload.h
PhysicsPerformancePayload::stride_
int stride_
Definition:
PhysicsPerformancePayload.h:29
TableParser.table
table
Definition:
TableParser.py:111
PhysicsPerformancePayload::PhysicsPerformancePayload
PhysicsPerformancePayload()
Definition:
PhysicsPerformancePayload.h:15
table_
Table table_
Definition:
ExceptionActions.cc:21
Generated for CMSSW Reference Manual by
1.8.16