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::stride_
int stride_
Definition:
PhysicsPerformancePayload.h:29
TableParser.table
table
Definition:
TableParser.py:111
groupFilesInBlocks.temp
list temp
Definition:
groupFilesInBlocks.py:142
PhysicsPerformancePayload::getRow
Row getRow(int n) const
Definition:
PhysicsPerformancePayload.cc:7
typelookup.h
PhysicsPerformancePayload::nRows
int nRows() const
Definition:
PhysicsPerformancePayload.cc:5
dqmiodumpmetadata.n
n
Definition:
dqmiodumpmetadata.py:28
PhysicsPerformancePayload::table_
std::vector< float > table_
Definition:
PhysicsPerformancePayload.h:30
PhysicsPerformancePayload::PhysicsPerformancePayload
PhysicsPerformancePayload()
Definition:
PhysicsPerformancePayload.h:15
PhysicsPerformancePayload::Row
std::vector< float > Row
Definition:
PhysicsPerformancePayload.h:19
filterCSVwithJSON.copy
copy
Definition:
filterCSVwithJSON.py:36
TYPELOOKUP_DATA_REG
#define TYPELOOKUP_DATA_REG(_dataclass_)
Definition:
typelookup.h:102
gpuPixelDoublets::stride
auto stride
Definition:
gpuPixelDoubletsAlgos.h:141
PhysicsPerformancePayload.h
PhysicsPerformancePayload
Definition:
PhysicsPerformancePayload.h:13
Generated for CMSSW Reference Manual by
1.8.14