45 char *
kXML =
"collection.xml";
105 printf(
"*********************************************\n");
106 printf(
"*** Input data < %s >, pass %s, tree < %s >, MC? < %d > ***\n",kInputData.Data(),kPass.Data(),kTreeName.Data(),
kMC);
107 printf(
"*********************************************\n");
114 printf(
"===== kMC %d, chainxs %p\n",
kMC,chainxs);
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;
183 mgr->SetGridHandler(alienHandler);
187 if((
kMC || kInputData ==
"MC") && !kInputData.Contains(
"AOD"))
189 AliMCEventHandler* mcHandler =
new AliMCEventHandler();
190 mcHandler->SetReadTR(kFALSE);
191 mgr->SetMCtruthEventHandler(mcHandler);
192 if( kInputData ==
"MC")
194 cout<<
"MC INPUT EVENT HANDLER"<<endl;
195 mgr->SetInputEventHandler(NULL);
201 if(kInputData!=
"deltaAOD" &&
outAOD)
203 cout<<
"Init output handler"<<endl;
204 AliAODHandler* aodoutHandler =
new AliAODHandler();
205 aodoutHandler->SetOutputFileName(
"aod.root");
207 mgr->SetOutputEventHandler(aodoutHandler);
212 if(kInputData ==
"ESD")
215 AliESDInputHandler *esdHandler =
new AliESDInputHandler();
216 esdHandler->SetReadFriends(kFALSE);
217 mgr->SetInputEventHandler(esdHandler);
218 cout<<
"ESD handler "<<mgr->GetInputEventHandler()<<endl;
220 else if(kInputData.Contains(
"AOD"))
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();
239 if(kInputData==
"ESD" && !
kMC)
241 gROOT->LoadMacro(
"$ALICE_PHYSICS/OADB/macros/AddTaskPhysicsSelection.C");
242 AliPhysicsSelectionTask* physSelTask = AddTaskPhysicsSelection(
kMC);
246 if(kCollision==
"PbPb" && kInputData==
"ESD" &&
kRun < 200000)
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);
262 if(kCollision==
"PbPb")
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");
286 if(kCollision==
"PbPb")
323 gROOT->LoadMacro(
"AddTaskCaloTrackCorr.C");
324 gROOT->LoadMacro(
"$ALICE_PHYSICS/PWGPP/EMCAL/macros/AddTaskEMCALClusterize.C");
336 if(
kRun < 122195 || (
kRun > 126437 &&
kRun < 136851) ||
kMC) calibTT=kFALSE ;
341 printf(
"==================================== \n");
342 printf(
"CONFIGURE ANALYSIS FOR PP COLLISIONS \n");
343 printf(
"==================================== \n");
353 Int_t minEseed = 100;
371 Bool_t selectEvents = kFALSE;
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);
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);
423 if(kCollision==
"PbPb")
425 printf(
"====================================== \n");
426 printf(
"CONFIGURE ANALYSIS FOR PbPb COLLISIONS \n");
427 printf(
"====================================== \n");
435 Int_t minEcell = 150;
436 Int_t minEseed = 300;
453 Bool_t selectEvents = kFALSE;
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);
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");
591 gSystem->AddIncludePath(
"-I$ALICE_ROOT");
592 gSystem->AddIncludePath(
"-I$ALICE_PHYSICS");
593 gSystem->AddIncludePath(
"-I./");
605 TString parpar(Form(
"%s.par", pararchivename)) ;
607 if (
gSystem->AccessPathName(pararchivename) )
609 TString processline = Form(
".! tar xvzf %s",parpar.Data()) ;
610 gROOT->ProcessLine(processline.Data());
614 gSystem->ChangeDirectory(pararchivename);
617 if (!
gSystem->AccessPathName(
"PROOF-INF/BUILD.sh"))
619 printf(
"*******************************\n");
620 printf(
"*** Building PAR archive ***\n");
621 cout<<pararchivename<<endl;
622 printf(
"*******************************\n");
624 if (
gSystem->Exec(
"PROOF-INF/BUILD.sh"))
626 Error(
"runProcess",
"Cannot Build the PAR Archive! - Abort!");
631 if (!
gSystem->AccessPathName(
"PROOF-INF/SETUP.C"))
633 printf(
"*******************************\n");
634 printf(
"*** Setup PAR archive ***\n");
635 cout<<pararchivename<<endl;
636 printf(
"*******************************\n");
637 gROOT->Macro(
"PROOF-INF/SETUP.C");
640 gSystem->ChangeDirectory(ocwd.Data());
641 printf(
"Current dir: %s\n", ocwd.Data());
661 else cout<<
"INDIR not set, use default: "<<
kInDir<<endl;
664 if (sindir.Contains(
"pass1")) kPass =
"pass1";
665 else if(sindir.Contains(
"pass2")) kPass =
"pass2";
666 else if(sindir.Contains(
"pass3")) kPass =
"pass3";
670 else cout<<
"PATTERN not set, use default: "<<
kPattern<<endl;
672 cout<<
"INDIR : "<<
kInDir<<endl;
673 cout<<
"NFILES : "<<
kFile<<endl;
679 for (
Int_t event = 0 ;
event <
kFile ;
event++) {
683 sprintf(fileEm,
"%s/%s%d/embededAOD.root",
kInDir,
kPattern,event) ;
685 TFile * fESD = TFile::Open(fileE) ;
686 TFile * fAOD = TFile::Open(fileA) ;
691 kTreeName =
"esdTree";
693 TFile * fG = TFile::Open(fileG);
694 if(fG) {
kMC = kTRUE; fG->Close();}
698 TTree* esdTree = (
TTree*)fESD->Get(
"esdTree");
700 esd->ReadFromTree(esdTree);
701 esdTree->GetEvent(0);
702 kRun = esd->GetRunNumber();
708 kTreeName =
"aodTree";
710 if(((
TTree*) fAOD->Get(
"aodTree"))->GetBranch(
"mcparticles"))
kMC=kTRUE;
714 TTree* aodTree = (
TTree*)fAOD->Get(
"aodTree");
716 aod->ReadFromTree(aodTree);
717 aodTree->GetEvent(0);
718 kRun = aod->GetRunNumber();
721 else if(TFile::Open(fileEm))
723 kTreeName =
"aodTree";
729 else if(TFile::Open(fileG))
738 if(fESD) fESD->Close();
739 if(fAOD) fAOD->Close();
746 else if(mode ==
mGRID){
753 sprintf(
kXML,
"collection.xml") ;
755 if (!TFile::Open(
kXML)) {
756 printf(
"No collection file with name -- %s -- was found\n",
kXML);
759 else cout<<
"XML file "<<
kXML<<endl;
764 TGrid::Connect(
"alien://") ;
767 TGridCollection * collection = (TGridCollection*) TAlienCollection::Open(
kXML);
769 AliError(Form(
"%s not found",
kXML)) ;
772 TGridResult* result = collection->GetGridResult(
"",0 ,0);
774 for (
Int_t index = 0; index < result->GetEntries(); index++) {
775 TString alienURL = result->GetKey(index,
"turl") ;
776 cout <<
"================== " << alienURL << endl ;
778 if (alienURL.Contains(
"pass1")) kPass =
"pass1";
779 else if(alienURL.Contains(
"pass2")) kPass =
"pass2";
780 else if(alienURL.Contains(
"pass3")) kPass =
"pass3";
782 kRun = AliAnalysisManager::GetRunFromAlienPath(alienURL.Data());
783 printf(
"Run number from alien path = %d\n",
kRun);
787 if (alienURL.Contains(
"AliESDs.root"))
789 kTreeName =
"esdTree";
791 alienURL.ReplaceAll(
"AliESDs.root",
"galice.root");
792 if(TFile::Open(alienURL))
kMC=kTRUE;
796 else if(alienURL.Contains(
"AliAOD.root"))
798 kTreeName =
"aodTree";
800 fAOD = TFile::Open(alienURL);
801 if(((
TTree*) fAOD->Get(
"aodTree"))->GetBranch(
"mcparticles"))
kMC=kTRUE;
805 else if(alienURL.Contains(
"embededAOD.root"))
807 kTreeName =
"aodTree";
812 else if(alienURL.Contains(
"galice.root"))
826 TFileCollection* coll = gProof->GetDataSet(
kDatasetPROOF)->GetStagedSubset();
828 TIter iter(coll->GetList());
830 TFileInfo* fileInfo = 0;
831 while ((fileInfo = dynamic_cast<TFileInfo*> (iter())))
833 if (fileInfo->GetFirstUrl()) {
834 TString ProofURL = fileInfo->GetFirstUrl()->GetUrl();
835 cout <<
"================== " << ProofURL << endl ;
837 if (ProofURL.Contains(
"pass1")) kPass =
"pass1";
838 else if(ProofURL.Contains(
"pass2")) kPass =
"pass2";
839 else if(ProofURL.Contains(
"pass3")) kPass =
"pass3";
841 kRun = AliAnalysisManager::GetRunFromAlienPath(ProofURL.Data());
842 printf(
"Run number from alien path = %d\n",
kRun);
846 if (ProofURL.Contains(
"AliESDs.root"))
848 kTreeName =
"esdTree";
850 alienURL.ReplaceAll(
"AliESDs.root",
"galice.root");
851 if(TFile::Open(ProofURL))
kMC=kTRUE;
856 else if(ProofURL.Contains(
"AliAOD.root"))
858 kTreeName =
"aodTree";
860 fAOD = TFile::Open(ProofURL);
861 if(((
TTree*) fAOD->Get(
"aodTree"))->GetBranch(
"mcparticles"))
kMC=kTRUE;
865 else if(ProofURL.Contains(
"embededAOD.root"))
867 kTreeName =
"aodTree";
872 else if(ProofURL.Contains(
"galice.root"))
883 gSystem->ChangeDirectory(ocwd.Data());
893 if(kInputData ==
"AOD")
910 else cout<<
"INDIR not set, use default: "<<
kInDir<<endl;
914 else cout<<
"PATTERN not set, use default: "<<
kPattern<<endl;
918 else cout<<
"NFILES not set, use default: "<<
kFile<<endl;
923 printf(
"Get %d files from directory %s\n",
kFile,
kInDir);
926 printf(
"%s does not exist\n",
kInDir) ;
933 char * kGener =
gSystem->Getenv(
"GENER");
936 cout<<
"GENER "<<kGener<<endl;
937 if (!strcmp(kGener,
"PYTHIA"))
kXSFileName =
"pyxsec.root";
938 else if(!strcmp(kGener,
"HERWIG"))
kXSFileName =
"hexsec.root";
939 else cout<<
" UNKNOWN GENER, use default: "<<
kXSFileName<<endl;
941 else cout<<
" GENER not set, use default xs file name: "<<
kXSFileName<<endl;
943 if(kInputData==
"AOD")
950 cout<<
"INDIR : "<<
kInDir <<endl;
951 cout<<
"NFILES : "<<
kFile <<endl;
952 cout<<
"PATTERN : "<<
kPattern <<endl;
956 if (kInputData ==
"ESD") datafile =
"AliESDs.root" ;
957 else if(kInputData.Contains(
"AOD")) datafile =
"AliAOD.root" ;
958 else if(kInputData ==
"MC") datafile =
"galice.root" ;
966 for (event = 0 ;
event <
kFile ;
event++) {
967 sprintf(file,
"%s/%s%d/%s",
kInDir,
kPattern,event,datafile.Data()) ;
971 if ( fData = TFile::Open(file))
973 if ( fData->Get(kTreeName) )
975 printf(
"++++ Adding %s\n", file) ;
976 chain->AddFile(file);
978 if(kInputData !=
"AOD")
980 chainxs->Add(filexs) ;
984 TFile* fxsec = TFile::Open(filexs);
987 TKey* key = (TKey*)fxsec->GetListOfKeys()->At(0);
1003 Float_t xsection = ((TProfile*)list->FindObject(
"h1Xsec")) ->GetBinContent(1);
1004 Int_t ntrials = ((TH1F*) list->FindObject(
"h1Trials"))->GetBinContent(1);
1007 xsArr->SetAt(xsection,event);
1008 trArr->SetAt(ntrials,event);
1010 printf(
"recovered xs %f, ntrials %d, event %d\n",xsection,ntrials, event);
1020 printf(
"---- Skipping %s\n", file) ;
1026 TString input =
"AliESDs.root" ;
1027 cout<<
">>>>>> No list added, take a single file <<<<<<<<< "<<input<<endl;
1028 chain->AddFile(input);
1036 else if(mode ==
mGRID)
1042 TGridCollection * collection = (TGridCollection*) TAlienCollection::Open(
kXML);
1044 AliError(Form(
"%s not found",
kXML)) ;
1048 TGridResult* result = collection->GetGridResult(
"",0 ,0);
1051 printf(
"*** Getting the Chain ***\n");
1052 for (
Int_t index = 0; index < result->GetEntries(); index++) {
1053 TString alienURL = result->GetKey(index,
"turl") ;
1054 cout <<
"================== " << alienURL << endl ;
1055 chain->Add(alienURL) ;
1057 if(kInputData !=
"AOD")
1061 chainxs->Add(alienURL) ;
1065 alienURL.ReplaceAll(
"AliESDs.root",
"pyxsec_hists.root");
1066 alienURL.ReplaceAll(
"AliAOD.root",
"pyxsec_hists.root");
1067 TFile* fxsec = TFile::Open(alienURL);
1070 TKey* key = (TKey*)fxsec->GetListOfKeys()->At(0);
1086 Float_t xsection = ((TProfile*)list->FindObject(
"h1Xsec")) ->GetBinContent(1);
1087 Int_t ntrials = ((TH1F*) list->FindObject(
"h1Trials"))->GetBinContent(1);
1090 xsArr->SetAt(xsection,event);
1091 trArr->SetAt(ntrials,event);
1093 printf(
"recovered xs %f, ntrials %d, event %d\n",xsection,ntrials, event);
1105 TFileCollection* ds= gProof->GetDataSet(
kDatasetPROOF)->GetStagedSubset();
1107 gROOT->LoadMacro(
"/afs/in2p3.fr/group/alice/laf/dataset_management/CreateChainFromDataSet.C");
1109 printf(
"chain has %d entries\n",chain->GetEntries());
1112 gSystem->ChangeDirectory(ocwd.Data());
1124 Bool_t bRecalibrate = kFALSE;
1125 Bool_t bBadChannel = kFALSE;
1127 for (
int i=0; i< gApplication->Argc();i++){
1131 printf(
"Arg %d: %s\n",i,gApplication->Argv(i));
1137 if (!(strcmp(gApplication->Argv(i),
"--trigger")))
1138 sprintf(trigger,gApplication->Argv(i+1));
1140 if (!(strcmp(gApplication->Argv(i),
"--recalibrate")))
1141 bRecalibrate = atoi(gApplication->Argv(i+1));
1143 if (!(strcmp(gApplication->Argv(i),
"--badchannel")))
1144 bBadChannel = atoi(gApplication->Argv(i+1));
1146 if (!(strcmp(gApplication->Argv(i),
"--run")))
1148 sRun = gApplication->Argv(i+1);
1149 if(sRun.Contains(
"LHC10")) {
1154 kRun = atoi(gApplication->Argv(i+1));
1156 else printf(
"** Run number already set to %d, do not set to %d\n",
kRun,atoi(gApplication->Argv(i+1)));
1165 if(
kRun >= 136851 ) kCollision =
"PbPb";
1167 else if(
kRun < 170600)
1170 if(
kRun >= 166500 ) kCollision =
"PbPb";
1172 else if(
kRun < 200000 )
1175 if(
kRun >= 194000 ) kCollision =
"pPb";
1177 else if(
kRun < 247000 )
1180 if(
kRun >= 244820 ) kCollision =
"PbPb";
1189 printf(
"*********************************************\n");
1192 printf(
"*** Settings year %d, collision %s, run %d ***\n",
kYear,kCollision.Data(),
kRun);
1193 printf(
"*********************************************\n");
1221 if( kInputData !=
"AOD" && tree))
1223 nfiles = tree->GetEntries() ;
1225 tree->SetBranchAddress(
"xsection",&xsection);
1226 tree->SetBranchAddress(
"ntrials" ,&ntrials );
1227 for(
Int_t i = 0; i < nfiles; i++)
1236 cout <<
"xsection " <<xsection<<
" ntrials "<<ntrials<<endl;
1239 else if( kInputData ==
"AOD" &&
xsArr))
1241 nfiles =
xsArr->GetSize();
1243 for(
Int_t i = 0; i < nfiles; i++)
1245 if(
xsArr->GetAt(i) > 0)
1247 xs +=
xsArr->GetAt(i) ;
1248 ntr += trArr->GetAt(i) ;
1251 cout <<
"xsection " <<
xsArr->GetAt(i)<<
" ntrials "<<trArr->GetAt(i)<<endl;
1258 cout <<
"-----------------------------------------------------------------"<<endl;
1259 cout <<
"Average of "<< n <<
" files: xsection " <<xs<<
" ntrials "<<ntr<<endl;
1260 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.
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)
AliAnalysisAlien * CreateAlienHandler()
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.