Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
{
6
return
table_
.size()/
stride_
;
7
}
8
9
PhysicsPerformancePayload::Row
PhysicsPerformancePayload::getRow
(
int
n
)
const
{
10
Row
temp
;
11
copy
(
table_
.begin()+(n*
stride_
) ,
table_
.begin()+(n+1)*
stride_
, back_inserter(temp));
12
return
temp
;
13
}
14
15
PhysicsPerformancePayload::PhysicsPerformancePayload
(
int
stride, std::vector<float>
table
) : stride_(stride),
16
table_
(table)
17
{}
18
19
20
#include "
FWCore/Utilities/interface/typelookup.h
"
21
22
TYPELOOKUP_DATA_REG
(
PhysicsPerformancePayload
);
asciidump.table
list table
Definition:
asciidump.py:386
PhysicsPerformancePayload::stride_
int stride_
Definition:
PhysicsPerformancePayload.h:30
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:140
typelookup.h
PhysicsPerformancePayload::table_
std::vector< float > table_
Definition:
PhysicsPerformancePayload.h:31
PhysicsPerformancePayload::PhysicsPerformancePayload
PhysicsPerformancePayload()
Definition:
PhysicsPerformancePayload.h:14
PhysicsPerformancePayload::nRows
int nRows() const
Definition:
PhysicsPerformancePayload.cc:5
PhysicsPerformancePayload::Row
std::vector< float > Row
Definition:
PhysicsPerformancePayload.h:18
filterCSVwithJSON.copy
tuple copy
Definition:
filterCSVwithJSON.py:35
TYPELOOKUP_DATA_REG
#define TYPELOOKUP_DATA_REG(_dataclass_)
Definition:
typelookup.h:97
PhysicsPerformancePayload::getRow
Row getRow(int n) const
Definition:
PhysicsPerformancePayload.cc:9
n
int n
Definition:
DTDataIntegrityTask.cc:33
PhysicsPerformancePayload.h
table_
Table table_
Definition:
Actions.cc:22
PhysicsPerformancePayload
Definition:
PhysicsPerformancePayload.h:11
Generated for CMSSW Reference Manual by
1.8.5