void gen_covariance_code(const char *fname="hd_root.root") { gROOT->Reset(); TFile *f = new TFile(fname); f->cd("TRACKING"); TH2D *fdc_cov = (TH2D*)gROOT->FindObject("fdc_cov"); TH2D *fdc_cath_cov = (TH2D*)gROOT->FindObject("fdc_cath_cov"); // Print C++ routine for returning covariance of drift-time // residuals for FDC due to MULS as a function of two FDC // layers. ostream &mout = cout; // Maybe we want this to go straight to a file? mout<24 || layer2<1 || layer2>24)return 0.0;"<GetBinContent(layer1, layer2)<<";"<24 || layer2<1 || layer2>24)return 0.0;"<GetBinContent(layer1, layer2)<<";"<