AliPhysics  ef3b16e (ef3b16e)
MakeReferenceSM.C
Go to the documentation of this file.
1 void MakeReferenceSM(TString outname="ReferenceSM_LHC15o_mcp1_v1.root") {
2 
3  char tmpin[256];
4  char tmpout[256];
5  Int_t runno[]={
6  238097, 238164, 238170, 238176, 238179, 238184, 238432, 238451, 238454, 238455, 238456, 238457, 238458, 238459, 238460, 238468, 238469, 238470, 238474
7  };
8  Int_t nruns=19;
9 
10  for (Int_t i=0;i<nruns;i++){
11  sprintf(tmpin,"Reference_%d.pass1.root",runno[i]);
12  TFile *file=new TFile(tmpin);
13  if(!file) {
14 
15  file->ls();
16  delete file;
17 
18  continue;
19  }
20  //sprintf(tmpout,"ReferenceSM_LHC15o_muon_calo_pass1_v1.root");
21  sprintf(tmpout,outname.Data());
22  AliAnalysisTaskEMCALTimeCalib::ProduceOffsetForSMsV2(runno[i],tmpin,tmpout,kFALSE,kTRUE);
23  }
24 
25 
26 
27 }
28 
void MakeReferenceSM(TString outname="ReferenceSM_LHC15o_mcp1_v1.root")
int Int_t
Definition: External.C:63
static void ProduceOffsetForSMsV2(Int_t runNumber, TString inputFile="Reference.root", TString outputFile="ReferenceSM.root", Bool_t offset100=kTRUE, Bool_t justL1phase=kTRUE)
TFile * file
TList with histograms for a given trigger.