13 TFile *file = TFile::Open(rootFile);
14 TProfile *hCDCConstants;
15 file->GetObject(
"AlignmentConstants/CDCAlignmentConstants",hCDCConstants);
19 outFile.open(
"cdc_global.txt");
20 for (
unsigned int i = 1; i<=6; i++){
22 outFile << hCDCConstants->GetBinContent(histIndex) <<
" " ;
27 outFile.open(
"cdc_wire_alignment.txt");
28 for (
unsigned int i = 1001; i<=15088; i++){
30 outFile << hCDCConstants->GetBinContent(histIndex) <<
" " ;
31 if (i%4 == 0) outFile << endl;
36 outFile.open(
"cdc_t0_alignment.txt");
37 for (
unsigned int i = 16001; i<=19522; i++){
39 outFile << hCDCConstants->GetBinContent(histIndex) << endl;
void DumpCDCOffsets(TString rootFile="hd_root.root")