test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
15 
16 #include "TGraph.h"
17 
18 #include <vector>
19 #include <string>
20 #include <iostream>
21 
23 {
24  public:
27 
29  PhysicsTGraphPayload(const TGraph& graph);
30 
32  operator TGraph() const;
33 
35  void print(std::ostream& stream) const;
36 
37  protected:
40  std::vector<float> x_;
41  std::vector<float> y_;
42 
44 };
45 
46 #endif
std::vector< float > y_
PhysicsTGraphPayload()
default constructor
void print(std::ostream &stream) const
print points of TGraph object
std::vector< float > x_
Definition: adjgraph.h:12
#define COND_SERIALIZABLE
Definition: Serializable.h:38