1 void testMixer(
char *file){
3 gSystem->Load(
"MyEvent/MyEvent.so");
4 gSystem->Load(
"gamma/analysis/lib/AnaCuts.so");
5 gSystem->Load(
"gamma/analysis/lib/EventMixer.so");
7 TFile *mFile=
new TFile(file,
"OPEN");
9 myEventTree=(TTree*)mFile->Get(
"mEventTree");
11 myEventTree->SetBranchAddress(
"branch",&ev);
16 while(myEventTree->GetEntry(i) && i<10000){
24 TCanvas *c=
new TCanvas();
25 TH2F *h=
new TH2F(*(TH2F*)mix->getMinvMB());