Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
193 | f9daq | 1 | int bla(int c){ |
2 | return c*c; |
||
3 | } |
||
4 | printf("cccc %d\n", bla(10)); |
||
5 | TH1* h1 = new TH1I("h1","title",100, 0, 10); |
||
6 | h1->FillRandom("gaus",10000); |
||
7 | TString json = TBufferJSON::ConvertToJSON(h1); |
||
8 | cout << "Data" << json.Data() << endl; |
||
9 | int bla(int c){ |
||
10 | return c*c; |
||
11 | } |
||
12 | printf("cccc %d\n", bla(10)); |
||
13 | TH1* h1 = new TH1I("h1","title",100, 0, 10); |
||
14 | h1->FillRandom("gaus",10000); |
||
15 | TString json = TBufferJSON::ConvertToJSON(h1); |
||
16 | cout << "Data" << json.Data() << endl; |
||
17 | int bla(int c){ |
||
18 | return c*c; |
||
19 | } |
||
20 | printf("cccc %d\n", bla(10)); |
||
21 | TH1* h1 = new TH1I("h1","title",100, 0, 10); |
||
22 | h1->FillRandom("gaus",10000); |
||
23 | TString json = TBufferJSON::ConvertToJSON(h1); |
||
24 | cout << "Data" << json.Data() << endl; |
||
25 | .L BParticle.cc |
||
26 | .L BEvent.cc |
||
27 | .L Blab2.cc |
||
28 | void Blab2::event(){ |
||
29 | combiner(selector(-1,-1,ELECTRON,0,2) ,selector(-1,1,ELECTRON,1,3) ,JPSI,0,4,2,1) ; |
||
30 | } |
||
31 | void Blab2::Init(){ |
||
32 | fNeve=5000; |
||
33 | fData=1; |
||
34 | h1d("GetMass","Jpsi Mass",200,0,5,2); |
||
35 | h1d("GetMass","e+ Mass",100,0,0.001,1); |
||
36 | h1d("GetMass","e Mass",100,0,0.001,0); |
||
37 | plist(1); |
||
38 | plist(2); |
||
39 | plist(3); |
||
40 | } |
||
41 | Blab2 *blab2 = new Blab2(); |
||
42 | .L BParticle.cc |
||
43 | .L BEvent.cc |
||
44 | .L Blab2.cc |
||
45 | void Blab2::event(){ |
||
46 | combiner(selector(-1,-1,ELECTRON,0,2) ,selector(-1,1,ELECTRON,1,3) ,JPSI,0,4,2,1) ; |
||
47 | } |
||
48 | void Blab2::Init(){ |
||
49 | fNeve=500000; |
||
50 | fData=1; |
||
51 | h1d("GetMass","Jpsi Mass",200,0,5,2); |
||
52 | h1d("GetMass","e+ Mass",100,0,0.001,1); |
||
53 | h1d("GetMass","e Mass",100,0,0.001,0); |
||
54 | plist(1); |
||
55 | plist(2); |
||
56 | plist(3); |
||
57 | } |
||
58 | Blab2 *blab2 = new Blab2(); |