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
PhysicsTGraphPayload::PhysicsTGraphPayload
PhysicsTGraphPayload()
default constructor
Definition: PhysicsTGraphPayload.cc:7
PhysicsTGraphPayload::name_
std::string name_
Definition: PhysicsTGraphPayload.h:37
cms::cuda::stream
cudaStream_t stream
Definition: HistoContainer.h:57
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
PhysicsTGraphPayload::y_
std::vector< float > y_
Definition: PhysicsTGraphPayload.h:40
PhysicsTGraphPayload::print
void print(std::ostream &stream) const
print points of TGraph object
Definition: PhysicsTGraphPayload.cc:37
PhysicsTGraphPayload::x_
std::vector< float > x_
Definition: PhysicsTGraphPayload.h:39
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PhysicsTGraphPayload::numPoints_
int numPoints_
Definition: PhysicsTGraphPayload.h:38
Serializable.h
PhysicsTGraphPayload
Definition: PhysicsTGraphPayload.h:22