test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
24
public
:
26
PhysicsTGraphPayload
();
27
29
PhysicsTGraphPayload
(
const
TGraph&
graph
);
30
32
operator
TGraph()
const
;
33
35
void
print
(std::ostream& stream)
const
;
36
37
protected
:
38
std::string
name_
;
39
int
numPoints_
;
40
std::vector<float>
x_
;
41
std::vector<float>
y_
;
42
43
COND_SERIALIZABLE
;
44
};
45
46
#endif
PhysicsTGraphPayload::y_
std::vector< float > y_
Definition:
PhysicsTGraphPayload.h:41
PhysicsTGraphPayload::PhysicsTGraphPayload
PhysicsTGraphPayload()
default constructor
Definition:
PhysicsTGraphPayload.cc:7
PhysicsTGraphPayload::numPoints_
int numPoints_
Definition:
PhysicsTGraphPayload.h:39
PhysicsTGraphPayload::print
void print(std::ostream &stream) const
print points of TGraph object
Definition:
PhysicsTGraphPayload.cc:43
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
PhysicsTGraphPayload
Definition:
PhysicsTGraphPayload.h:22
PhysicsTGraphPayload::x_
std::vector< float > x_
Definition:
PhysicsTGraphPayload.h:40
graph
Definition:
adjgraph.h:12
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:37
Serializable.h
PhysicsTGraphPayload::name_
std::string name_
Definition:
PhysicsTGraphPayload.h:38
Generated for CMSSW Reference Manual by
1.8.5