void gen_covariance_code(const char *fname="hd_root.root") { gROOT->Reset(); TFile *f = new TFile(fname); f->cd("TRACKING"); TH2D *cdc_cov = (TH2D*)gROOT->FindObject("cdc_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<27 || layer2<1 || layer2>27)return 0.0;"<GetBinContent(layer1, layer2)<<";"<