Added root macros

This commit is contained in:
nemu
2014-08-15 17:18:30 +02:00
parent f60f4874d6
commit c6ebc44ccc
25 changed files with 5433 additions and 0 deletions

View File

@ -0,0 +1,26 @@
// To run: root -b LoopFiles.C
{
TString fileDir,fileName,file;
Int_t fileNumber,L1,L3;
gROOT->ProcessLine(".L BeamEnv.C");
fileDir = "data/";
//printf("Run \t Asy \t dAsy \t Chi2 \t N\n");
fileNumber=0;
for (L3=0; L3<=10 ; L3++) {
for (L1=0; L1<=10 ; L1++) {
for (CR=0; CR<=16; CR++) {
fileNumber++;
file.Form("musr_115%02d.root",fileNumber);
fileName= fileDir + file;
// printf("File is : %s\n", (char*) fileName);
NatSlice(fileName,901);
}
printf("\n");
}
}
}