Fork me on GitHub

source: git/classes/DelphesTF2.cc@ be6c1c8

ImprovedOutputFile Timing dual_readout llp
Last change on this file since be6c1c8 was e4caec4, checked in by pavel <pavel@…>, 11 years ago

remove unneeded code

  • Property mode set to 100644
File size: 943 bytes
RevLine 
[41f30b4]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.