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
21 //*-- Author: Gustavo Conesa (LNF-INFN)
22 //////////////////////////////////////////////////////////////////////////////
25 // --- ROOT system ---
27 #include <TParticle.h>
28 #include <TDatabasePDG.h>
31 //#include "Riostream.h"
33 //---- ANALYSIS system ----
34 #include "AliCaloTrackMCReader.h"
35 #include "AliGenEventHeader.h"
37 #include "AliAODCaloCluster.h"
38 #include "AliAODTrack.h"
39 #include "AliFidutialCut.h"
40 #include "AliAODEvent.h"
41 #include "TParticle.h"
43 ClassImp(AliCaloTrackMCReader)
45 //____________________________________________________________________________
46 AliCaloTrackMCReader::AliCaloTrackMCReader() :
47 AliCaloTrackReader(), fDecayPi0(0),
48 fNeutralParticlesArray(0x0), fChargedParticlesArray(0x0),
49 fStatusArray(0x0), fKeepAllStatus(0), fCheckOverlap(0),
50 fEMCALOverlapAngle(0),fPHOSOverlapAngle(0), fIndex2ndPhoton(0)
54 //Initialize parameters
60 //____________________________________________________________________________
61 AliCaloTrackMCReader::AliCaloTrackMCReader(const AliCaloTrackMCReader & g) :
62 AliCaloTrackReader(g), fDecayPi0(g.fDecayPi0),
63 fNeutralParticlesArray(g.fNeutralParticlesArray?new TArrayI(*g.fNeutralParticlesArray):0x0),
64 fChargedParticlesArray(g.fChargedParticlesArray?new TArrayI(*g.fChargedParticlesArray):0x0),
65 fStatusArray(g.fStatusArray?new TArrayI(*g.fStatusArray):0x0),
66 fKeepAllStatus(g.fKeepAllStatus), fCheckOverlap(g.fCheckOverlap),
67 fEMCALOverlapAngle( g.fEMCALOverlapAngle), fPHOSOverlapAngle(g.fPHOSOverlapAngle),
68 fIndex2ndPhoton(g.fIndex2ndPhoton)
73 //_________________________________________________________________________
74 AliCaloTrackMCReader & AliCaloTrackMCReader::operator = (const AliCaloTrackMCReader & source)
76 // assignment operator
78 if(&source == this) return *this;
80 fDecayPi0 = source.fDecayPi0;
82 delete fChargedParticlesArray;
83 fChargedParticlesArray = source.fChargedParticlesArray?new TArrayI(*source.fChargedParticlesArray):0x0;
85 delete fNeutralParticlesArray;
86 fNeutralParticlesArray = source.fNeutralParticlesArray?new TArrayI(*source.fNeutralParticlesArray):0x0;
89 fStatusArray = source.fStatusArray?new TArrayI(*source.fStatusArray):0x0;
91 fKeepAllStatus = source.fKeepAllStatus ;
97 //_________________________________
98 AliCaloTrackMCReader::~AliCaloTrackMCReader() {
101 if(fChargedParticlesArray) delete fChargedParticlesArray ;
102 if(fNeutralParticlesArray) delete fNeutralParticlesArray ;
103 if(fStatusArray) delete fStatusArray ;
107 //____________________________________________________________________________
108 void AliCaloTrackMCReader::GetVertex(Double_t v[3]) const {
109 //Return vertex position
112 GetGenEventHeader()->PrimaryVertex(pv);
120 //_______________________________________________________________
121 void AliCaloTrackMCReader::InitParameters()
124 //Initialize the parameters of the analysis.
128 fChargedParticlesArray = new TArrayI(1);
129 fChargedParticlesArray->SetAt(11,0);
130 //Int_t pdgarray[]={12,14,16};// skip neutrinos
131 //fNeutralParticlesArray = new TArrayI(3, pdgarray);
132 fNeutralParticlesArray = new TArrayI(3);
133 fNeutralParticlesArray->SetAt(12,0); fNeutralParticlesArray->SetAt(14,1); fNeutralParticlesArray->SetAt(16,2);
134 fStatusArray = new TArrayI(1);
135 fStatusArray->SetAt(1,0);
137 fKeepAllStatus = kTRUE;
139 fCheckOverlap = kFALSE;
140 fEMCALOverlapAngle = 2.5 * TMath::DegToRad();
141 fPHOSOverlapAngle = 0.5 * TMath::DegToRad();
142 fIndex2ndPhoton = -1;
144 //____________________________________________________________________________
145 void AliCaloTrackMCReader::CheckOverlap(const Float_t anglethres, const Int_t imom, Int_t & iPrimary, Int_t & index, TLorentzVector & mom, Int_t & pdg) {
146 //Check overlap of decay photons
147 if( fIndex2ndPhoton==iPrimary ){
151 else fIndex2ndPhoton=-1;
156 TLorentzVector ph1, ph2;
157 TParticle *meson = GetStack()->Particle(imom);
158 Int_t mepdg = meson->GetPdgCode();
159 Int_t idaug1 = meson->GetFirstDaughter();
160 if((mepdg == 111 || mepdg == 221 ) && meson->GetNDaughters() == 2){ //Check only decay in 2 photons
161 TParticle * d1 = GetStack()->Particle(idaug1);
162 TParticle *d2 = GetStack()->Particle(idaug1+1);
163 if(d1->GetPdgCode() == 22 && d2->GetPdgCode() == 22 ){
166 //printf("angle %2.2f\n",ph1.Angle(ph2.Vect()));
168 if(anglethres > ph1.Angle(ph2.Vect())){
172 meson->Momentum(mom);
173 //printf("Overlap:: pt %2.2f, phi %2.2f, eta %2.2f\n",mom.Pt(),mom.Phi(),mom.Eta());
174 if(iPrimary == idaug1) iPrimary++; //skip next photon in list
177 //Do not check overlapping for next decay photon from same meson
178 if(iPrimary == idaug1) {fIndex2ndPhoton = idaug1+1;
183 }//Meson Decay with 2 photon daughters
186 //____________________________________________________________________________
187 void AliCaloTrackMCReader::FillCalorimeters(Int_t & iParticle, TParticle* particle, TLorentzVector momentum,
189 //Fill AODCaloClusters or TParticles lists of PHOS or EMCAL
191 if(fFillPHOS && fFidutialCut->IsInFidutialCut(momentum,"PHOS") && momentum.Pt() > fPHOSPtMin){
192 Int_t index = iParticle ;
193 Int_t pdg = TMath::Abs(particle->GetPdgCode());
195 CheckOverlap(fPHOSOverlapAngle,particle->GetFirstMother(),index, iParticle, momentum, pdg);
197 Char_t ttype= AliAODCluster::kPHOSNeutral;
198 Int_t labels[] = {index};
199 Float_t x[] = {momentum.X(), momentum.Y(), momentum.Z()};
200 //Create object and write it to file
201 AliAODCaloCluster *calo = new((*(fOutputEvent->GetCaloClusters()))[ncalo++])
202 AliAODCaloCluster(index,1,labels,momentum.E(), x, NULL, ttype, 0);
204 SetCaloClusterPID(pdg,calo) ;
205 if(fDebug > 3 && momentum.Pt() > 0.2)
206 printf("AliCaloTrackMCReader::FillCalorimeters() - PHOS : Selected cluster %s E %3.2f, pt %3.2f, phi %3.2f, eta %3.2f\n",
207 particle->GetName(),momentum.E(),momentum.Pt(),momentum.Phi()*TMath::RadToDeg(),momentum.Eta());
208 fAODPHOS->Add(calo);//reference the selected object to the list
212 if(fFillEMCAL && fFidutialCut->IsInFidutialCut(momentum,"EMCAL") && momentum.Pt() > fEMCALPtMin){
213 Int_t index = iParticle ;
214 Int_t pdg = TMath::Abs(particle->GetPdgCode());
217 CheckOverlap(fEMCALOverlapAngle,particle->GetFirstMother(),iParticle, index, momentum, pdg);
219 Char_t ttype= AliAODCluster::kEMCALClusterv1;
220 Int_t labels[] = {index};
221 Float_t x[] = {momentum.X(), momentum.Y(), momentum.Z()};
222 //Create object and write it to file
223 AliAODCaloCluster *calo = new((*(fOutputEvent->GetCaloClusters()))[ncalo++])
224 AliAODCaloCluster(iParticle,1,labels,momentum.E(), x, NULL, ttype, 0);
226 SetCaloClusterPID(pdg,calo) ;
227 if(fDebug > 3 && momentum.Pt() > 0.2)
228 printf("AliCaloTrackMCReader::FillCalorimeters() - EMCAL : Selected cluster %s E %3.2f, pt %3.2f, phi %3.2f, eta %3.2f\n",
229 particle->GetName(),momentum.E(),momentum.Pt(),momentum.Phi()*TMath::RadToDeg(),momentum.Eta());
230 fAODEMCAL->Add(calo);//reference the selected object to the list
234 //____________________________________________________________________________
235 void AliCaloTrackMCReader::FillInputEvent(Int_t iEntry){
236 //Fill the event counter and input lists that are needed, called by the analysis maker.
238 fEventNumber = iEntry;
239 Int_t iParticle = 0 ;
240 Double_t charge = 0.;
241 Int_t ncalo = (fOutputEvent->GetCaloClusters())->GetEntriesFast();
242 Int_t ntrack = (fOutputEvent->GetTracks())->GetEntriesFast();
244 for (iParticle = 0 ; iParticle < GetStack()->GetNtrack() ; iParticle++) {
245 TParticle * particle = GetStack()->Particle(iParticle);
246 TLorentzVector momentum;
249 Int_t pdg = particle->GetPdgCode();
251 //Keep particles with a given status
252 if(KeepParticleWithStatus(particle->GetStatusCode()) && (particle->Pt() > 0) ){
254 //Skip bizarre particles, they crash when charge is calculated
255 // if(TMath::Abs(pdg) == 3124 || TMath::Abs(pdg) > 10000000) continue ;
257 charge = TDatabasePDG::Instance()->GetParticle(pdg)->Charge();
258 particle->Momentum(momentum);
259 //---------- Charged particles ----------------------
260 if((charge != 0) && (momentum.Pt() > fCTSPtMin) && (fFidutialCut->IsInFidutialCut(momentum,"CTS"))){
262 //Particles in CTS acceptance
263 if(fDebug > 3 && momentum.Pt() > 0.2)
264 printf("AliCaloTrackMCReader::FillInputEvent() - CTS : Selected tracks E %3.2f, pt %3.2f, phi %3.2f, eta %3.2f\n",
265 momentum.E(),momentum.Pt(),momentum.Phi()*TMath::RadToDeg(),momentum.Eta());
267 x[0] = particle->Vx(); x[1] = particle->Vy(); x[2] = particle->Vz();
268 p[0] = particle->Px(); p[1] = particle->Py(); p[2] = particle->Pz();
269 //Create object and write it to file
270 AliAODTrack *aodTrack = new((*(fOutputEvent->GetTracks()))[ntrack++])
271 AliAODTrack(0, iParticle, p, kTRUE, x, kFALSE,NULL, 0, 0,
274 kFALSE, // No fit performed
275 kFALSE, // No fit performed
276 AliAODTrack::kPrimary,
278 SetTrackChargeAndPID(pdg, aodTrack);
279 fAODCTS->Add(aodTrack);//reference the selected object to the list
281 //Keep some charged particles in calorimeters lists
282 if((fFillPHOS || fFillEMCAL) && KeepChargedParticles(pdg)) FillCalorimeters(iParticle, particle, momentum, ncalo);
286 //-------------Neutral particles ----------------------
287 else if(charge == 0 && (fFillPHOS || fFillEMCAL)){
288 //Skip neutrinos or other neutral particles
289 //if(SkipNeutralParticles(pdg) || particle->IsPrimary()) continue ; // protection added (MG)
290 if(SkipNeutralParticles(pdg)) continue ;
291 //Fill particle/calocluster arrays
293 FillCalorimeters(iParticle, particle, momentum, ncalo);
296 //Sometimes pi0 are stable for the generator, if needed decay it by hand
298 if(momentum.Pt() > fPHOSPtMin || momentum.Pt() > fEMCALPtMin){
299 TLorentzVector lvGamma1, lvGamma2 ;
300 //Double_t angle = 0;
303 MakePi0Decay(momentum,lvGamma1,lvGamma2);//,angle);
305 //Check if Pi0 is in the acceptance of the calorimeters, if aperture angle is small, keep it
306 TParticle * pPhoton1 = new TParticle(22,1,iParticle,0,0,0,lvGamma1.Px(),lvGamma1.Py(),
307 lvGamma1.Pz(),lvGamma1.E(),0,0,0,0);
308 TParticle * pPhoton2 = new TParticle(22,1,iParticle,0,0,0,lvGamma2.Px(),lvGamma2.Py(),
309 lvGamma2.Pz(),lvGamma2.E(),0,0,0,0);
310 //Fill particle/calocluster arrays
311 FillCalorimeters(iParticle,pPhoton1,lvGamma1, ncalo);
312 FillCalorimeters(iParticle,pPhoton2,lvGamma2, ncalo);
315 else FillCalorimeters(iParticle,particle, momentum, ncalo); //Add the rest
318 } //particle with correct status
321 fIndex2ndPhoton = -1; //In case of overlapping studies, reset for each event
324 //________________________________________________________________
325 Bool_t AliCaloTrackMCReader::KeepParticleWithStatus(Int_t status) const {
326 //Check if status is equal to one of the list
327 //These particles will be used in analysis.
329 for(Int_t i= 0; i < fStatusArray->GetSize(); i++)
330 if(status == fStatusArray->At(i)) return kTRUE ;
339 //________________________________________________________________
340 Bool_t AliCaloTrackMCReader::KeepChargedParticles(Int_t pdg) const {
341 //Check if pdg is equal to one of the charged particles list
342 //These particles will be added to the calorimeters lists.
344 for(Int_t i= 0; i < fChargedParticlesArray->GetSize(); i++)
345 if(TMath::Abs(pdg) == fChargedParticlesArray->At(i)) return kTRUE ;
351 //________________________________________________________________
352 void AliCaloTrackMCReader::Print(const Option_t * opt) const
354 //Print some relevant parameters set for the analysis
358 printf("**** Print **** %s %s ****\n", GetName(), GetTitle() ) ;
360 printf("Decay Pi0? : %d\n", fDecayPi0) ;
361 printf("Check Overlap in Calo? : %d\n", fCheckOverlap) ;
362 printf("Keep all status? : %d\n", fKeepAllStatus) ;
364 if(!fKeepAllStatus) printf("Keep particles with status : ");
365 for(Int_t i= 0; i < fStatusArray->GetSize(); i++)
366 printf(" %d ; ", fStatusArray->At(i));
369 printf("Skip neutral particles in calo : ");
370 for(Int_t i= 0; i < fNeutralParticlesArray->GetSize(); i++)
371 printf(" %d ; ", fNeutralParticlesArray->At(i));
374 printf("Keep charged particles in calo : ");
375 for(Int_t i= 0; i < fChargedParticlesArray->GetSize(); i++)
376 printf(" %d ; ", fChargedParticlesArray->At(i));
381 //____________________________________________________________________________
382 void AliCaloTrackMCReader::MakePi0Decay(TLorentzVector &p0, TLorentzVector &p1,
383 TLorentzVector &p2) const {//, Double_t &angle) {
384 // Perform isotropic decay pi0 -> 2 photons
385 // p0 is pi0 4-momentum (inut)
386 // p1 and p2 are photon 4-momenta (output)
387 // cout<<"Boost vector"<<endl;
388 Double_t mPi0 = TDatabasePDG::Instance()->GetParticle(111)->Mass();
389 TVector3 b = p0.BoostVector();
390 //cout<<"Parameters"<<endl;
391 //Double_t mPi0 = p0.M();
392 Double_t phi = TMath::TwoPi() * gRandom->Rndm();
393 Double_t cosThe = 2 * gRandom->Rndm() - 1;
394 Double_t cosPhi = TMath::Cos(phi);
395 Double_t sinPhi = TMath::Sin(phi);
396 Double_t sinThe = TMath::Sqrt(1-cosThe*cosThe);
397 Double_t ePi0 = mPi0/2.;
398 //cout<<"ePi0 "<<ePi0<<endl;
399 //cout<<"Components"<<endl;
400 p1.SetPx(+ePi0*cosPhi*sinThe);
401 p1.SetPy(+ePi0*sinPhi*sinThe);
402 p1.SetPz(+ePi0*cosThe);
404 //cout<<"p1: "<<p1.Px()<<" "<<p1.Py()<<" "<<p1.Pz()<<" "<<p1.E()<<endl;
405 //cout<<"p1 Mass: "<<p1.Px()*p1.Px()+p1.Py()*p1.Py()+p1.Pz()*p1.Pz()-p1.E()*p1.E()<<endl;
406 p2.SetPx(-ePi0*cosPhi*sinThe);
407 p2.SetPy(-ePi0*sinPhi*sinThe);
408 p2.SetPz(-ePi0*cosThe);
410 //cout<<"p2: "<<p2.Px()<<" "<<p2.Py()<<" "<<p2.Pz()<<" "<<p2.E()<<endl;
411 //cout<<"p2 Mass: "<<p2.Px()*p2.Px()+p2.Py()*p2.Py()+p2.Pz()*p2.Pz()-p2.E()*p2.E()<<endl;
412 //cout<<"Boost "<<b.X()<<" "<<b.Y()<<" "<<b.Z()<<endl;
414 //cout<<"p1: "<<p1.Px()<<" "<<p1.Py()<<" "<<p1.Pz()<<" "<<p1.E()<<endl;
416 //cout<<"p2: "<<p2.Px()<<" "<<p2.Py()<<" "<<p2.Pz()<<" "<<p2.E()<<endl;
417 //cout<<"angle"<<endl;
418 //angle = p1.Angle(p2.Vect());
422 //____________________________________________________________________________
423 void AliCaloTrackMCReader::SetInputOutputMCEvent(AliVEvent* /*esd*/, AliAODEvent* aod, AliMCEvent* mc) {
424 // Connect the data pointer
430 //________________________________________________________________
431 Bool_t AliCaloTrackMCReader::SkipNeutralParticles(Int_t pdg) const {
432 //Check if pdg is equal to one of the neutral particles list
433 //These particles will be skipped from analysis.
435 for(Int_t i= 0; i < fNeutralParticlesArray->GetSize(); i++)
436 if(TMath::Abs(pdg) == fNeutralParticlesArray->At(i)) return kTRUE ;
443 //____________________________________________________________________
444 void AliCaloTrackMCReader::SetTrackChargeAndPID(const Int_t pdgCode, AliAODTrack *track) const {
445 //Give a PID weight for tracks equal to 1 depending on the particle type
447 Float_t pid[10] = {0., 0., 0., 0., 0., 0., 0., 0., 0., 0.};
453 pid[AliAODTrack::kUnknown] = 1.;
458 track->SetCharge(-1);
459 pid[AliAODTrack::kElectron] = 1.;
464 track->SetCharge(+1);
465 pid[AliAODTrack::kElectron] = 1.;
470 track->SetCharge(-1);
471 pid[AliAODTrack::kMuon] = 1.;
476 track->SetCharge(+1);
477 pid[AliAODTrack::kMuon] = 1.;
483 pid[AliAODTrack::kUnknown] = 1.;
488 track->SetCharge(+1);
489 pid[AliAODTrack::kPion] = 1.;
494 track->SetCharge(-1);
495 pid[AliAODTrack::kPion] = 1.;
501 pid[AliAODTrack::kUnknown] = 1.;
506 track->SetCharge(+1);
507 pid[AliAODTrack::kKaon] = 1.;
512 track->SetCharge(-1);
513 pid[AliAODTrack::kKaon] = 1.;
519 pid[AliAODTrack::kUnknown] = 1.;
524 track->SetCharge(+1);
525 pid[AliAODTrack::kProton] = 1.;
529 case -2212: // anti-p
530 track->SetCharge(-1);
531 pid[AliAODTrack::kProton] = 1.;
537 pid[AliAODTrack::kUnknown] = 1.;
543 pid[AliAODTrack::kUnknown] = 1.;
547 case -311: // anti-K0
549 pid[AliAODTrack::kUnknown] = 1.;
555 pid[AliAODTrack::kUnknown] = 1.;
561 pid[AliAODTrack::kUnknown] = 1.;
566 track->SetCharge(+1);
567 pid[AliAODTrack::kUnknown] = 1.;
572 track->SetCharge(-1);
573 pid[AliAODTrack::kUnknown] = 1.;
578 track->SetCharge(-1);
579 pid[AliAODTrack::kUnknown] = 1.;
585 pid[AliAODTrack::kUnknown] = 1.;
590 track->SetCharge(-1);
591 pid[AliAODTrack::kUnknown] = 1.;
596 track->SetCharge(-1);
597 pid[AliAODTrack::kUnknown] = 1.;
603 pid[AliAODTrack::kUnknown] = 1.;
607 case -3122: // anti-Lambda
609 pid[AliAODTrack::kUnknown] = 1.;
613 case -3222: // anti-Sigma-
614 track->SetCharge(-1);
615 pid[AliAODTrack::kUnknown] = 1.;
619 case -3212: // anti-Sigma0
621 pid[AliAODTrack::kUnknown] = 1.;
625 case -3112: // anti-Sigma+
626 track->SetCharge(+1);
627 pid[AliAODTrack::kUnknown] = 1.;
631 case -3322: // anti-Xi0
633 pid[AliAODTrack::kUnknown] = 1.;
637 case -3312: // anti-Xi+
638 track->SetCharge(+1);
641 case -3334: // anti-Omega+
642 track->SetCharge(+1);
643 pid[AliAODTrack::kUnknown] = 1.;
648 track->SetCharge(+1);
649 pid[AliAODTrack::kUnknown] = 1.;
654 track->SetCharge(-1);
655 pid[AliAODTrack::kUnknown] = 1.;
661 pid[AliAODTrack::kUnknown] = 1.;
665 case -421: // anti-D0
667 pid[AliAODTrack::kUnknown] = 1.;
672 track->SetCharge(-99);
673 pid[AliAODTrack::kUnknown] = 1.;
682 //____________________________________________________________________
683 void AliCaloTrackMCReader::SetCaloClusterPID(const Int_t pdgCode, AliAODCaloCluster *calo) const {
684 //Give a PID weight for CaloClusters equal to 1 depending on the particle type
686 Float_t pid[13] = {0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.};
691 pid[AliAODCaloCluster::kPhoton] = 1.;
696 pid[AliAODCaloCluster::kElectron] = 1.;
701 pid[AliAODCaloCluster::kElectron] = 1.;
706 pid[AliAODCaloCluster::kCharged] = 1.;
711 pid[AliAODCaloCluster::kCharged] = 1.;
716 pid[AliAODCaloCluster::kPi0] = 1.;
721 pid[AliAODCaloCluster::kCharged] = 1.;
726 pid[AliAODCaloCluster::kCharged] = 1.;
731 pid[AliAODCaloCluster::kKaon0] = 1.;
732 pid[AliAODCaloCluster::kNeutral] = 1;
737 pid[AliAODCaloCluster::kCharged] = 1.;
742 pid[AliAODCaloCluster::kCharged] = 1.;
747 pid[AliAODCaloCluster::kNeutron] = 1.;
748 pid[AliAODCaloCluster::kNeutral] = 1.;
753 pid[AliAODCaloCluster::kCharged] = 1.;
757 case -2212: // anti-p
758 pid[AliAODCaloCluster::kCharged] = 1.;
763 pid[AliAODCaloCluster::kKaon0] = 1.;
764 pid[AliAODCaloCluster::kNeutral] = 1.;
769 pid[AliAODCaloCluster::kKaon0] = 1.;
770 pid[AliAODCaloCluster::kNeutral] = 1.;
774 case -311: // anti-K0
775 pid[AliAODCaloCluster::kKaon0] = 1.;
776 pid[AliAODCaloCluster::kNeutral] = 1.;
781 pid[AliAODCaloCluster::kNeutral] = 1.;
786 pid[AliAODCaloCluster::kUnknown] = 1.;
791 pid[AliAODCaloCluster::kUnknown] = 1.;
796 pid[AliAODCaloCluster::kUnknown] = 1.;
801 pid[AliAODCaloCluster::kUnknown] = 1.;
806 pid[AliAODCaloCluster::kUnknown] = 1.;
811 pid[AliAODCaloCluster::kUnknown] = 1.;
816 pid[AliAODCaloCluster::kUnknown] = 1.;
821 pid[AliAODCaloCluster::kNeutron] = 1.;
822 pid[AliAODCaloCluster::kNeutral] = 1.;
826 case -3122: // anti-Lambda
827 pid[AliAODCaloCluster::kUnknown] = 1.;
831 case -3222: // anti-Sigma-
832 pid[AliAODCaloCluster::kUnknown] = 1.;
836 case -3212: // anti-Sigma0
837 pid[AliAODCaloCluster::kUnknown] = 1.;
841 case -3112: // anti-Sigma+
842 pid[AliAODCaloCluster::kUnknown] = 1.;
846 case -3322: // anti-Xi0
847 pid[AliAODCaloCluster::kUnknown] = 1.;
851 case -3312: // anti-Xi+
852 pid[AliAODCaloCluster::kUnknown] = 1.;
856 case -3334: // anti-Omega+
857 pid[AliAODCaloCluster::kUnknown] = 1.;
862 pid[AliAODCaloCluster::kUnknown] = 1.;
867 pid[AliAODCaloCluster::kUnknown] = 1.;
872 pid[AliAODCaloCluster::kUnknown] = 1.;
876 case -421: // anti-D0
877 pid[AliAODCaloCluster::kUnknown] = 1.;
882 pid[AliAODCaloCluster::kUnknown] = 1.;