3 #include "TDirectory.h"
12 #include "AliMCEvent.h"
14 #include "AliESDEvent.h"
15 #include "AliAODJet.h"
16 #include "AliAODEvent.h"
18 #include "AliGenEventHeader.h"
19 #include "AliGenCocktailEventHeader.h"
20 #include <AliGenDPMjetEventHeader.h>
21 #include "AliGenPythiaEventHeader.h"
24 #include "AliAnalysisHelperJetTasks.h"
25 #include "TMatrixDSym.h"
26 #include "TMatrixDSymEigen.h"
29 ClassImp(AliAnalysisHelperJetTasks)
31 Int_t AliAnalysisHelperJetTasks::fgLastProcessType = -1;
34 AliGenPythiaEventHeader* AliAnalysisHelperJetTasks::GetPythiaEventHeader(AliMCEvent *mcEvent){
36 AliGenEventHeader* genHeader = mcEvent->GenEventHeader();
37 AliGenPythiaEventHeader* pythiaGenHeader = dynamic_cast<AliGenPythiaEventHeader*>(genHeader);
40 AliGenCocktailEventHeader* genCocktailHeader = dynamic_cast<AliGenCocktailEventHeader*>(genHeader);
42 if (!genCocktailHeader) {
43 AliWarningGeneral(Form(" %s:%d",(char*)__FILE__,__LINE__),"Unknown header type (not Pythia or Cocktail)");
44 // AliWarning(Form("%s %d: Unknown header type (not Pythia or Cocktail)",(char*)__FILE__,__LINE__));
47 TList* headerList = genCocktailHeader->GetHeaders();
48 for (Int_t i=0; i<headerList->GetEntries(); i++) {
49 pythiaGenHeader = dynamic_cast<AliGenPythiaEventHeader*>(headerList->At(i));
54 AliWarningGeneral(Form(" %s:%d",(char*)__FILE__,__LINE__),"Pythia event header not found");
58 return pythiaGenHeader;
63 void AliAnalysisHelperJetTasks::PrintStack(AliMCEvent *mcEvent,Int_t iFirst,Int_t iLast,Int_t iMaxPrint){
65 AliStack *stack = mcEvent->Stack();
67 Printf("%s%d No Stack available",(char*)__FILE__,__LINE__);
71 static Int_t iCount = 0;
72 if(iCount>iMaxPrint)return;
73 Int_t nStack = stack->GetNtrack();
74 if(iLast == 0)iLast = nStack;
75 else if(iLast > nStack)iLast = nStack;
78 Printf("####################################################################");
79 for(Int_t np = iFirst;np<iLast;++np){
80 TParticle *p = stack->Particle(np);
81 Printf("Nr.%d --- Status %d ---- Mother1 %d Mother2 %d Daughter1 %d Daughter2 %d ",
82 np,p->GetStatusCode(),p->GetMother(0),p->GetMother(1),p->GetDaughter(0),p->GetDaughter(1));
83 Printf("Eta %3.3f Phi %3.3f ",p->Eta(),p->Phi());
85 Printf("---------------------------------------");
93 void AliAnalysisHelperJetTasks::GetClosestJets(AliAODJet *genJets,const Int_t &kGenJets,
94 AliAODJet *recJets,const Int_t &kRecJets,
95 Int_t *iGenIndex,Int_t *iRecIndex,
96 Int_t iDebug,Float_t maxDist){
99 // Relate the two input jet Arrays
103 // The association has to be unique
104 // So check in two directions
105 // find the closest rec to a gen
106 // and check if there is no other rec which is closer
107 // Caveat: Close low energy/split jets may disturb this correlation
110 // Idea: search in two directions generated e.g (a--e) and rec (1--3)
111 // Fill a matrix with Flags (1 for closest rec jet, 2 for closest rec jet
112 // in the end we have something like this
126 // Only entries with "3" match from both sides
128 // In case we have more jets than kmaxjets only the
129 // first kmaxjets are searched
131 // use kMaxJets for a test not to fragemnt the memory...
133 for(int i = 0;i < kGenJets;++i)iGenIndex[i] = -1;
134 for(int j = 0;j < kRecJets;++j)iRecIndex[j] = -1;
140 const Int_t nGenJets = TMath::Min(kMaxJets,kGenJets);
141 const Int_t nRecJets = TMath::Min(kMaxJets,kRecJets);
143 if(nRecJets==0||nGenJets==0)return;
145 // UShort_t *iFlag = new UShort_t[nGenJets*nRecJets];
146 UShort_t iFlag[kMaxJets*kMaxJets];
147 for(int i = 0;i < nGenJets;++i){
148 for(int j = 0;j < nRecJets;++j){
149 iFlag[i*nGenJets+j] = 0;
155 // find the closest distance to the generated
156 for(int ig = 0;ig<nGenJets;++ig){
157 Float_t dist = maxDist;
158 if(iDebug>1)Printf("Gen (%d) p_T %3.3f eta %3.3f ph %3.3f ",ig,genJets[ig].Pt(),genJets[ig].Eta(),genJets[ig].Phi());
159 for(int ir = 0;ir<nRecJets;++ir){
160 Double_t dR = genJets[ig].DeltaR(&recJets[ir]);
161 if(iDebug>1)Printf("Rec (%d) p_T %3.3f eta %3.3f ph %3.3f ",ir,recJets[ir].Pt(),recJets[ir].Eta(),recJets[ir].Phi());
162 if(iDebug>1)Printf("Distance (%d)--(%d) %3.3f ",ig,ir,dR);
168 if(iRecIndex[ig]>=0)iFlag[ig*nGenJets+iRecIndex[ig]]+=1;
173 for(int ir = 0;ir<nRecJets;++ir){
174 Float_t dist = maxDist;
175 for(int ig = 0;ig<nGenJets;++ig){
176 Double_t dR = genJets[ig].DeltaR(&recJets[ir]);
182 if(iGenIndex[ir]>=0)iFlag[iGenIndex[ir]*nGenJets+ir]+=2;
187 // check for "true" correlations
189 if(iDebug>1)Printf(">>>>>> Matrix");
191 for(int ig = 0;ig<nGenJets;++ig){
192 for(int ir = 0;ir<nRecJets;++ir){
194 if(iDebug>1)printf("Flag[%d][%d] %d ",ig,ir,iFlag[ig*nGenJets+ir]);
197 // we have a uniqie correlation
198 if(iFlag[ig*nGenJets+ir]==3){
204 // we just take the correlation from on side
205 if((iFlag[ig*nGenJets+ir]&2)==2){
208 if((iFlag[ig*nGenJets+ir]&1)==1){
213 if(iDebug>1)printf("\n");
219 void AliAnalysisHelperJetTasks::MergeOutput(char* cFiles, char* cDir, char *cList,char *cOutFile,Bool_t bUpdate){
221 // This is used to merge the analysis-output from different
222 // data samples/pt_hard bins
223 // in case the eventweigth was set to xsection/ntrials already, this
224 // is not needed. Both methods only work in case we do not mix different
225 // pt_hard bins, and do not have overlapping bins
227 const Int_t nMaxBins = 12;
228 // LHC08q jetjet100: Mean = 1.42483e-03, RMS = 6.642e-05
229 // LHC08r jetjet50: Mean = 2.44068e-02, RMS = 1.144e-03
230 // LHC08v jetjet15-50: Mean = 2.168291 , RMS = 7.119e-02
231 // const Float_t xsection[nBins] = {2.168291,2.44068e-02};
233 Float_t xsection[nMaxBins];
234 Float_t nTrials[nMaxBins];
235 Float_t sf[nMaxBins];
236 TList *lIn[nMaxBins];
237 TDirectory *dIn[nMaxBins];
238 TFile *fIn[nMaxBins];
246 fIn[ibTotal] = TFile::Open(cFile);
248 dIn[ibTotal] = gDirectory;
251 dIn[ibTotal] = (TDirectory*)fIn[ibTotal]->Get(cDir);
254 Printf("%s:%d No directory %s found, exiting...",__FILE__,__LINE__,cDir);
259 lIn[ibTotal] = (TList*)dIn[ibTotal]->Get(cList);
260 Printf("Merging file %s %s",cFile, cDir);
262 Printf("%s:%d No list %s found, exiting...",__FILE__,__LINE__,cList);
266 TH1* hTrials = (TH1F*)lIn[ibTotal]->FindObject("fh1Trials");
268 Printf("%s:%d fh1PtHard_Trials not found in list, exiting...",__FILE__,__LINE__);
271 TProfile* hXsec = (TProfile*)lIn[ibTotal]->FindObject("fh1Xsec");
273 Printf("%s:%d fh1Xsec not found in list, exiting...",__FILE__,__LINE__);
276 xsection[ibTotal] = hXsec->GetBinContent(1);
277 nTrials[ibTotal] = hTrials->Integral();
278 sf[ibTotal] = xsection[ibTotal]/ nTrials[ibTotal];
283 Printf("%s:%d No files found for mergin, exiting",__FILE__,__LINE__);
288 if(bUpdate)fOut = new TFile(cOutFile,"UPDATE");
289 else fOut = new TFile(cOutFile,"RECREATE");
290 TDirectory *dOut = fOut->mkdir(dIn[0]->GetName());
292 TList *lOut = new TList();
293 lOut->SetName(lIn[0]->GetName());
295 // for the start scale all...
296 for(int ie = 0; ie < lIn[0]->GetEntries();++ie){
298 THnSparse *hnAdd = 0;
299 for(int ib = 0;ib < ibTotal;++ib){
300 // dynamic cast does not work with cint
301 TObject *h = lIn[ib]->At(ie);
302 if(h->InheritsFrom("TH1")){
305 h1Add = (TH1*)h1->Clone(h1->GetName());
306 h1Add->Scale(sf[ib]);
309 h1Add->Add(h1,sf[ib]);
312 else if(h->InheritsFrom("THnSparse")){
313 THnSparse *hn = (THnSparse*)h;
315 hnAdd = (THnSparse*)hn->Clone(hn->GetName());
316 hnAdd->Scale(sf[ib]);
319 hnAdd->Add(hn,sf[ib]);
325 if(h1Add)lOut->Add(h1Add);
326 else if(hnAdd)lOut->Add(hnAdd);
329 lOut->Write(lOut->GetName(),TObject::kSingleKey);
333 Bool_t AliAnalysisHelperJetTasks::PythiaInfoFromFile(const char* currFile,Float_t &fXsec,Float_t &fTrials){
335 // get the cross section and the trails either from pyxsec.root or from pysec_hists.root
336 // This is to called in Notify and should provide the path to the AOD/ESD file
338 TString file(currFile);
342 if(file.Contains("root_archive.zip#")){
343 Ssiz_t pos1 = file.Index("root_archive",12,TString::kExact);
344 Ssiz_t pos = file.Index("#",1,pos1,TString::kExact);
345 file.Replace(pos+1,20,"");
348 // not an archive take the basename....
349 file.ReplaceAll(gSystem->BaseName(file.Data()),"");
351 Printf("%s",file.Data());
356 TFile *fxsec = TFile::Open(Form("%s%s",file.Data(),"pyxsec.root")); // problem that we cannot really test the existance of a file in a archive so we have to lvie with open error message from root
358 // next trial fetch the histgram file
359 fxsec = TFile::Open(Form("%s%s",file.Data(),"pyxsec_hists.root"));
361 // not a severe condition but inciate that we have no information
365 // find the tlist we want to be independtent of the name so use the Tkey
366 TKey* key = (TKey*)fxsec->GetListOfKeys()->At(0);
371 TList *list = dynamic_cast<TList*>(key->ReadObj());
376 fXsec = ((TProfile*)list->FindObject("h1Xsec"))->GetBinContent(1);
377 fTrials = ((TH1F*)list->FindObject("h1Trials"))->GetBinContent(1);
380 } // no tree pyxsec.root
382 TTree *xtree = (TTree*)fxsec->Get("Xsection");
388 Double_t xsection = 0;
389 xtree->SetBranchAddress("xsection",&xsection);
390 xtree->SetBranchAddress("ntrials",&ntrials);
399 Bool_t AliAnalysisHelperJetTasks::PrintDirectorySize(const char* currFile){
401 TFile *fIn = TFile::Open(currFile);
403 // not a severe condition but inciate that we have no information
406 // find the tlists we want to be independtent of the name so use the Tkey
407 TList* keyList = fIn->GetListOfKeys();
408 Float_t memorySize = 0;
409 Float_t diskSize = 0;
411 for(int i = 0;i < keyList->GetEntries();i++){
412 TKey* ikey = (TKey*)keyList->At(i);
414 // TList *list = dynamic_cast<TList*>(key->ReadObj());
415 // TNamed *name = dynamic_cast<TNamed*>(ikey->ReadObj());
416 TDirectory *dir = dynamic_cast<TDirectory*>(ikey->ReadObj());
422 Printf("%03d : %60s %8d %8d ",i,dir->GetName(),ikey->GetObjlen(),ikey->GetNbytes());
423 TList * dirKeyList = dir->GetListOfKeys();
424 for(int j = 0;j<dirKeyList->GetEntries();j++){
425 TKey* jkey = (TKey*)dirKeyList->At(j);
426 TList *list = dynamic_cast<TList*>(jkey->ReadObj());
428 memorySize += (Float_t)jkey->GetObjlen()/1024./1024.;
429 diskSize += (Float_t)jkey->GetNbytes()/1024./1024.;
431 Printf("%03d/%03d: %60s %5.2f MB %5.2f MB",i,j,list->GetName(),(Float_t)jkey->GetObjlen()/1024./1024.,(Float_t)jkey->GetNbytes()/1024./1024.);
434 Printf("%03d/%03d: %60s %5.2f MB %5.2f MB",i,j,jkey->GetName(),(Float_t)jkey->GetObjlen()/1024./1024.,(Float_t)jkey->GetNbytes()/1024./1024.);
439 Printf("Total %5.2f MB %5.2f MB",memorySize,diskSize);
444 Bool_t AliAnalysisHelperJetTasks::Selected(Bool_t bSet,Bool_t bNew){
445 static Bool_t bSelected = kTRUE; // if service task is not run we acccpet all
452 Bool_t AliAnalysisHelperJetTasks::IsCosmic(){
453 return ((SelectInfo()&kIsCosmic)==kIsCosmic);
456 Bool_t AliAnalysisHelperJetTasks::IsPileUp(){
457 return ((SelectInfo()&kIsPileUp)==kIsPileUp);
461 Bool_t AliAnalysisHelperJetTasks::TestSelectInfo(UInt_t iMask){
462 return ((SelectInfo()&iMask)==iMask);
466 UInt_t AliAnalysisHelperJetTasks::SelectInfo(Bool_t bSet,UInt_t iNew){
467 static UInt_t iSelectInfo = 0; //
475 //___________________________________________________________________________________________________________
477 Bool_t AliAnalysisHelperJetTasks::GetEventShapes(TVector3 &n01, TVector3 * pTrack, Int_t nTracks, Double_t * eventShapes)
480 // Event shape calculation
481 // sona.pochybova@cern.ch
483 const Int_t kTracks = 1000;
484 if(nTracks>kTracks)return kFALSE;
486 //variables for thrust calculation
487 TVector3 pTrackPerp[kTracks];
495 Double_t psum102 = 0;
496 Double_t psum103 = 0;
498 Double_t thrust[kTracks];
500 Double_t thrust02[kTracks];
502 Double_t thrust03[kTracks];
505 //Sphericity calculation variables
524 //loop for thrust calculation
527 for(Int_t i = 0; i < nTracks; i++)
529 pTrackPerp[i].SetXYZ(pTrack[i].X(), pTrack[i].Y(), 0);
530 psum2 += pTrackPerp[i].Mag();
533 //additional starting axis
535 n02 = pTrack[1].Unit();
538 n03 = pTrack[2].Unit();
541 //switches for calculating thrust for different starting points
546 //indexes for iteration of different starting points
551 //maximal number of iterations
552 // Int_t nMaxIter = 100;
554 for(Int_t k = 0; k < nTracks; k++)
558 psum.SetXYZ(0., 0., 0.);
560 for(Int_t i = 0; i < nTracks; i++)
562 psum1 += (TMath::Abs(n01.Dot(pTrackPerp[i])));
563 if (n01.Dot(pTrackPerp[i]) > 0) psum += pTrackPerp[i];
564 if (n01.Dot(pTrackPerp[i]) < 0) psum -= pTrackPerp[i];
566 thrust[l1] = psum1/psum2;
570 psum02.SetXYZ(0., 0., 0.);
572 for(Int_t i = 0; i < nTracks; i++)
574 psum102 += (TMath::Abs(n02.Dot(pTrackPerp[i])));
575 if (n02.Dot(pTrackPerp[i]) > 0) psum02 += pTrackPerp[i];
576 if (n02.Dot(pTrackPerp[i]) < 0) psum02 -= pTrackPerp[i];
578 thrust02[l2] = psum102/psum2;
582 psum03.SetXYZ(0., 0., 0.);
584 for(Int_t i = 0; i < nTracks; i++)
586 psum103 += (TMath::Abs(n03.Dot(pTrackPerp[i])));
587 if (n03.Dot(pTrackPerp[i]) > 0) psum03 += pTrackPerp[i];
588 if (n03.Dot(pTrackPerp[i]) < 0) psum03 -= pTrackPerp[i];
590 thrust03[l3] = psum103/psum2;
593 //check whether thrust value converged
594 if(TMath::Abs(th-thrust[l1]) < 10e-7){
598 if(TMath::Abs(th02-thrust02[l2]) < 10e-7){
602 if(TMath::Abs(th03-thrust03[l3]) < 10e-7){
606 //if it didn't, continue with the calculation
625 //if thrust values for all starting direction converged check if to the same value
626 if(switch2 == 0 && switch1 == 0 && switch3 == 0){
627 if(TMath::Abs(th-th02) < 10e-7 && TMath::Abs(th-th03) < 10e-7 && TMath::Abs(th02-th03) < 10e-7){
629 AliInfoGeneral(Form(" %s:%d",(char*)__FILE__,__LINE__),Form("===== THRUST VALUE FOUND AT %d :: %f\n", k, th));
632 //if they did not, reset switches
643 // Printf("========== %d +++ th :: %f=============\n", l1, th);
644 // Printf("========== %d +++ th2 :: %f=============\n", l2, th02);
645 // Printf("========== %d +++ th3 :: %f=============\n", l3, th03);
649 //if no common limitng value was found, take the maximum and take the corresponding thrust axis
650 if(switch1 == 1 && switch2 == 1 && switch3 == 1){
651 eventShapes[0] = TMath::Max(thrust[l1-1], thrust02[l2-1]);
652 eventShapes[0] = TMath::Max(eventShapes[0], thrust03[l3-1]);
653 if(TMath::Abs(eventShapes[0]-thrust[l1-1]) < 10e-7)
655 if(TMath::Abs(eventShapes[0]-thrust02[l2-1]) < 10e-7)
657 if(TMath::Abs(eventShapes[0]-thrust03[l3-1]) < 10e-7)
659 Printf("NO LIMITING VALUE FOUND :: MAXIMUM = %f\n", eventShapes[0]);
663 //other event shapes variables
665 for(Int_t j = 0; j < nTracks; j++)
667 s00 = s00 + (pTrack[j].Px()*pTrack[j].Px())/pTrack[j].Mag();
668 s01 = s01 + (pTrack[j].Px()*pTrack[j].Py())/pTrack[j].Mag();
669 s02 = s02 + (pTrack[j].Px()*pTrack[j].Pz())/pTrack[j].Mag();
671 s10 = s10 + (pTrack[j].Py()*pTrack[j].Px())/pTrack[j].Mag();
672 s11 = s11 + (pTrack[j].Py()*pTrack[j].Py())/pTrack[j].Mag();
673 s12 = s12 + (pTrack[j].Py()*pTrack[j].Pz())/pTrack[j].Mag();
675 s20 = s20 + (pTrack[j].Pz()*pTrack[j].Px())/pTrack[j].Mag();
676 s21 = s21 + (pTrack[j].Pz()*pTrack[j].Py())/pTrack[j].Mag();
677 s22 = s22 + (pTrack[j].Pz()*pTrack[j].Pz())/pTrack[j].Mag();
679 ptot += pTrack[j].Mag();
696 TMatrixDSymEigen eigen(m);
697 TVectorD eigenVal = eigen.GetEigenValues();
699 Double_t sphericity = (3/2)*(eigenVal(2)+eigenVal(1));
700 eventShapes[1] = sphericity;
702 Double_t aplanarity = (3/2)*(eigenVal(2));
703 eventShapes[2] = aplanarity;
705 c = 3*(eigenVal(0)*eigenVal(1)+eigenVal(0)*eigenVal(2)+eigenVal(1)*eigenVal(2));
713 //__________________________________________________________________________________________________________________________
714 // Trigger Decisions copid from PWG0/AliTriggerAnalysis
717 Bool_t AliAnalysisHelperJetTasks::IsTriggerFired(const AliVEvent* aEv, Trigger trigger)
719 // checks if an event has been triggered
720 // no usage of ofline trigger here yet
722 // here we do a dirty hack to take also into account the
723 // missing trigger bits and Bunch crossing paatern for real data
726 if(aEv->InheritsFrom("AliESDEvent")){
727 const AliESDEvent *esd = (AliESDEvent*)aEv;
737 if(esd->GetFiredTriggerClasses().Contains("CINT1B-"))return kTRUE;
738 // does the same but without or'ed V0s
739 if(esd->GetFiredTriggerClasses().Contains("CSMBB"))return kTRUE;
740 if(esd->GetFiredTriggerClasses().Contains("CINT6B-"))return kTRUE;
741 // this is for simulated data
742 if(esd->GetFiredTriggerClasses().Contains("MB1"))return kTRUE;
747 if(esd->GetFiredTriggerClasses().Contains("MB2"))return kTRUE;
752 if(esd->GetFiredTriggerClasses().Contains("MB3"))return kTRUE;
757 if(esd->GetFiredTriggerClasses().Contains("CSMBB"))return kTRUE;
758 if(esd->GetFiredTriggerClasses().Contains("CINT6B-"))return kTRUE;
759 if(esd->GetFiredTriggerClasses().Contains("GFO"))return kTRUE;
764 Printf("IsEventTriggered: ERROR: Trigger type %d not implemented in this method", (Int_t) trigger);
769 else if(aEv->InheritsFrom("AliAODEvent")){
770 const AliAODEvent *aod = (AliAODEvent*)aEv;
780 if(aod->GetFiredTriggerClasses().Contains("CINT1B"))return kTRUE;
781 // does the same but without or'ed V0s
782 if(aod->GetFiredTriggerClasses().Contains("CSMBB"))return kTRUE;
784 if(aod->GetFiredTriggerClasses().Contains("MB1"))return kTRUE;
789 if(aod->GetFiredTriggerClasses().Contains("MB2"))return kTRUE;
794 if(aod->GetFiredTriggerClasses().Contains("MB3"))return kTRUE;
799 if(aod->GetFiredTriggerClasses().Contains("CSMBB"))return kTRUE;
800 if(aod->GetFiredTriggerClasses().Contains("GFO"))return kTRUE;
805 Printf("IsEventTriggered: ERROR: Trigger type %d not implemented in this method", (Int_t) trigger);
814 AliAnalysisHelperJetTasks::MCProcessType AliAnalysisHelperJetTasks::GetPythiaEventProcessType(AliGenEventHeader* aHeader, Bool_t adebug) {
816 AliGenPythiaEventHeader* pythiaGenHeader = dynamic_cast<AliGenPythiaEventHeader*>(aHeader);
818 if (!pythiaGenHeader) {
819 // printf(" AliAnalysisHelperJetTasks::GetProcessType : Unknown gen Header type). \n");
820 return kInvalidProcess;
824 Int_t pythiaType = pythiaGenHeader->ProcessType();
825 fgLastProcessType = pythiaType;
826 MCProcessType globalType = kInvalidProcess;
830 printf(" AliAnalysisHelperJetTasks::GetProcessType : Pythia process type found: %d \n",pythiaType);
834 if(pythiaType==92||pythiaType==93){
837 else if(pythiaType==94){
840 //else if(pythiaType != 91){ // also exclude elastic to be sure... CKB??
848 AliAnalysisHelperJetTasks::MCProcessType AliAnalysisHelperJetTasks::GetDPMjetEventProcessType(AliGenEventHeader* aHeader, Bool_t adebug) {
850 // get the process type of the event.
853 // can only read pythia headers, either directly or from cocktalil header
854 AliGenDPMjetEventHeader* dpmJetGenHeader = dynamic_cast<AliGenDPMjetEventHeader*>(aHeader);
856 if (!dpmJetGenHeader) {
857 printf(" AliAnalysisHelperJetTasks::GetDPMjetProcessType : Unknown header type (not DPMjet or). \n");
858 return kInvalidProcess;
861 Int_t dpmJetType = dpmJetGenHeader->ProcessType();
862 fgLastProcessType = dpmJetType;
863 MCProcessType globalType = kInvalidProcess;
867 printf(" AliAnalysisHelperJetTasks::GetDPMJetProcessType : DPMJet process type found: %d \n",dpmJetType);
871 if (dpmJetType == 1 || dpmJetType == 4) { // explicitly inelastic plus central diffraction
874 else if (dpmJetType==5 || dpmJetType==6) {
877 else if (dpmJetType==7) {