CMS 3D CMS Logo

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 public:
26 
28  PhysicsTGraphPayload(const TGraph& graph);
29 
31  operator TGraph() const;
32 
34  void print(std::ostream& stream) const;
35 
36 protected:
39  std::vector<float> x_;
40  std::vector<float> y_;
41 
43 };
44 
45 #endif
std::vector< float > y_
PhysicsTGraphPayload()
default constructor
void print(std::ostream &stream) const
print points of TGraph object
std::vector< float > x_
#define COND_SERIALIZABLE
Definition: Serializable.h:38