1 void combineRatiosView(
char* file) {
4 TFile * tf =
new TFile(file);
6 const char* plotnames[] = {
"DEtaDPhi",
"YtYt",
"EtaEta",
"PhiPhi"};
7 const char* types[] = {
"LS",
"US",
"CD",
"CI"};
12 for(
int i=0; i<4; i++) {
13 for(
int j=0; j<4; j++) {
14 name=types[j]; name+=plotnames[i];
15 hin[i*4+j] = (TH2F*)tf->Get(name);
16 if(!hin[i*4+j]) cout <<
"ERROR with " << name << endl << flush;
20 const char* drawopts[] = {
"surf1",
"colz",
"colz",
"colz"};
22 c1 =
new TCanvas(file,file,900,900);
26 hin[i]->Draw(drawopts[i/4]);