Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

int bla(int c){
 return c*c;
}
printf("cccc %d\n", bla(10));
TH1* h1 = new TH1I("h1","title",100, 0, 10);
h1->FillRandom("gaus",10000);
TString json = TBufferJSON::ConvertToJSON(h1);
cout << "Data" << json.Data() << endl;
int bla(int c){
 return c*c;
}
printf("cccc %d\n", bla(10));
TH1* h1 = new TH1I("h1","title",100, 0, 10);
h1->FillRandom("gaus",10000);
TString json = TBufferJSON::ConvertToJSON(h1);
cout << "Data" << json.Data() << endl;
int bla(int c){
 return c*c;
}
printf("cccc %d\n", bla(10));
TH1* h1 = new TH1I("h1","title",100, 0, 10);
h1->FillRandom("gaus",10000);
TString json = TBufferJSON::ConvertToJSON(h1);
cout << "Data" << json.Data() << endl;
.L BParticle.cc
.L BEvent.cc
.L Blab2.cc
void Blab2::event(){
combiner(selector(-1,-1,ELECTRON,0,2) ,selector(-1,1,ELECTRON,1,3) ,JPSI,0,4,2,1) ;
}
void Blab2::Init(){
fNeve=5000;
fData=1;
h1d("GetMass","Jpsi Mass",200,0,5,2);
h1d("GetMass","e+ Mass",100,0,0.001,1);
h1d("GetMass","e Mass",100,0,0.001,0);
plist(1);
plist(2);
plist(3);
}
Blab2 *blab2 = new Blab2();
.L BParticle.cc
.L BEvent.cc
.L Blab2.cc
void Blab2::event(){
combiner(selector(-1,-1,ELECTRON,0,2) ,selector(-1,1,ELECTRON,1,3) ,JPSI,0,4,2,1) ;
}
void Blab2::Init(){
fNeve=500000;
fData=1;
h1d("GetMass","Jpsi Mass",200,0,5,2);
h1d("GetMass","e+ Mass",100,0,0.001,1);
h1d("GetMass","e Mass",100,0,0.001,0);
plist(1);
plist(2);
plist(3);
}
Blab2 *blab2 = new Blab2();