45 char *
kXML =
"collection.xml";
105 printf(
"*********************************************\n");
107 printf(
"*********************************************\n");
110 TChain * chainxs =
new TChain(
"Xsection") ;
114 printf(
"===== kMC %d, chainxs %p\n",
kMC,chainxs);
119 Double_t xsection = 0;
125 printf(
"n xs files %d",nfiles);
129 Int_t nEventsPerFile = chain->GetEntries() / nfiles;
131 Double_t trials = ntrials / nEventsPerFile ;
133 scale = xsection / trials;
135 printf(
"Get Cross section : nfiles %d, nevents %d, nevents per file %d \n",nfiles, chain->GetEntries(),nEventsPerFile);
136 printf(
" ntrials %d, trials %2.2f, xs %2.2e, scale factor %2.2e\n", ntrials,trials,xsection,scale);
138 if(chainxs->GetEntries()!=chain->GetEntries()) printf(
"CAREFUL: Number of files in data chain %d, in cross section chain %d \n",
139 chainxs->GetEntries(),chain->GetEntries());
143 if( scale <= 0 || !ok)
144 { printf(
"STOP, cross section not available! nfiles %d \n", chainxs->GetEntries() ) ; return ; }
148 printf(
"*********************************************\n");
149 printf(
"number of entries # %lld, skipped %d\n", chain->GetEntries()) ;
150 printf(
"*********************************************\n");
154 printf(
"STOP, no chain available\n");
158 AliLog::SetGlobalLogLevel(AliLog::kError);
163 AliAnalysisGrid *alienHandler=0x0;
167 gROOT->LoadMacro(
"CreateAlienHandler.C");
169 if (!alienHandler)
return;
175 AliAnalysisManager *mgr =
new AliAnalysisManager(
"Manager",
"Manager");
183 mgr->SetGridHandler(alienHandler);
189 AliMCEventHandler* mcHandler =
new AliMCEventHandler();
190 mcHandler->SetReadTR(kFALSE);
191 mgr->SetMCtruthEventHandler(mcHandler);
194 cout<<
"MC INPUT EVENT HANDLER"<<endl;
195 mgr->SetInputEventHandler(NULL);
203 cout<<
"Init output handler"<<endl;
204 AliAODHandler* aodoutHandler =
new AliAODHandler();
205 aodoutHandler->SetOutputFileName(
"aod.root");
207 mgr->SetOutputEventHandler(aodoutHandler);
215 AliESDInputHandler *esdHandler =
new AliESDInputHandler();
216 esdHandler->SetReadFriends(kFALSE);
217 mgr->SetInputEventHandler(esdHandler);
218 cout<<
"ESD handler "<<mgr->GetInputEventHandler()<<endl;
223 AliAODInputHandler *aodHandler =
new AliAODInputHandler();
224 mgr->SetInputEventHandler(aodHandler);
225 if(
kInputData ==
"deltaAOD") aodHandler->AddFriend(
"deltaAODCaloTrackCorr.root");
226 cout<<
"AOD handler "<<mgr->GetInputEventHandler()<<endl;
232 TString outputFile = AliAnalysisManager::GetCommonFileName();
241 gROOT->LoadMacro(
"$ALICE_PHYSICS/OADB/macros/AddTaskPhysicsSelection.C");
242 AliPhysicsSelectionTask* physSelTask = AddTaskPhysicsSelection(
kMC);
248 gROOT->LoadMacro(
"$ALICE_PHYSICS/OADB/macros/AddTaskCentrality.C");
249 AliCentralitySelectionTask *taskCentrality = AddTaskCentrality();
254 gROOT->LoadMacro(
"$ALICE_PHYSICS/OADB/COMMON/MULTIPLICITY/macros/AddTaskMultSelection.C");
255 AliMultSelectionTask * task = AddTaskMultSelection(kFALSE);
258 task->SetUseDefaultCalib(kTRUE);
259 task->SetUseDefaultMCCalib(kTRUE);
264 gROOT->LoadMacro(
"$ALICE_ROOT/ANALYSIS/macros/AddTaskVZEROEPSelection.C");
265 AliVZEROEPSelectionTask * EPV0 = AddTaskVZEROEPSelection();
267 gROOT->LoadMacro(
"$ALICE_ROOT/ANALYSIS/macros/AddTaskEventplane.C");
268 AliEPSelectionTask * EP = AddTaskEventplane();
275 gROOT->LoadMacro(
"$ALICE_PHYSICS/PWGGA/CaloTrackCorrelations/macros/AddTaskCounter.C");
322 Bool_t deltaAOD = kFALSE;
323 gROOT->LoadMacro(
"AddTaskCaloTrackCorr.C");
324 gROOT->LoadMacro(
"$ALICE_PHYSICS/PWGPP/EMCAL/macros/AddTaskEMCALClusterize.C");
334 Bool_t calibEE = kTRUE;
335 Bool_t calibTT = kTRUE;
336 if(
kRun < 122195 || (
kRun > 126437 &&
kRun < 136851) ||
kMC) calibTT=kFALSE ;
337 Bool_t badMap = kTRUE;
341 printf(
"==================================== \n");
342 printf(
"CONFIGURE ANALYSIS FOR PP COLLISIONS \n");
343 printf(
"==================================== \n");
345 Bool_t mixing = kTRUE;
347 Bool_t reTM = kFALSE;
350 Bool_t clnonlin = kTRUE;
351 Bool_t annonlin = kFALSE;
353 Int_t minEseed = 100;
360 TString clTrigger =
"";
361 TString anTrigger =
"EMC7";
371 Bool_t selectEvents = kFALSE;
373 Bool_t hadron = kTRUE;
377 TString arrayNameV1 =
"";
380 minEcell,minEseed,dTime,wTime,unfMinE,unfFrac,
381 calibEE,badMap,calibTT,clnonlin);
383 printf(
"Name of clusterizer1 array: %s\n",arrayNameV1.Data());
390 -1,-1, qa, hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
395 -1,-1, qa, hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
400 TString arrayNameV2 =
"";
402 minEcell,minEseed,dTime,wTime,
403 calibEE,badMap,calibTT,clnonlin);
405 printf(
"Name of clusterizer2 array: %s\n",arrayNameV2.Data());
414 -1,-1,qa,hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
420 -1,-1, qa, hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
425 printf(
"====================================== \n");
426 printf(
"CONFIGURE ANALYSIS FOR PbPb COLLISIONS \n");
427 printf(
"====================================== \n");
428 Bool_t mixing = kTRUE;
430 Bool_t reTM = kFALSE;
433 Bool_t clnonlin = kTRUE;
434 Bool_t annonlin = kFALSE;
435 Int_t minEcell = 150;
436 Int_t minEseed = 300;
443 TString clTrigger =
"";
444 TString anTrigger =
"EMCGA";
453 Bool_t selectEvents = kFALSE;
455 Bool_t hadron = kTRUE;
459 TString arrayNameV1 =
"";
461 minEcell,minEseed,dTime,wTime,unfMinE,unfFrac,
462 calibEE,badMap,calibTT,clnonlin);
464 printf(
"Name of clusterizer1 array: %s\n",arrayNameV1.Data());
470 0,20,qa,hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
473 20,40,qa,hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
476 60,80,qa,hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
481 TString arrayNameV2 =
"";
483 minEcell,minEseed,dTime,wTime,unfMinE,unfFrac,
484 calibEE,badMap,calibTT,clnonlin);
486 printf(
"Name of clusterizer2 array: %s\n",arrayNameV2.Data());
495 0,20,qa,hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
498 20,40,qa,hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
501 60,80,qa,hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
506 0,20,qa,hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
509 20,40,qa,hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
512 60,80,qa,hadron,calibEE,badMap,calibTT,deltaAOD,
kPrint,scale,
kRun);
524 else if (
mode ==
mPROOF ) mgr->StartAnalysis(
"proof",chain);
525 else mgr->StartAnalysis(
"local",chain);
527 cout <<
" Analysis ended sucessfully "<< endl ;
538 gROOT->LoadMacro(
"/afs/in2p3.fr/group/alice/laf/EnableAliRootForLAF.C");
539 TProof* proof = EnableAliRootForLAF(
"ccaplmaster",nPROOFWorkers.Data(),
ccin2p3UserName.Data(),
alienUserName.Data(),
"",kFALSE,kTRUE,kTRUE,
"OADB:ANALYSIS:ANALYSISalice:AOD:ESD:CORRFW:STEERBase:EMCALUtils:PHOSUtils:PWGCaloTrackCorrBase:PWGGACaloTrackCorrelations:PWGPPEMCAL");
590 gSystem->Load(
"libRAWDatabase");
596 gSystem->Load(
"libRAWDatarec");
597 gSystem->Load(
"libRAWDatasim");
603 gSystem->Load(
"libEMCALUtils");
614 gSystem->Load(
"libANALYSISalice");
618 gSystem->Load(
"libTenderSupplies");
623 gSystem->Load(
"libPWGPPEMCAL");
626 gSystem->Load(
"libPWGCaloTrackCorrBase");
627 gSystem->Load(
"libPWGGACaloTrackCorrelations");
640 gSystem->AddIncludePath(
"-I$ALICE_ROOT");
641 gSystem->AddIncludePath(
"-I$ALICE_PHYSICS");
642 gSystem->AddIncludePath(
"-I./");
652 TString cdir(Form(
"%s",
gSystem->WorkingDirectory() )) ;
654 TString parpar(Form(
"%s.par", pararchivename)) ;
656 if (
gSystem->AccessPathName(pararchivename) )
658 TString processline = Form(
".! tar xvzf %s",parpar.Data()) ;
659 gROOT->ProcessLine(processline.Data());
662 TString ocwd =
gSystem->WorkingDirectory();
663 gSystem->ChangeDirectory(pararchivename);
666 if (!
gSystem->AccessPathName(
"PROOF-INF/BUILD.sh"))
668 printf(
"*******************************\n");
669 printf(
"*** Building PAR archive ***\n");
670 cout<<pararchivename<<endl;
671 printf(
"*******************************\n");
673 if (
gSystem->Exec(
"PROOF-INF/BUILD.sh"))
675 Error(
"runProcess",
"Cannot Build the PAR Archive! - Abort!");
680 if (!
gSystem->AccessPathName(
"PROOF-INF/SETUP.C"))
682 printf(
"*******************************\n");
683 printf(
"*** Setup PAR archive ***\n");
684 cout<<pararchivename<<endl;
685 printf(
"*******************************\n");
686 gROOT->Macro(
"PROOF-INF/SETUP.C");
689 gSystem->ChangeDirectory(ocwd.Data());
690 printf(
"Current dir: %s\n", ocwd.Data());
698 TString ocwd =
gSystem->WorkingDirectory();
710 else cout<<
"INDIR not set, use default: "<<
kInDir<<endl;
713 if (sindir.Contains(
"pass1"))
kPass =
"pass1";
714 else if(sindir.Contains(
"pass2"))
kPass =
"pass2";
715 else if(sindir.Contains(
"pass3"))
kPass =
"pass3";
719 else cout<<
"PATTERN not set, use default: "<<
kPattern<<endl;
721 cout<<
"INDIR : "<<
kInDir<<endl;
722 cout<<
"NFILES : "<<
kFile<<endl;
728 for (Int_t event = 0 ;
event <
kFile ;
event++) {
732 sprintf(fileEm,
"%s/%s%d/embededAOD.root",
kInDir,
kPattern,event) ;
734 TFile * fESD = TFile::Open(fileE) ;
735 TFile * fAOD = TFile::Open(fileA) ;
742 TFile * fG = TFile::Open(fileG);
743 if(fG) {
kMC = kTRUE; fG->Close();}
747 TTree* esdTree = (TTree*)fESD->Get(
"esdTree");
748 AliESDEvent* esd =
new AliESDEvent();
749 esd->ReadFromTree(esdTree);
750 esdTree->GetEvent(0);
751 kRun = esd->GetRunNumber();
759 if(((TTree*) fAOD->Get(
"aodTree"))->GetBranch(
"mcparticles"))
kMC=kTRUE;
763 TTree* aodTree = (TTree*)fAOD->Get(
"aodTree");
764 AliAODEvent* aod =
new AliAODEvent();
765 aod->ReadFromTree(aodTree);
766 aodTree->GetEvent(0);
767 kRun = aod->GetRunNumber();
770 else if(TFile::Open(fileEm))
778 else if(TFile::Open(fileG))
787 if(fESD) fESD->Close();
788 if(fAOD) fAOD->Close();
795 else if(mode ==
mGRID){
802 sprintf(
kXML,
"collection.xml") ;
804 if (!TFile::Open(
kXML)) {
805 printf(
"No collection file with name -- %s -- was found\n",
kXML);
808 else cout<<
"XML file "<<
kXML<<endl;
813 TGrid::Connect(
"alien://") ;
816 TGridCollection * collection = (TGridCollection*) TAlienCollection::Open(
kXML);
818 AliError(Form(
"%s not found",
kXML)) ;
821 TGridResult* result = collection->GetGridResult(
"",0 ,0);
823 for (Int_t index = 0; index < result->GetEntries(); index++) {
824 TString alienURL = result->GetKey(index,
"turl") ;
825 cout <<
"================== " << alienURL << endl ;
827 if (alienURL.Contains(
"pass1"))
kPass =
"pass1";
828 else if(alienURL.Contains(
"pass2"))
kPass =
"pass2";
829 else if(alienURL.Contains(
"pass3"))
kPass =
"pass3";
831 kRun = AliAnalysisManager::GetRunFromAlienPath(alienURL.Data());
832 printf(
"Run number from alien path = %d\n",
kRun);
836 if (alienURL.Contains(
"AliESDs.root"))
840 alienURL.ReplaceAll(
"AliESDs.root",
"galice.root");
841 if(TFile::Open(alienURL))
kMC=kTRUE;
845 else if(alienURL.Contains(
"AliAOD.root"))
849 fAOD = TFile::Open(alienURL);
850 if(((TTree*) fAOD->Get(
"aodTree"))->GetBranch(
"mcparticles"))
kMC=kTRUE;
854 else if(alienURL.Contains(
"embededAOD.root"))
861 else if(alienURL.Contains(
"galice.root"))
875 TFileCollection* coll = gProof->GetDataSet(
kDatasetPROOF)->GetStagedSubset();
877 TIter iter(coll->GetList());
879 TFileInfo* fileInfo = 0;
880 while ((fileInfo = dynamic_cast<TFileInfo*> (iter())))
882 if (fileInfo->GetFirstUrl()) {
883 TString ProofURL = fileInfo->GetFirstUrl()->GetUrl();
884 cout <<
"================== " << ProofURL << endl ;
886 if (ProofURL.Contains(
"pass1"))
kPass =
"pass1";
887 else if(ProofURL.Contains(
"pass2"))
kPass =
"pass2";
888 else if(ProofURL.Contains(
"pass3"))
kPass =
"pass3";
890 kRun = AliAnalysisManager::GetRunFromAlienPath(ProofURL.Data());
891 printf(
"Run number from alien path = %d\n",
kRun);
895 if (ProofURL.Contains(
"AliESDs.root"))
899 alienURL.ReplaceAll(
"AliESDs.root",
"galice.root");
900 if(TFile::Open(ProofURL))
kMC=kTRUE;
905 else if(ProofURL.Contains(
"AliAOD.root"))
909 fAOD = TFile::Open(ProofURL);
910 if(((TTree*) fAOD->Get(
"aodTree"))->GetBranch(
"mcparticles"))
kMC=kTRUE;
914 else if(ProofURL.Contains(
"embededAOD.root"))
921 else if(ProofURL.Contains(
"galice.root"))
932 gSystem->ChangeDirectory(ocwd.Data());
940 TString ocwd =
gSystem->WorkingDirectory();
959 else cout<<
"INDIR not set, use default: "<<
kInDir<<endl;
963 else cout<<
"PATTERN not set, use default: "<<
kPattern<<endl;
967 else cout<<
"NFILES not set, use default: "<<
kFile<<endl;
972 printf(
"Get %d files from directory %s\n",
kFile,
kInDir);
975 printf(
"%s does not exist\n",
kInDir) ;
982 char * kGener =
gSystem->Getenv(
"GENER");
985 cout<<
"GENER "<<kGener<<endl;
986 if (!strcmp(kGener,
"PYTHIA"))
kXSFileName =
"pyxsec.root";
987 else if(!strcmp(kGener,
"HERWIG"))
kXSFileName =
"hexsec.root";
988 else cout<<
" UNKNOWN GENER, use default: "<<
kXSFileName<<endl;
990 else cout<<
" GENER not set, use default xs file name: "<<
kXSFileName<<endl;
999 cout<<
"INDIR : "<<
kInDir <<endl;
1000 cout<<
"NFILES : "<<
kFile <<endl;
1001 cout<<
"PATTERN : "<<
kPattern <<endl;
1004 TString datafile=
"";
1005 if (
kInputData ==
"ESD") datafile =
"AliESDs.root" ;
1006 else if(
kInputData.Contains(
"AOD")) datafile =
"AliAOD.root" ;
1007 else if(
kInputData ==
"MC") datafile =
"galice.root" ;
1015 for (event = 0 ;
event <
kFile ;
event++) {
1016 sprintf(file,
"%s/%s%d/%s",
kInDir,
kPattern,event,datafile.Data()) ;
1020 if ( fData = TFile::Open(file))
1024 printf(
"++++ Adding %s\n", file) ;
1025 chain->AddFile(file);
1029 chainxs->Add(filexs) ;
1033 TFile* fxsec = TFile::Open(filexs);
1036 TKey* key = (TKey*)fxsec->GetListOfKeys()->At(0);
1044 TList *
list =
dynamic_cast<TList*
>(key->ReadObj());
1052 Float_t xsection = ((TProfile*)list->FindObject(
"h1Xsec")) ->GetBinContent(1);
1053 Int_t ntrials = ((TH1F*) list->FindObject(
"h1Trials"))->GetBinContent(1);
1056 xsArr->SetAt(xsection,event);
1057 trArr->SetAt(ntrials,event);
1059 printf(
"recovered xs %f, ntrials %d, event %d\n",xsection,ntrials, event);
1069 printf(
"---- Skipping %s\n", file) ;
1075 TString input =
"AliESDs.root" ;
1076 cout<<
">>>>>> No list added, take a single file <<<<<<<<< "<<input<<endl;
1077 chain->AddFile(input);
1085 else if(mode ==
mGRID)
1091 TGridCollection * collection = (TGridCollection*) TAlienCollection::Open(
kXML);
1093 AliError(Form(
"%s not found",
kXML)) ;
1097 TGridResult* result = collection->GetGridResult(
"",0 ,0);
1100 printf(
"*** Getting the Chain ***\n");
1101 for (Int_t index = 0; index < result->GetEntries(); index++) {
1102 TString alienURL = result->GetKey(index,
"turl") ;
1103 cout <<
"================== " << alienURL << endl ;
1104 chain->Add(alienURL) ;
1110 chainxs->Add(alienURL) ;
1114 alienURL.ReplaceAll(
"AliESDs.root",
"pyxsec_hists.root");
1115 alienURL.ReplaceAll(
"AliAOD.root",
"pyxsec_hists.root");
1116 TFile* fxsec = TFile::Open(alienURL);
1119 TKey* key = (TKey*)fxsec->GetListOfKeys()->At(0);
1127 TList *
list =
dynamic_cast<TList*
>(key->ReadObj());
1135 Float_t xsection = ((TProfile*)list->FindObject(
"h1Xsec")) ->GetBinContent(1);
1136 Int_t ntrials = ((TH1F*) list->FindObject(
"h1Trials"))->GetBinContent(1);
1139 xsArr->SetAt(xsection,event);
1140 trArr->SetAt(ntrials,event);
1142 printf(
"recovered xs %f, ntrials %d, event %d\n",xsection,ntrials, event);
1154 TFileCollection* ds= gProof->GetDataSet(
kDatasetPROOF)->GetStagedSubset();
1156 gROOT->LoadMacro(
"/afs/in2p3.fr/group/alice/laf/dataset_management/CreateChainFromDataSet.C");
1158 printf(
"chain has %d entries\n",chain->GetEntries());
1161 gSystem->ChangeDirectory(ocwd.Data());
1173 Bool_t bRecalibrate = kFALSE;
1174 Bool_t bBadChannel = kFALSE;
1176 for (
int i=0; i< gApplication->Argc();i++){
1180 printf(
"Arg %d: %s\n",i,gApplication->Argv(i));
1186 if (!(strcmp(gApplication->Argv(i),
"--trigger")))
1187 sprintf(trigger,gApplication->Argv(i+1));
1189 if (!(strcmp(gApplication->Argv(i),
"--recalibrate")))
1190 bRecalibrate = atoi(gApplication->Argv(i+1));
1192 if (!(strcmp(gApplication->Argv(i),
"--badchannel")))
1193 bBadChannel = atoi(gApplication->Argv(i+1));
1195 if (!(strcmp(gApplication->Argv(i),
"--run")))
1197 sRun = gApplication->Argv(i+1);
1198 if(sRun.Contains(
"LHC10")) {
1203 kRun = atoi(gApplication->Argv(i+1));
1205 else printf(
"** Run number already set to %d, do not set to %d\n",
kRun,atoi(gApplication->Argv(i+1)));
1211 if(!sRun.Contains(
"LHC10"))
1218 else if(
kRun < 170600)
1223 else if(
kRun < 200000 )
1236 printf(
"*********************************************\n");
1240 printf(
"*********************************************\n");
1261 Double_t xsection = 0 ;
1262 UInt_t ntrials = 0 ;
1270 nfiles = tree->GetEntries() ;
1272 tree->SetBranchAddress(
"xsection",&xsection);
1273 tree->SetBranchAddress(
"ntrials" ,&ntrials );
1274 for(Int_t i = 0; i < nfiles; i++)
1283 cout <<
"xsection " <<xsection<<
" ntrials "<<ntrials<<endl;
1288 nfiles =
xsArr->GetSize();
1290 for(Int_t i = 0; i < nfiles; i++)
1292 if(
xsArr->GetAt(i) > 0)
1294 xs +=
xsArr->GetAt(i) ;
1295 ntr +=
trArr->GetAt(i) ;
1298 cout <<
"xsection " <<
xsArr->GetAt(i)<<
" ntrials "<<
trArr->GetAt(i)<<endl;
1305 cout <<
"-----------------------------------------------------------------"<<endl;
1306 cout <<
"Average of "<< n <<
" files: xsection " <<xs<<
" ntrials "<<ntr<<endl;
1307 cout <<
"-----------------------------------------------------------------"<<endl;
Analyze locally files in your computer.
void ana(Int_t mode=mGRID)
anaModes
Different analysis modes.
Bool_t GetAverageXsection(TTree *tree, Double_t &xs, Float_t &ntr, Int_t &n)
void LoadLibraries(Int_t mode)
Load analysis libraries.
Count events with different selection criteria.
void CreateChain(const anaModes mode, TChain *chain, TChain *chainxs)
Fills chain with data files paths.
Bool_t kPrint
Global variables to be accessed by the different methods.
char * kPattern
Global, path to data files.
TArrayF * xsArr
Name of file with pT-hard cross sections.
AliAnalysisAlien * CreateAlienHandler()
Int_t kYear
ESD, AOD, MC, deltaAOD.
void CheckEnvironmentVariables()
TString kTreeName
Some tasks doesnt need it.
void CheckInputData(const anaModes mode)
Sets input data and tree strings.
AliAnalysisTaskCounter * AddTaskCounter(const TString trigger="", Bool_t xsOn=kFALSE)
AliAnalysisTaskEMCALClusterize * AddTaskEMCALClusterize(TString &arrayName, const Bool_t bFillAOD=kFALSE, const Int_t bMC=kFALSE, const Bool_t exotic=kTRUE, const TString name="V1Unfold", const TString trigger="", const Bool_t tm=kTRUE, const Int_t minEcell=50, const Int_t minEseed=100, const Int_t maxDeltaT=250, const Int_t timeWindow=1000, const Int_t minEUnf=15, const Int_t minFrac=1, const Bool_t bRecalE=kTRUE, const Bool_t bBad=kTRUE, const Bool_t bRecalT=kTRUE, const Bool_t bNonLine=kFALSE, const Int_t minCen=-1, const Int_t maxCen=-1, const Float_t clusterEnergyCutEvent=-1, const Int_t nRowDiff=1, const Int_t nColDiff=1, const Bool_t skipOrReject=kFALSE)
Analyze files on GRID with Plugin.
Analyze files on GRID with Plugin.
void SetupPar(char *pararchivename)
Main class conecting the CaloTrackCorrelations package and Analysis Frame.
const char * kXSFileName
Global name for the xml collection file with data on grid.
AliAnalysisTaskCaloTrackCorrelation * AddTaskCaloTrackCorr(const TString data="", const TString calorimeter="EMCAL", const Bool_t simulation=kFALSE, const Bool_t eventsel=kFALSE, const Bool_t exotic=kTRUE, const Bool_t nonlin=kFALSE, TString outputfile="", const Int_t year=2010, const TString col="pp", const TString trigger="MB", const TString clustersArray="V1", const Bool_t mix=kTRUE, const Bool_t recaltm=kTRUE, const Bool_t tm=kTRUE, const Int_t minCen=-1, const Int_t maxCen=-1, const Bool_t qaan=kFALSE, const Bool_t hadronan=kFALSE, const Bool_t calibE=kTRUE, const Bool_t badmap=kTRUE, const Bool_t calibT=kTRUE, const Bool_t tender=kFALSE, const Bool_t outputAOD=kFALSE, const Bool_t printSettings=kFALSE, const Double_t scaleFactor=-1, const Int_t runNumber=-1)
Int_t kFile
Data are in files kInDir/kPattern+i.
TString kInputData
With real data kMC = kFALSE.
Reclusterize EMCal clusters, put them in a new branch for other following analysis.
char * kDatasetPROOF
Number of files to analyze in local mode.