1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
17 //_________________________________________________________________________
18 // Class for reading data (Kinematics) in order to do prompt gamma
19 // or other particle identification and correlations
20 // Separates generated particles into charged (CTS)
21 // and neutral (PHOS or EMCAL acceptance)
23 //*-- Author: Gustavo Conesa (LNF-INFN)
24 //////////////////////////////////////////////////////////////////////////////
27 // --- ROOT system ---
29 #include <TParticle.h>
30 #include <TDatabasePDG.h>
33 #include "TParticle.h"
34 //#include "Riostream.h"
36 //---- ANALYSIS system ----
37 #include "AliCaloTrackMCReader.h"
38 #include "AliGenEventHeader.h"
40 #include "AliVCluster.h"
41 #include "AliAODTrack.h"
42 #include "AliAODEvent.h"
43 #include "AliFiducialCut.h"
44 #include "AliMCAnalysisUtils.h"
46 ClassImp(AliCaloTrackMCReader)
48 //____________________________________________________________________________
49 AliCaloTrackMCReader::AliCaloTrackMCReader() :
50 AliCaloTrackReader(), fDecayPi0(0),
51 fNeutralParticlesArray(0x0), fChargedParticlesArray(0x0),
52 fStatusArray(0x0), fKeepAllStatus(0), fCheckOverlap(0),
53 fEMCALOverlapAngle(0),fPHOSOverlapAngle(0), fIndex2ndPhoton(0)
57 //Initialize parameters
61 fReadAODMCParticles = kFALSE;
65 //____________________________________________________________________________
66 AliCaloTrackMCReader::AliCaloTrackMCReader(const AliCaloTrackMCReader & g) :
67 AliCaloTrackReader(g), fDecayPi0(g.fDecayPi0),
68 fNeutralParticlesArray(g.fNeutralParticlesArray?new TArrayI(*g.fNeutralParticlesArray):0x0),
69 fChargedParticlesArray(g.fChargedParticlesArray?new TArrayI(*g.fChargedParticlesArray):0x0),
70 fStatusArray(g.fStatusArray?new TArrayI(*g.fStatusArray):0x0),
71 fKeepAllStatus(g.fKeepAllStatus), fCheckOverlap(g.fCheckOverlap),
72 fEMCALOverlapAngle( g.fEMCALOverlapAngle), fPHOSOverlapAngle(g.fPHOSOverlapAngle),
73 fIndex2ndPhoton(g.fIndex2ndPhoton)
78 //_________________________________________________________________________
79 //AliCaloTrackMCReader & AliCaloTrackMCReader::operator = (const AliCaloTrackMCReader & source)
81 // // assignment operator
83 // if(&source == this) return *this;
85 // fDecayPi0 = source.fDecayPi0;
87 // delete fChargedParticlesArray;
88 // fChargedParticlesArray = source.fChargedParticlesArray?new TArrayI(*source.fChargedParticlesArray):0x0;
90 // delete fNeutralParticlesArray;
91 // fNeutralParticlesArray = source.fNeutralParticlesArray?new TArrayI(*source.fNeutralParticlesArray):0x0;
93 // delete fStatusArray;
94 // fStatusArray = source.fStatusArray?new TArrayI(*source.fStatusArray):0x0;
96 // fKeepAllStatus = source.fKeepAllStatus ;
102 //_________________________________
103 AliCaloTrackMCReader::~AliCaloTrackMCReader() {
106 if(fChargedParticlesArray) delete fChargedParticlesArray ;
107 if(fNeutralParticlesArray) delete fNeutralParticlesArray ;
108 if(fStatusArray) delete fStatusArray ;
112 //____________________________________________________________________________
113 void AliCaloTrackMCReader::GetVertex(Double_t v[3]) const {
114 //Return vertex position
117 GetGenEventHeader()->PrimaryVertex(pv);
125 //_______________________________________________________________
126 void AliCaloTrackMCReader::InitParameters()
129 //Initialize the parameters of the analysis.
133 fChargedParticlesArray = new TArrayI(1);
134 fChargedParticlesArray->SetAt(11,0);
135 //Int_t pdgarray[]={12,14,16};// skip neutrinos
136 //fNeutralParticlesArray = new TArrayI(3, pdgarray);
137 fNeutralParticlesArray = new TArrayI(3);
138 fNeutralParticlesArray->SetAt(12,0); fNeutralParticlesArray->SetAt(14,1); fNeutralParticlesArray->SetAt(16,2);
139 fStatusArray = new TArrayI(1);
140 fStatusArray->SetAt(1,0);
142 fKeepAllStatus = kTRUE;
144 fCheckOverlap = kFALSE;
145 fEMCALOverlapAngle = 2.5 * TMath::DegToRad();
146 fPHOSOverlapAngle = 0.5 * TMath::DegToRad();
147 fIndex2ndPhoton = -1;
149 //____________________________________________________________________________
150 void AliCaloTrackMCReader::CheckOverlap(const Float_t anglethres, const Int_t imom, Int_t & iPrimary, Int_t & index, TLorentzVector & mom, Int_t & pdg) {
151 //Check overlap of decay photons
152 if( fIndex2ndPhoton==iPrimary ){
156 else fIndex2ndPhoton=-1;
161 TLorentzVector ph1, ph2;
162 TParticle *meson = GetStack()->Particle(imom);
163 Int_t mepdg = meson->GetPdgCode();
164 Int_t idaug1 = meson->GetFirstDaughter();
165 if((mepdg == 111 || mepdg == 221 ) && meson->GetNDaughters() == 2){ //Check only decay in 2 photons
166 TParticle * d1 = GetStack()->Particle(idaug1);
167 TParticle *d2 = GetStack()->Particle(idaug1+1);
168 if(d1->GetPdgCode() == 22 && d2->GetPdgCode() == 22 ){
171 //printf("angle %2.2f\n",ph1.Angle(ph2.Vect()));
173 if(anglethres > ph1.Angle(ph2.Vect())){
177 meson->Momentum(mom);
178 //printf("Overlap:: pt %2.2f, phi %2.2f, eta %2.2f\n",mom.Pt(),mom.Phi(),mom.Eta());
179 if(iPrimary == idaug1) iPrimary++; //skip next photon in list
182 //Do not check overlapping for next decay photon from same meson
183 if(iPrimary == idaug1) {fIndex2ndPhoton = idaug1+1;
188 }//Meson Decay with 2 photon daughters
191 //____________________________________________________________________________
192 void AliCaloTrackMCReader::FillCalorimeters(Int_t & iParticle, TParticle* particle, TLorentzVector momentum) {
193 //Fill AODCaloClusters or TParticles lists of PHOS or EMCAL
195 if(fFillPHOS && momentum.Pt() > fPHOSPtMin){
197 if(fCheckFidCut && !fFiducialCut->IsInFiducialCut(momentum,"PHOS")) return;
199 Int_t index = iParticle ;
200 Int_t pdg = TMath::Abs(particle->GetPdgCode());
202 CheckOverlap(fPHOSOverlapAngle,particle->GetFirstMother(),index, iParticle, momentum, pdg);
204 Char_t ttype= AliVCluster::kPHOSNeutral;
205 Int_t labels[] = {index};
206 Float_t x[] = {momentum.X(), momentum.Y(), momentum.Z()};
207 //Create object and write it to file
208 AliAODCaloCluster *calo = new AliAODCaloCluster(index,1,labels,momentum.E(), x, NULL, ttype, 0);
210 SetCaloClusterPID(pdg,calo) ;
211 if(fDebug > 3 && momentum.Pt() > 0.2)
212 printf("AliCaloTrackMCReader::FillCalorimeters() - PHOS : Selected cluster %s E %3.2f, pt %3.2f, phi %3.2f, eta %3.2f\n",
213 particle->GetName(),momentum.E(),momentum.Pt(),momentum.Phi()*TMath::RadToDeg(),momentum.Eta());
214 fAODPHOS->Add(calo);//reference the selected object to the list
218 if(fFillEMCAL && momentum.Pt() > fEMCALPtMin){
220 if(fCheckFidCut && !fFiducialCut->IsInFiducialCut(momentum,"EMCAL")) return;
222 Int_t index = iParticle ;
223 Int_t pdg = TMath::Abs(particle->GetPdgCode());
226 CheckOverlap(fEMCALOverlapAngle,particle->GetFirstMother(),iParticle, index, momentum, pdg);
228 Char_t ttype= AliVCluster::kEMCALClusterv1;
229 Int_t labels[] = {index};
230 Float_t x[] = {momentum.X(), momentum.Y(), momentum.Z()};
231 //Create object and write it to file
232 AliAODCaloCluster *calo = new AliAODCaloCluster(iParticle,1,labels,momentum.E(), x, NULL, ttype, 0);
234 SetCaloClusterPID(pdg,calo) ;
235 if(fDebug > 3 && momentum.Pt() > 0.2)
236 printf("AliCaloTrackMCReader::FillCalorimeters() - EMCAL : Selected cluster %s E %3.2f, pt %3.2f, phi %3.2f, eta %3.2f\n",
237 particle->GetName(),momentum.E(),momentum.Pt(),momentum.Phi()*TMath::RadToDeg(),momentum.Eta());
238 fAODEMCAL->Add(calo);//reference the selected object to the list
242 //____________________________________________________________________________
243 Bool_t AliCaloTrackMCReader::FillInputEvent(const Int_t iEntry, const char * currentFileName){
244 //Fill the event counter and input lists that are needed, called by the analysis maker.
246 fEventNumber = iEntry;
247 fCurrentFileName = TString(currentFileName);
249 //In case of analysis of events with jets, skip those with jet pt > 5 pt hard
250 if(fComparePtHardAndJetPt && GetStack()) {
251 if(!ComparePtHardAndJetPt()) return kFALSE ;
254 Int_t iParticle = 0 ;
255 Double_t charge = 0.;
257 for (iParticle = 0 ; iParticle < GetStack()->GetNtrack() ; iParticle++) {
258 TParticle * particle = GetStack()->Particle(iParticle);
259 TLorentzVector momentum;
262 Int_t pdg = particle->GetPdgCode();
264 //Keep particles with a given status
265 if(KeepParticleWithStatus(particle->GetStatusCode()) && (particle->Pt() > 0) ){
267 //Skip bizarre particles, they crash when charge is calculated
268 // if(TMath::Abs(pdg) == 3124 || TMath::Abs(pdg) > 10000000) continue ;
270 charge = TDatabasePDG::Instance()->GetParticle(pdg)->Charge();
271 particle->Momentum(momentum);
272 //---------- Charged particles ----------------------
274 if(fFillCTS && (momentum.Pt() > fCTSPtMin)){
275 //Particles in CTS acceptance
277 if(fCheckFidCut && !fFiducialCut->IsInFiducialCut(momentum,"CTS")) continue;
279 if(fDebug > 3 && momentum.Pt() > 0.2)
280 printf("AliCaloTrackMCReader::FillInputEvent() - CTS : Selected tracks E %3.2f, pt %3.2f, phi %3.2f, eta %3.2f\n",
281 momentum.E(),momentum.Pt(),momentum.Phi()*TMath::RadToDeg(),momentum.Eta());
283 x[0] = particle->Vx(); x[1] = particle->Vy(); x[2] = particle->Vz();
284 p[0] = particle->Px(); p[1] = particle->Py(); p[2] = particle->Pz();
285 //Create object and write it to file
286 AliAODTrack *aodTrack = new AliAODTrack(0, iParticle, p, kTRUE, x, kFALSE,NULL, 0, 0,
289 kFALSE, // No fit performed
290 kFALSE, // No fit performed
291 AliAODTrack::kPrimary,
293 SetTrackChargeAndPID(pdg, aodTrack);
294 fAODCTS->Add(aodTrack);//reference the selected object to the list
296 //Keep some charged particles in calorimeters lists
297 if((fFillPHOS || fFillEMCAL) && KeepChargedParticles(pdg)) FillCalorimeters(iParticle, particle, momentum);
301 //-------------Neutral particles ----------------------
302 else if(charge == 0 && (fFillPHOS || fFillEMCAL)){
303 //Skip neutrinos or other neutral particles
304 //if(SkipNeutralParticles(pdg) || particle->IsPrimary()) continue ; // protection added (MG)
305 if(SkipNeutralParticles(pdg)) continue ;
306 //Fill particle/calocluster arrays
308 FillCalorimeters(iParticle, particle, momentum);
311 //Sometimes pi0 are stable for the generator, if needed decay it by hand
313 if(momentum.Pt() > fPHOSPtMin || momentum.Pt() > fEMCALPtMin){
314 TLorentzVector lvGamma1, lvGamma2 ;
315 //Double_t angle = 0;
318 MakePi0Decay(momentum,lvGamma1,lvGamma2);//,angle);
320 //Check if Pi0 is in the acceptance of the calorimeters, if aperture angle is small, keep it
321 TParticle * pPhoton1 = new TParticle(22,1,iParticle,0,0,0,lvGamma1.Px(),lvGamma1.Py(),
322 lvGamma1.Pz(),lvGamma1.E(),0,0,0,0);
323 TParticle * pPhoton2 = new TParticle(22,1,iParticle,0,0,0,lvGamma2.Px(),lvGamma2.Py(),
324 lvGamma2.Pz(),lvGamma2.E(),0,0,0,0);
325 //Fill particle/calocluster arrays
326 FillCalorimeters(iParticle,pPhoton1,lvGamma1);
327 FillCalorimeters(iParticle,pPhoton2,lvGamma2);
330 else FillCalorimeters(iParticle,particle, momentum); //Add the rest
333 } //particle with correct status
336 fIndex2ndPhoton = -1; //In case of overlapping studies, reset for each event
342 //________________________________________________________________
343 Bool_t AliCaloTrackMCReader::KeepParticleWithStatus(Int_t status) const {
344 //Check if status is equal to one of the list
345 //These particles will be used in analysis.
347 for(Int_t i= 0; i < fStatusArray->GetSize(); i++)
348 if(status == fStatusArray->At(i)) return kTRUE ;
357 //________________________________________________________________
358 Bool_t AliCaloTrackMCReader::KeepChargedParticles(Int_t pdg) const {
359 //Check if pdg is equal to one of the charged particles list
360 //These particles will be added to the calorimeters lists.
362 for(Int_t i= 0; i < fChargedParticlesArray->GetSize(); i++)
363 if(TMath::Abs(pdg) == fChargedParticlesArray->At(i)) return kTRUE ;
369 //________________________________________________________________
370 void AliCaloTrackMCReader::Print(const Option_t * opt) const
372 //Print some relevant parameters set for the analysis
376 AliCaloTrackReader::Print(opt);
378 printf("**** Print **** %s %s ****\n", GetName(), GetTitle() ) ;
380 printf("Decay Pi0? : %d\n", fDecayPi0) ;
381 printf("Check Overlap in Calo? : %d\n", fCheckOverlap) ;
382 printf("Keep all status? : %d\n", fKeepAllStatus) ;
384 if(!fKeepAllStatus) printf("Keep particles with status : ");
385 for(Int_t i= 0; i < fStatusArray->GetSize(); i++)
386 printf(" %d ; ", fStatusArray->At(i));
389 printf("Skip neutral particles in calo : ");
390 for(Int_t i= 0; i < fNeutralParticlesArray->GetSize(); i++)
391 printf(" %d ; ", fNeutralParticlesArray->At(i));
394 printf("Keep charged particles in calo : ");
395 for(Int_t i= 0; i < fChargedParticlesArray->GetSize(); i++)
396 printf(" %d ; ", fChargedParticlesArray->At(i));
401 //____________________________________________________________________________
402 void AliCaloTrackMCReader::MakePi0Decay(TLorentzVector &p0, TLorentzVector &p1,
403 TLorentzVector &p2) const {//, Double_t &angle) {
404 // Perform isotropic decay pi0 -> 2 photons
405 // p0 is pi0 4-momentum (inut)
406 // p1 and p2 are photon 4-momenta (output)
407 // cout<<"Boost vector"<<endl;
408 Double_t mPi0 = TDatabasePDG::Instance()->GetParticle(111)->Mass();
409 TVector3 b = p0.BoostVector();
410 //cout<<"Parameters"<<endl;
411 //Double_t mPi0 = p0.M();
412 Double_t phi = TMath::TwoPi() * gRandom->Rndm();
413 Double_t cosThe = 2 * gRandom->Rndm() - 1;
414 Double_t cosPhi = TMath::Cos(phi);
415 Double_t sinPhi = TMath::Sin(phi);
416 Double_t sinThe = TMath::Sqrt(1-cosThe*cosThe);
417 Double_t ePi0 = mPi0/2.;
418 //cout<<"ePi0 "<<ePi0<<endl;
419 //cout<<"Components"<<endl;
420 p1.SetPx(+ePi0*cosPhi*sinThe);
421 p1.SetPy(+ePi0*sinPhi*sinThe);
422 p1.SetPz(+ePi0*cosThe);
424 //cout<<"p1: "<<p1.Px()<<" "<<p1.Py()<<" "<<p1.Pz()<<" "<<p1.E()<<endl;
425 //cout<<"p1 Mass: "<<p1.Px()*p1.Px()+p1.Py()*p1.Py()+p1.Pz()*p1.Pz()-p1.E()*p1.E()<<endl;
426 p2.SetPx(-ePi0*cosPhi*sinThe);
427 p2.SetPy(-ePi0*sinPhi*sinThe);
428 p2.SetPz(-ePi0*cosThe);
430 //cout<<"p2: "<<p2.Px()<<" "<<p2.Py()<<" "<<p2.Pz()<<" "<<p2.E()<<endl;
431 //cout<<"p2 Mass: "<<p2.Px()*p2.Px()+p2.Py()*p2.Py()+p2.Pz()*p2.Pz()-p2.E()*p2.E()<<endl;
432 //cout<<"Boost "<<b.X()<<" "<<b.Y()<<" "<<b.Z()<<endl;
434 //cout<<"p1: "<<p1.Px()<<" "<<p1.Py()<<" "<<p1.Pz()<<" "<<p1.E()<<endl;
436 //cout<<"p2: "<<p2.Px()<<" "<<p2.Py()<<" "<<p2.Pz()<<" "<<p2.E()<<endl;
437 //cout<<"angle"<<endl;
438 //angle = p1.Angle(p2.Vect());
442 //____________________________________________________________________________
443 void AliCaloTrackMCReader::SetInputOutputMCEvent(AliVEvent* /*esd*/, AliAODEvent* aod, AliMCEvent* mc) {
444 // Connect the data pointer
450 //________________________________________________________________
451 Bool_t AliCaloTrackMCReader::SkipNeutralParticles(Int_t pdg) const {
452 //Check if pdg is equal to one of the neutral particles list
453 //These particles will be skipped from analysis.
455 for(Int_t i= 0; i < fNeutralParticlesArray->GetSize(); i++)
456 if(TMath::Abs(pdg) == fNeutralParticlesArray->At(i)) return kTRUE ;
463 //____________________________________________________________________
464 void AliCaloTrackMCReader::SetTrackChargeAndPID(const Int_t pdgCode, AliAODTrack *track) const {
465 //Give a PID weight for tracks equal to 1 depending on the particle type
467 Float_t pid[10] = {0., 0., 0., 0., 0., 0., 0., 0., 0., 0.};
473 pid[AliAODTrack::kUnknown] = 1.;
478 track->SetCharge(-1);
479 pid[AliAODTrack::kElectron] = 1.;
484 track->SetCharge(+1);
485 pid[AliAODTrack::kElectron] = 1.;
490 track->SetCharge(-1);
491 pid[AliAODTrack::kMuon] = 1.;
496 track->SetCharge(+1);
497 pid[AliAODTrack::kMuon] = 1.;
503 pid[AliAODTrack::kUnknown] = 1.;
508 track->SetCharge(+1);
509 pid[AliAODTrack::kPion] = 1.;
514 track->SetCharge(-1);
515 pid[AliAODTrack::kPion] = 1.;
521 pid[AliAODTrack::kUnknown] = 1.;
526 track->SetCharge(+1);
527 pid[AliAODTrack::kKaon] = 1.;
532 track->SetCharge(-1);
533 pid[AliAODTrack::kKaon] = 1.;
539 pid[AliAODTrack::kUnknown] = 1.;
544 track->SetCharge(+1);
545 pid[AliAODTrack::kProton] = 1.;
549 case -2212: // anti-p
550 track->SetCharge(-1);
551 pid[AliAODTrack::kProton] = 1.;
557 pid[AliAODTrack::kUnknown] = 1.;
563 pid[AliAODTrack::kUnknown] = 1.;
567 case -311: // anti-K0
569 pid[AliAODTrack::kUnknown] = 1.;
575 pid[AliAODTrack::kUnknown] = 1.;
581 pid[AliAODTrack::kUnknown] = 1.;
586 track->SetCharge(+1);
587 pid[AliAODTrack::kUnknown] = 1.;
592 track->SetCharge(-1);
593 pid[AliAODTrack::kUnknown] = 1.;
598 track->SetCharge(-1);
599 pid[AliAODTrack::kUnknown] = 1.;
605 pid[AliAODTrack::kUnknown] = 1.;
610 track->SetCharge(-1);
611 pid[AliAODTrack::kUnknown] = 1.;
616 track->SetCharge(-1);
617 pid[AliAODTrack::kUnknown] = 1.;
623 pid[AliAODTrack::kUnknown] = 1.;
627 case -3122: // anti-Lambda
629 pid[AliAODTrack::kUnknown] = 1.;
633 case -3222: // anti-Sigma-
634 track->SetCharge(-1);
635 pid[AliAODTrack::kUnknown] = 1.;
639 case -3212: // anti-Sigma0
641 pid[AliAODTrack::kUnknown] = 1.;
645 case -3112: // anti-Sigma+
646 track->SetCharge(+1);
647 pid[AliAODTrack::kUnknown] = 1.;
651 case -3322: // anti-Xi0
653 pid[AliAODTrack::kUnknown] = 1.;
657 case -3312: // anti-Xi+
658 track->SetCharge(+1);
661 case -3334: // anti-Omega+
662 track->SetCharge(+1);
663 pid[AliAODTrack::kUnknown] = 1.;
668 track->SetCharge(+1);
669 pid[AliAODTrack::kUnknown] = 1.;
674 track->SetCharge(-1);
675 pid[AliAODTrack::kUnknown] = 1.;
681 pid[AliAODTrack::kUnknown] = 1.;
685 case -421: // anti-D0
687 pid[AliAODTrack::kUnknown] = 1.;
692 track->SetCharge(-99);
693 pid[AliAODTrack::kUnknown] = 1.;
702 //____________________________________________________________________
703 void AliCaloTrackMCReader::SetCaloClusterPID(const Int_t pdgCode, AliVCluster *calo) const {
704 //Give a PID weight for CaloClusters equal to 1 depending on the particle type
706 Float_t pid[13] = {0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.};
711 pid[AliVCluster::kPhoton] = 1.;
716 pid[AliVCluster::kElectron] = 1.;
721 pid[AliVCluster::kElectron] = 1.;
726 pid[AliVCluster::kCharged] = 1.;
731 pid[AliVCluster::kCharged] = 1.;
736 pid[AliVCluster::kPi0] = 1.;
741 pid[AliVCluster::kCharged] = 1.;
746 pid[AliVCluster::kCharged] = 1.;
751 pid[AliVCluster::kKaon0] = 1.;
752 pid[AliVCluster::kNeutral] = 1;
757 pid[AliVCluster::kCharged] = 1.;
762 pid[AliVCluster::kCharged] = 1.;
767 pid[AliVCluster::kNeutron] = 1.;
768 pid[AliVCluster::kNeutral] = 1.;
773 pid[AliVCluster::kCharged] = 1.;
777 case -2212: // anti-p
778 pid[AliVCluster::kCharged] = 1.;
783 pid[AliVCluster::kKaon0] = 1.;
784 pid[AliVCluster::kNeutral] = 1.;
789 pid[AliVCluster::kKaon0] = 1.;
790 pid[AliVCluster::kNeutral] = 1.;
794 case -311: // anti-K0
795 pid[AliVCluster::kKaon0] = 1.;
796 pid[AliVCluster::kNeutral] = 1.;
801 pid[AliVCluster::kNeutral] = 1.;
806 pid[AliVCluster::kUnknown] = 1.;
811 pid[AliVCluster::kUnknown] = 1.;
816 pid[AliVCluster::kUnknown] = 1.;
821 pid[AliVCluster::kUnknown] = 1.;
826 pid[AliVCluster::kUnknown] = 1.;
831 pid[AliVCluster::kUnknown] = 1.;
836 pid[AliVCluster::kUnknown] = 1.;
841 pid[AliVCluster::kNeutron] = 1.;
842 pid[AliVCluster::kNeutral] = 1.;
846 case -3122: // anti-Lambda
847 pid[AliVCluster::kUnknown] = 1.;
851 case -3222: // anti-Sigma-
852 pid[AliVCluster::kUnknown] = 1.;
856 case -3212: // anti-Sigma0
857 pid[AliVCluster::kUnknown] = 1.;
861 case -3112: // anti-Sigma+
862 pid[AliVCluster::kUnknown] = 1.;
866 case -3322: // anti-Xi0
867 pid[AliVCluster::kUnknown] = 1.;
871 case -3312: // anti-Xi+
872 pid[AliVCluster::kUnknown] = 1.;
876 case -3334: // anti-Omega+
877 pid[AliVCluster::kUnknown] = 1.;
882 pid[AliVCluster::kUnknown] = 1.;
887 pid[AliVCluster::kUnknown] = 1.;
892 pid[AliVCluster::kUnknown] = 1.;
896 case -421: // anti-D0
897 pid[AliVCluster::kUnknown] = 1.;
902 pid[AliVCluster::kUnknown] = 1.;