Main Page
Namespaces
Classes
Package Documentation
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
popcon2dropbox.copy
def copy(args, dbName)
Definition:
popcon2dropbox.py:122
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:142
PhysicsPerformancePayload::stride
int stride()
Definition:
PhysicsPerformancePayload.h:18
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
TYPELOOKUP_DATA_REG
#define TYPELOOKUP_DATA_REG(_dataclass_)
Definition:
typelookup.h:102
PhysicsPerformancePayload::getRow
Row getRow(int n) const
Definition:
PhysicsPerformancePayload.cc:9
gen::n
int n
Definition:
Cascade2Hadronizer.cc:79
PhysicsPerformancePayload.h
PhysicsPerformancePayload
Definition:
PhysicsPerformancePayload.h:13
Generated for CMSSW Reference Manual by
1.8.11