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,
const
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
);
PhysicsPerformancePayload::stride_
int stride_
Definition:
PhysicsPerformancePayload.h:32
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:140
typelookup.h
PhysicsPerformancePayload::table_
std::vector< float > table_
Definition:
PhysicsPerformancePayload.h:33
PhysicsPerformancePayload::PhysicsPerformancePayload
PhysicsPerformancePayload()
Definition:
PhysicsPerformancePayload.h:16
PhysicsPerformancePayload::nRows
int nRows() const
Definition:
PhysicsPerformancePayload.cc:5
PhysicsPerformancePayload::Row
std::vector< float > Row
Definition:
PhysicsPerformancePayload.h:20
filterCSVwithJSON.copy
tuple copy
Definition:
filterCSVwithJSON.py:35
TYPELOOKUP_DATA_REG
#define TYPELOOKUP_DATA_REG(_dataclass_)
Definition:
typelookup.h:96
PhysicsPerformancePayload::getRow
Row getRow(int n) const
Definition:
PhysicsPerformancePayload.cc:9
table
#define table(NAME)
Definition:
DbCore.h:49
table_
Table table_
Definition:
ExceptionActions.cc:22
n
int n
Definition:
DTDataIntegrityTask.cc:30
PhysicsPerformancePayload.h
PhysicsPerformancePayload
Definition:
PhysicsPerformancePayload.h:13
Generated for CMSSW Reference Manual by
1.8.5