Fork me on GitHub

source: svn/trunk/classes/DelphesTF2.cc@ 1377

Last change on this file since 1377 was 1351, checked in by Pavel Demin, 11 years ago

remove unneeded code

File size: 943 bytes
Line 
1#include "classes/DelphesTF2.h"
2#include "TString.h"
3#include <stdexcept>
4#include <string>
5
6using namespace std;
7
8//------------------------------------------------------------------------------
9
10DelphesTF2::DelphesTF2() :
11 TF2()
12{
13}
14
15//------------------------------------------------------------------------------
16
17DelphesTF2::DelphesTF2(const char *name, const char *expression) :
18 TF2(name,expression)
19{
20}
21
22//------------------------------------------------------------------------------
23
24DelphesTF2::~DelphesTF2()
25{
26}
27
28//------------------------------------------------------------------------------
29
30Int_t DelphesTF2::DefinedVariable(TString &chaine, Int_t &action)
31{
32 action = kVariable;
33 if(chaine == "z")
34 {
35 if(fNdim < 1) fNdim = 1;
36 return 0;
37 }
38 else if(chaine == "t")
39 {
40 if(fNdim < 2) fNdim = 2;
41 return 1;
42 }
43 return -1;
44}
45
46//------------------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.