Go to the source code of this file.
int anaGridDC02Data |
( |
Int_t |
runNr, |
|
|
Int_t |
start = -1 |
|
) |
| |
Definition at line 1 of file anaGridDC02Data.C.
References PndMvdAnaRadDam::AddFile(), PndMvdAnaRadDam::AnalyzeFiles(), i, and PndMvdAnaRadDam::SaveHistos().
3 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
10 Int_t startIndex, stopIndex;
16 startIndex = start * 100 + 1;
17 stopIndex = startIndex + 100;
20 for (
int i = startIndex;
i < stopIndex;
i++){
21 std::stringstream fileName;
22 fileName <<
"./radDamageData/run";
24 fileName <<
"/Mvd_GridUrqmdAna_";
27 radAna.
AddFile(fileName.str().c_str());
32 std::stringstream outputName;
33 outputName <<
"./radDamageData/run" << runNr;
34 if (start < 0) outputName <<
"/Mvd_GridUrqmdAna_AnalyzedData.root";
35 else outputName <<
"/Mvd_GridUrqmdAna_AnalyzedData_" << startIndex <<
"-" << stopIndex-1 <<
".root";
void SaveHistos(TString fileName)
void AddFile(TString fileName)