1 |
#ifndef JETCORR_H
|
2 |
#define JETCORR_H 1
|
3 |
|
4 |
|
5 |
class TF1;
|
6 |
|
7 |
#include <string>
|
8 |
#include <map>
|
9 |
|
10 |
|
11 |
class jetcorr
|
12 |
{
|
13 |
public:
|
14 |
//
|
15 |
// construction/destruction
|
16 |
//
|
17 |
jetcorr();
|
18 |
~jetcorr();
|
19 |
|
20 |
|
21 |
//
|
22 |
// member functions
|
23 |
//
|
24 |
float eval(float pt,float eta);
|
25 |
bool initialize(const std::string& filename);
|
26 |
void clear();
|
27 |
|
28 |
|
29 |
private:
|
30 |
//
|
31 |
// member data
|
32 |
//
|
33 |
typedef std::map<float,TF1*> Map_t;
|
34 |
typedef Map_t::const_iterator MapCIter_t;
|
35 |
typedef Map_t::iterator MapIter_t;
|
36 |
|
37 |
Map_t fitfncs_;
|
38 |
|
39 |
};
|
40 |
|
41 |
|
42 |
#endif
|