src
CondFormats
PhysicsToolsObjects
interface
PhysicsTGraphPayload.h
Go to the documentation of this file.
1
#ifndef CondFormats_PhysicsToolsObjects_PhysicsTGraphPayload_h
2
#define CondFormats_PhysicsToolsObjects_PhysicsTGraphPayload_h
3
4
/*
5
* PhysicsTGraphPayload
6
*
7
* Class to persist TGraph objects in Conditions database
8
* (The TGraphs are used to evaluate Pt dependent cuts on the output of tau ID MVAs)
9
*
10
* Author: Christian Veelken, LLR
11
*
12
*/
13
14
#include "
CondFormats/Serialization/interface/Serializable.h
"
15
16
#include "TGraph.h"
17
18
#include <vector>
19
#include <string>
20
#include <iostream>
21
22
class
PhysicsTGraphPayload
{
23
public
:
25
PhysicsTGraphPayload
();
26
28
PhysicsTGraphPayload
(
const
TGraph& graph);
29
31
operator
TGraph()
const
;
32
34
void
print
(std::ostream&
stream
)
const
;
35
36
protected
:
37
std::string
name_
;
38
int
numPoints_
;
39
std::vector<float>
x_
;
40
std::vector<float>
y_
;
41
42
COND_SERIALIZABLE
;
43
};
44
45
#endif
PhysicsTGraphPayload::y_
std::vector< float > y_
Definition:
PhysicsTGraphPayload.h:40
PhysicsTGraphPayload::PhysicsTGraphPayload
PhysicsTGraphPayload()
default constructor
Definition:
PhysicsTGraphPayload.cc:7
PhysicsTGraphPayload::numPoints_
int numPoints_
Definition:
PhysicsTGraphPayload.h:38
cms::cuda::stream
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
Definition:
HistoContainer.h:51
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
PhysicsTGraphPayload::print
void print(std::ostream &stream) const
print points of TGraph object
Definition:
PhysicsTGraphPayload.cc:37
PhysicsTGraphPayload
Definition:
PhysicsTGraphPayload.h:22
PhysicsTGraphPayload::x_
std::vector< float > x_
Definition:
PhysicsTGraphPayload.h:39
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
Serializable.h
PhysicsTGraphPayload::name_
std::string name_
Definition:
PhysicsTGraphPayload.h:37
Generated for CMSSW Reference Manual by
1.8.14