ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since b67be31 was e4caec4, checked in by pavel <pavel@…>, 11 years ago |
remove unneeded code
|
-
Property mode
set to
100644
|
File size:
943 bytes
|
Line | |
---|
1 | #include "classes/DelphesTF2.h"
|
---|
2 | #include "TString.h"
|
---|
3 | #include <stdexcept>
|
---|
4 | #include <string>
|
---|
5 |
|
---|
6 | using namespace std;
|
---|
7 |
|
---|
8 | //------------------------------------------------------------------------------
|
---|
9 |
|
---|
10 | DelphesTF2::DelphesTF2() :
|
---|
11 | TF2()
|
---|
12 | {
|
---|
13 | }
|
---|
14 |
|
---|
15 | //------------------------------------------------------------------------------
|
---|
16 |
|
---|
17 | DelphesTF2::DelphesTF2(const char *name, const char *expression) :
|
---|
18 | TF2(name,expression)
|
---|
19 | {
|
---|
20 | }
|
---|
21 |
|
---|
22 | //------------------------------------------------------------------------------
|
---|
23 |
|
---|
24 | DelphesTF2::~DelphesTF2()
|
---|
25 | {
|
---|
26 | }
|
---|
27 |
|
---|
28 | //------------------------------------------------------------------------------
|
---|
29 |
|
---|
30 | Int_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.