From: mfloris Date: Fri, 27 Apr 2012 07:29:02 +0000 (+0000) Subject: Implemented handy getters + renamed some of the enums to avoid conflicts with root... X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=c79cb43591af8ee161272e980062d77c0903cb6b Implemented handy getters + renamed some of the enums to avoid conflicts with root's constants --- diff --git a/PWGLF/SPECTRA/PiKaPr/TestAOD/AliAnalysisTaskSpectraAOD.cxx b/PWGLF/SPECTRA/PiKaPr/TestAOD/AliAnalysisTaskSpectraAOD.cxx index 09ba925f408..8b46e9fcac2 100644 --- a/PWGLF/SPECTRA/PiKaPr/TestAOD/AliAnalysisTaskSpectraAOD.cxx +++ b/PWGLF/SPECTRA/PiKaPr/TestAOD/AliAnalysisTaskSpectraAOD.cxx @@ -70,9 +70,9 @@ Bool_t AliAnalysisTaskSpectraAOD::CheckYCut(AODParticleSpecies_t species, AliAOD // check if the rapidity is within the set range // note: masses are hardcoded for now. we could look them up in the pdg database, but that would mean accecing it 100k+ times per run ... Double_t y; - if (species == kProton) { y = track->Y(9.38271999999999995e-01); } - if ( species == kKaon ) { y = track->Y(4.93676999999999977e-01); } - if ( species == kPion) { y = track->Y(1.39570000000000000e-01); } + if (species == kSpProton) { y = track->Y(9.38271999999999995e-01); } + if ( species == kSpKaon ) { y = track->Y(4.93676999999999977e-01); } + if ( species == kSpPion) { y = track->Y(1.39570000000000000e-01); } if (TMath::Abs(y) > fYCut || y < -998.) return kFALSE; return kTRUE; } @@ -242,17 +242,17 @@ void AliAnalysisTaskSpectraAOD::UserExec(Option_t *) if( ( nsigmaTPCTOFkKaon < nsigmaTPCTOFkPion ) && ( nsigmaTPCTOFkKaon < nsigmaTPCTOFkProton )) { - if ((nsigmaTPCTOFkKaon > fNSigmaPID) || (!CheckYCut(kKaon, track) ) ) continue; + if ((nsigmaTPCTOFkKaon > fNSigmaPID) || (!CheckYCut(kSpKaon, track) ) ) continue; if ( track->Charge() > 0 ) { fHistMan->GetPtHistogram(kHistPtRecSigmaKaonPlus)->Fill(track->Pt(),d[0]); } else { fHistMan->GetPtHistogram(kHistPtRecSigmaKaonMinus)->Fill(track->Pt(),d[0]); } } if( ( nsigmaTPCTOFkProton < nsigmaTPCTOFkKaon ) && ( nsigmaTPCTOFkProton < nsigmaTPCTOFkPion ) ) { - if ( nsigmaTPCTOFkProton > fNSigmaPID || (!CheckYCut(kProton, track) ) ) continue; + if ( nsigmaTPCTOFkProton > fNSigmaPID || (!CheckYCut(kSpProton, track) ) ) continue; if ( track->Charge() > 0 ) { fHistMan->GetPtHistogram(kHistPtRecSigmaProtonPlus)->Fill(track->Pt(),d[0]); } else { fHistMan->GetPtHistogram(kHistPtRecSigmaProtonMinus)->Fill(track->Pt(),d[0]); } } if( (nsigmaTPCTOFkPion < nsigmaTPCTOFkProton ) && ( nsigmaTPCTOFkPion < nsigmaTPCTOFkKaon ) ) { - if (nsigmaTPCTOFkPion > fNSigmaPID || (!CheckYCut(kPion, track) ) ) continue; + if (nsigmaTPCTOFkPion > fNSigmaPID || (!CheckYCut(kSpPion, track) ) ) continue; if ( track->Charge() > 0 ) { fHistMan->GetPtHistogram(kHistPtRecSigmaPionPlus)->Fill(track->Pt(),d[0]); } else { fHistMan->GetPtHistogram(kHistPtRecSigmaPionMinus)->Fill(track->Pt(),d[0]); } } @@ -299,17 +299,17 @@ void AliAnalysisTaskSpectraAOD::UserExec(Option_t *) // primaries, sigma pid if (partMC->IsPhysicalPrimary()) { if( ( nsigmaTPCTOFkKaon < nsigmaTPCTOFkPion ) && ( nsigmaTPCTOFkKaon < nsigmaTPCTOFkProton ) ) { - if ( (nsigmaTPCTOFkKaon > fNSigmaPID ) || (!CheckYCut(kKaon, track) ) ) continue; + if ( (nsigmaTPCTOFkKaon > fNSigmaPID ) || (!CheckYCut(kSpKaon, track) ) ) continue; if ( track->Charge() > 0 ) { fHistMan->GetPtHistogram(kHistPtRecSigmaPrimaryKaonPlus)->Fill(track->Pt(),d[0]); } else { fHistMan->GetPtHistogram(kHistPtRecSigmaPrimaryKaonMinus)->Fill(track->Pt(),d[0]); } } if( ( nsigmaTPCTOFkProton < nsigmaTPCTOFkKaon ) && ( nsigmaTPCTOFkProton < nsigmaTPCTOFkPion ) ) { - if ( (nsigmaTPCTOFkProton > fNSigmaPID ) || (!CheckYCut(kProton, track) ) ) continue; + if ( (nsigmaTPCTOFkProton > fNSigmaPID ) || (!CheckYCut(kSpProton, track) ) ) continue; if ( track->Charge() > 0 ) { fHistMan->GetPtHistogram(kHistPtRecSigmaPrimaryProtonPlus)->Fill(track->Pt(),d[0]); } else { fHistMan->GetPtHistogram(kHistPtRecSigmaPrimaryProtonMinus)->Fill(track->Pt(),d[0]); } } if( (nsigmaTPCTOFkPion < nsigmaTPCTOFkProton ) && ( nsigmaTPCTOFkPion < nsigmaTPCTOFkKaon ) ) { - if ( ( nsigmaTPCTOFkPion > fNSigmaPID ) || (!CheckYCut(kPion, track) ) ) continue; + if ( ( nsigmaTPCTOFkPion > fNSigmaPID ) || (!CheckYCut(kSpPion, track) ) ) continue; if ( track->Charge() > 0 ) { fHistMan->GetPtHistogram(kHistPtRecSigmaPrimaryPionPlus)->Fill(track->Pt(),d[0]); } else { fHistMan->GetPtHistogram(kHistPtRecSigmaPrimaryPionMinus)->Fill(track->Pt(),d[0]); } } @@ -335,34 +335,34 @@ void AliAnalysisTaskSpectraAOD::UserExec(Option_t *) //codemoth==3222 || codemoth==3312 || codemoth==3322 || codemoth==3334){//K0_S, K0_L, K^+-,lambda, sigma0,sigma+,xi-,xi0, omega if(mfl==3){//strangeness if( ( nsigmaTPCkKaon < nsigmaTPCkPion ) && ( nsigmaTPCkKaon < nsigmaTPCkProton ) ) { - if ( (nsigmaTPCkKaon > fNSigmaPID ) || (!CheckYCut(kKaon, track) ) ) continue; + if ( (nsigmaTPCkKaon > fNSigmaPID ) || (!CheckYCut(kSpKaon, track) ) ) continue; if ( track->Charge() > 0 ) { fHistMan->GetPtHistogram(kHistPtRecSigmaSecondaryWeakDecayKaonPlus)->Fill(track->Pt(),d[0]); } else { fHistMan->GetPtHistogram(kHistPtRecSigmaSecondaryWeakDecayKaonMinus)->Fill(track->Pt(),d[0]); } } if( ( nsigmaTPCkProton < nsigmaTPCkKaon ) && ( nsigmaTPCkProton < nsigmaTPCkPion ) ) { - if ( (nsigmaTPCkProton > fNSigmaPID ) || (!CheckYCut(kProton, track) ) ) continue; + if ( (nsigmaTPCkProton > fNSigmaPID ) || (!CheckYCut(kSpProton, track) ) ) continue; if ( track->Charge() > 0 ) { fHistMan->GetPtHistogram(kHistPtRecSigmaSecondaryWeakDecayProtonPlus)->Fill(track->Pt(),d[0]); } else { fHistMan->GetPtHistogram(kHistPtRecSigmaSecondaryWeakDecayProtonMinus)->Fill(track->Pt(),d[0]); } } if( (nsigmaTPCkPion < nsigmaTPCkProton ) && ( nsigmaTPCkPion < nsigmaTPCkKaon ) ) { - if ( ( nsigmaTPCkPion > fNSigmaPID ) || (!CheckYCut(kPion, track) ) ) continue; + if ( ( nsigmaTPCkPion > fNSigmaPID ) || (!CheckYCut(kSpPion, track) ) ) continue; if ( track->Charge() > 0 ) { fHistMan->GetPtHistogram(kHistPtRecSigmaSecondaryWeakDecayPionPlus)->Fill(track->Pt(),d[0]); } else { fHistMan->GetPtHistogram(kHistPtRecSigmaSecondaryWeakDecayPionMinus)->Fill(track->Pt(),d[0]); } } }//end if strangeness else{//material if( ( nsigmaTPCkKaon < nsigmaTPCkPion ) && ( nsigmaTPCkKaon < nsigmaTPCkProton ) ) { - if ( (nsigmaTPCkKaon > fNSigmaPID ) || (!CheckYCut(kKaon, track) ) ) continue; + if ( (nsigmaTPCkKaon > fNSigmaPID ) || (!CheckYCut(kSpKaon, track) ) ) continue; if ( track->Charge() > 0 ) { fHistMan->GetPtHistogram(kHistPtRecSigmaSecondaryMaterialKaonPlus)->Fill(track->Pt(),d[0]); } else { fHistMan->GetPtHistogram(kHistPtRecSigmaSecondaryMaterialKaonMinus)->Fill(track->Pt(),d[0]); } } if( ( nsigmaTPCkProton < nsigmaTPCkKaon ) && ( nsigmaTPCkProton < nsigmaTPCkPion ) ) { - if ( (nsigmaTPCkProton > fNSigmaPID ) || (!CheckYCut(kProton, track) ) ) continue; + if ( (nsigmaTPCkProton > fNSigmaPID ) || (!CheckYCut(kSpProton, track) ) ) continue; if ( track->Charge() > 0 ) { fHistMan->GetPtHistogram(kHistPtRecSigmaSecondaryMaterialProtonPlus)->Fill(track->Pt(),d[0]); } else { fHistMan->GetPtHistogram(kHistPtRecSigmaSecondaryMaterialProtonMinus)->Fill(track->Pt(),d[0]); } } if( (nsigmaTPCkPion < nsigmaTPCkProton ) && ( nsigmaTPCkPion < nsigmaTPCkKaon ) ) { - if ( ( nsigmaTPCkPion > fNSigmaPID ) || (!CheckYCut(kPion, track) ) ) continue; + if ( ( nsigmaTPCkPion > fNSigmaPID ) || (!CheckYCut(kSpPion, track) ) ) continue; if ( track->Charge() > 0 ) { fHistMan->GetPtHistogram(kHistPtRecSigmaSecondaryMaterialPionPlus)->Fill(track->Pt(),d[0]); } else { fHistMan->GetPtHistogram(kHistPtRecSigmaSecondaryMaterialPionMinus)->Fill(track->Pt(),d[0]); } } diff --git a/PWGLF/SPECTRA/PiKaPr/TestAOD/AliSpectraAODHistoManager.cxx b/PWGLF/SPECTRA/PiKaPr/TestAOD/AliSpectraAODHistoManager.cxx index 40b328c2f43..86fb6172f7d 100644 --- a/PWGLF/SPECTRA/PiKaPr/TestAOD/AliSpectraAODHistoManager.cxx +++ b/PWGLF/SPECTRA/PiKaPr/TestAOD/AliSpectraAODHistoManager.cxx @@ -245,3 +245,46 @@ Long64_t AliSpectraAODHistoManager::Merge(TCollection* list) return count+1; } + +TH1* AliSpectraAODHistoManager::GetHistogram1D(UInt_t histoType, UInt_t particleType, UInt_t charge) { + // GetHistogram using particle ID and histogram type + Int_t baseId = -1; + + switch(histoType) { + case kHistPtGenTruePrimary: + baseId = kHistPtGenTruePrimaryPionPlus; + break; + case kHistPtRecSigma: + baseId = kHistPtRecSigmaPionPlus; + break; + case kHistPtRecTruePrimary: + baseId = kHistPtRecTruePrimaryPionPlus; + break; + case kHistPtRecSigmaPrimary: + baseId = kHistPtRecSigmaPrimaryPionPlus; + break; + case kHistPtRecSigmaSecondaryMaterial: + baseId = kHistPtRecSigmaSecondaryMaterialPionPlus; + break; + case kHistPtRecSigmaSecondaryWeakDecay: + baseId = kHistPtRecSigmaSecondaryWeakDecayPionPlus; + break; + default: + baseId = -1; + } + + if (baseId < 0) + AliFatal("Wrong histogram type"); + + baseId = baseId + particleType + 3*(charge); + // cout << "ID " << baseId << endl; + + return GetHistogram(baseId); +} + +TH2* AliSpectraAODHistoManager::GetHistogram2D(UInt_t histoType, UInt_t particleType, UInt_t charge){ + // returns histo based on ids, casting it to TH2* + return (TH2*) GetHistogram1D(histoType,particleType,charge); + + +} diff --git a/PWGLF/SPECTRA/PiKaPr/TestAOD/AliSpectraAODHistoManager.h b/PWGLF/SPECTRA/PiKaPr/TestAOD/AliSpectraAODHistoManager.h index c5b807e46bb..2fdc208b33b 100644 --- a/PWGLF/SPECTRA/PiKaPr/TestAOD/AliSpectraAODHistoManager.h +++ b/PWGLF/SPECTRA/PiKaPr/TestAOD/AliSpectraAODHistoManager.h @@ -27,28 +27,40 @@ namespace AliSpectraNameSpace enum AODParticleSpecies_t { - kProton = 0, - kKaon, - kPion, - kNSpecies = kPion, + kSpPion, + kSpKaon, + kSpProton, + kNSpecies, }; // Particle species used in plotting const char * kParticleSpecies[] = { - "ProtonPlus", - "ProtonMinus", - "KaonPlus", - "KaonMinus", "PionPlus", + "KaonPlus", + "ProtonPlus", "PionMinus", + "KaonMinus", + "ProtonMinus", }; + enum AODHistoType_t { - kHistSpectraRec = 0, - kHistSpectraGen, - kHNHistoTypes = kHistSpectraGen, + kHistPtGenTruePrimary, + kHistPtRecSigma, + kHistPtRecTruePrimary, + kHistPtRecSigmaPrimary, + kHistPtRecSigmaSecondaryMaterial, + kHistPtRecSigmaSecondaryWeakDecay, + kNHistoTypes }; // Types of histos + enum AODCharge_t + { + kChPos = 0, + kChNeg, + kNCharge + }; + } using namespace AliSpectraNameSpace; @@ -69,6 +81,9 @@ public: TH1F* GetPtHistogram1D(const char * name,Double_t minDCA,Double_t maxDCA); TH1F* GetDCAHistogram1D(const char * name,Double_t minPt,Double_t maxPt); TH2* GetHistogram(UInt_t id) { return (TH2*) fOutputList->At(id); } + // TH1* GetHistogram(AODHistoType_t histoType, AODParticleSpecies_t particleType, UInt_t charge); + TH1* GetHistogram1D(UInt_t histoType, UInt_t particleType, UInt_t charge); + TH2* GetHistogram2D(UInt_t histoType, UInt_t particleType, UInt_t charge); TH2* GetPtHistogram(UInt_t id) { return (TH2*) fOutputList->At(id); } TH2* GetPtHistogram(const char * name) { return (TH2*) fOutputList->FindObject(name); } TH2* GetPtHistogramByName(UInt_t id) { return (TH2*) fOutputList->FindObject(kHistName[id]); } // Use this if you want to read a file saved with a different histo list diff --git a/PWGLF/SPECTRA/PiKaPr/TestAOD/Histograms.h b/PWGLF/SPECTRA/PiKaPr/TestAOD/Histograms.h index 0a27bc6c2c7..47f286405fd 100644 --- a/PWGLF/SPECTRA/PiKaPr/TestAOD/Histograms.h +++ b/PWGLF/SPECTRA/PiKaPr/TestAOD/Histograms.h @@ -2,7 +2,11 @@ // This file is used to give a list of histograms to be created by the manager. // the histogram names are automatically generated by the createNames.py script // the type/binning of the histograms depends on the range. -// DON'T ASSIGN NUMERICAL VALUE EXPLICITLY TO THE ENTRIES +// DON'T FORGET TO RUN createNames.py AFTER EDITING THIS FILE +// IMPORTANT CONVENTIONS: +// - don't assign numerical value explicitly to the entries (they would be skipped in the authomatic name generation) +// - If you add an histogram set, please respect the order: +// PionPlus, KaonPlus, ProtonPlus, PionMinus, KaonMinus, ProtonMinus (needed for getters) namespace AliSpectraNameSpace { @@ -10,64 +14,64 @@ namespace AliSpectraNameSpace { // 6 Pt Generated True Primary - kHistPtGenTruePrimaryProtonPlus, // Pt histo for protons +, generated tracks, true ID, primary Event - kHistPtGenTruePrimaryKaonPlus, // Pt histo for kaons +, generated tracks, true ID, primary Event kHistPtGenTruePrimaryPionPlus, // Pt histo for pions +, generated tracks, true ID, primary Event - kHistPtGenTruePrimaryProtonMinus, // Pt histo for protons -, generated tracks, true ID, primary Event - kHistPtGenTruePrimaryKaonMinus, // Pt histo for kaons -, generated tracks, true ID, primary Event + kHistPtGenTruePrimaryKaonPlus, // Pt histo for kaons +, generated tracks, true ID, primary Event + kHistPtGenTruePrimaryProtonPlus, // Pt histo for protons +, generated tracks, true ID, primary Event kHistPtGenTruePrimaryPionMinus, // Pt histo for pions -, generated tracks, true ID, primary Event + kHistPtGenTruePrimaryKaonMinus, // Pt histo for kaons -, generated tracks, true ID, primary Event + kHistPtGenTruePrimaryProtonMinus, // Pt histo for protons -, generated tracks, true ID, primary Event kHistPtGen, // Pt histo for all particles, generated tracks kNPtGenHist = kHistPtGen, // Number of ptGen-likehistos histos // 6 Pt Reconstructed Sigma - kHistPtRecSigmaProtonPlus, // Pt histo for protons +, reconstructed tracks, sigma ID - kHistPtRecSigmaKaonPlus, // Pt histo for kaons +, reconsructed tracks, sigma ID kHistPtRecSigmaPionPlus, // Pt histo for pions +, reconstructed tracks, sigma ID - kHistPtRecSigmaProtonMinus, // Pt histo for protons -, reconstructed tracks, sigma ID - kHistPtRecSigmaKaonMinus, // Pt histo for kaons -, reconstructed tracks, sigma ID + kHistPtRecSigmaKaonPlus, // Pt histo for kaons +, reconsructed tracks, sigma ID + kHistPtRecSigmaProtonPlus, // Pt histo for protons +, reconstructed tracks, sigma ID kHistPtRecSigmaPionMinus, // Pt histo for pions -, reconstructed tracks, sigma ID + kHistPtRecSigmaKaonMinus, // Pt histo for kaons -, reconstructed tracks, sigma ID + kHistPtRecSigmaProtonMinus, // Pt histo for protons -, reconstructed tracks, sigma ID // 6 Pt Reconstructed True - kHistPtRecTrueProtonPlus, // Pt histo for protons +, reconstructed tracks, true ID - kHistPtRecTrueKaonPlus, // Pt histo for kaons +, reconsructed tracks, true ID kHistPtRecTruePionPlus, // Pt histo for pions +, reconstructed tracks, true ID - kHistPtRecTrueProtonMinus, // Pt histo for protons -, reconstructed tracks, true ID - kHistPtRecTrueKaonMinus, // Pt histo for kaons -, reconstructed tracks, true ID + kHistPtRecTrueKaonPlus, // Pt histo for kaons +, reconsructed tracks, true ID + kHistPtRecTrueProtonPlus, // Pt histo for protons +, reconstructed tracks, true ID kHistPtRecTruePionMinus, // Pt histo for pions -, reconstructed tracks, true ID + kHistPtRecTrueKaonMinus, // Pt histo for kaons -, reconstructed tracks, true ID + kHistPtRecTrueProtonMinus, // Pt histo for protons -, reconstructed tracks, true ID kHistPtRecTrueMuonPlus, // Pt histo for muons +, reconstructed tracks, true ID, kHistPtRecTrueMuonMinus, // Pt histo for muons +, reconstructed tracks, true ID, // 6 Pt Reconstructed Sigma Primary - kHistPtRecSigmaPrimaryProtonPlus, // Pt histo for protons +, reconstructed tracks, sigma ID, primary Event - kHistPtRecSigmaPrimaryKaonPlus, // Pt histo for kaons +, reconsructed tracks, sigma ID, primary Event kHistPtRecSigmaPrimaryPionPlus, // Pt histo for pions +, reconstructed tracks, sigma ID, primary Event - kHistPtRecSigmaPrimaryProtonMinus, // Pt histo for protons -, reconstructed tracks, sigma ID, primary Event - kHistPtRecSigmaPrimaryKaonMinus, // Pt histo for kaons -, reconstructed tracks, sigma ID, primary Event + kHistPtRecSigmaPrimaryKaonPlus, // Pt histo for kaons +, reconsructed tracks, sigma ID, primary Event + kHistPtRecSigmaPrimaryProtonPlus, // Pt histo for protons +, reconstructed tracks, sigma ID, primary Event kHistPtRecSigmaPrimaryPionMinus, // Pt histo for pions -, reconstructed tracks, sigma ID, primary Event + kHistPtRecSigmaPrimaryKaonMinus, // Pt histo for kaons -, reconstructed tracks, sigma ID, primary Event + kHistPtRecSigmaPrimaryProtonMinus, // Pt histo for protons -, reconstructed tracks, sigma ID, primary Event // 6 Pt Reconstructed Sigma Secondary Material - kHistPtRecSigmaSecondaryMaterialProtonPlus, // Pt histo for protons +, reconstructed tracks, sigma ID, secondary Event - kHistPtRecSigmaSecondaryMaterialKaonPlus, // Pt histo for kaons +, reconsructed tracks, sigma ID, secondary Event kHistPtRecSigmaSecondaryMaterialPionPlus, // Pt histo for pions +, reconstructed tracks, sigma ID, secondary Event - kHistPtRecSigmaSecondaryMaterialProtonMinus, // Pt histo for protons -, reconstructed tracks, sigma ID, secondary Event - kHistPtRecSigmaSecondaryMaterialKaonMinus, // Pt histo for kaons -, reconstructed tracks, sigma ID, secondary Event + kHistPtRecSigmaSecondaryMaterialKaonPlus, // Pt histo for kaons +, reconsructed tracks, sigma ID, secondary Event + kHistPtRecSigmaSecondaryMaterialProtonPlus, // Pt histo for protons +, reconstructed tracks, sigma ID, secondary Event kHistPtRecSigmaSecondaryMaterialPionMinus, // Pt histo for pions -, reconstructed tracks, sigma ID, secondary Event + kHistPtRecSigmaSecondaryMaterialKaonMinus, // Pt histo for kaons -, reconstructed tracks, sigma ID, secondary Event + kHistPtRecSigmaSecondaryMaterialProtonMinus, // Pt histo for protons -, reconstructed tracks, sigma ID, secondary Event // 6 Pt Reconstructed Sigma Secondary WeakDecay - kHistPtRecSigmaSecondaryWeakDecayProtonPlus, // Pt histo for protons +, reconstructed tracks, sigma ID, secondary Event - kHistPtRecSigmaSecondaryWeakDecayKaonPlus, // Pt histo for kaons +, reconsructed tracks, sigma ID, secondary Event kHistPtRecSigmaSecondaryWeakDecayPionPlus, // Pt histo for pions +, reconstructed tracks, sigma ID, secondary Event - kHistPtRecSigmaSecondaryWeakDecayProtonMinus, // Pt histo for protons -, reconstructed tracks, sigma ID, secondary Event - kHistPtRecSigmaSecondaryWeakDecayKaonMinus, // Pt histo for kaons -, reconstructed tracks, sigma ID, secondary Event + kHistPtRecSigmaSecondaryWeakDecayKaonPlus, // Pt histo for kaons +, reconsructed tracks, sigma ID, secondary Event + kHistPtRecSigmaSecondaryWeakDecayProtonPlus, // Pt histo for protons +, reconstructed tracks, sigma ID, secondary Event kHistPtRecSigmaSecondaryWeakDecayPionMinus, // Pt histo for pions -, reconstructed tracks, sigma ID, secondary Event + kHistPtRecSigmaSecondaryWeakDecayKaonMinus, // Pt histo for kaons -, reconstructed tracks, sigma ID, secondary Event + kHistPtRecSigmaSecondaryWeakDecayProtonMinus, // Pt histo for protons -, reconstructed tracks, sigma ID, secondary Event // 6 Pt Reconstructed True Primary - kHistPtRecTruePrimaryProtonPlus, // Pt histo for protons +, reconstructed tracks, true ID, primary event - kHistPtRecTruePrimaryKaonPlus, // Pt histo for kaons +, reconsructed tracks, true ID, primary event kHistPtRecTruePrimaryPionPlus, // Pt histo for pions +, reconstructed tracks, true ID, primary event - kHistPtRecTruePrimaryProtonMinus, // Pt histo for protons -, reconstructed tracks, true ID, primary event - kHistPtRecTruePrimaryKaonMinus, // Pt histo for kaons -, reconstructed tracks, true ID, primary event + kHistPtRecTruePrimaryKaonPlus, // Pt histo for kaons +, reconsructed tracks, true ID, primary event + kHistPtRecTruePrimaryProtonPlus, // Pt histo for protons +, reconstructed tracks, true ID, primary event kHistPtRecTruePrimaryPionMinus, // Pt histo for pions -, reconstructed tracks, true ID, primary event + kHistPtRecTruePrimaryKaonMinus, // Pt histo for kaons -, reconstructed tracks, true ID, primary event + kHistPtRecTruePrimaryProtonMinus, // Pt histo for protons -, reconstructed tracks, true ID, primary event kHistPtRecTruePrimaryMuonPlus, // Pt histo for muons +, reconstructed tracks, true ID, primary event kHistPtRecTruePrimaryMuonMinus, // Pt histo for muons +, reconstructed tracks, true ID, primary event @@ -80,26 +84,26 @@ namespace AliSpectraNameSpace kHistPIDTOF, kNHistPID =kHistPIDTOF, - kHistNSigProtonTPC, // NSigma separation plot - kHistNSigKaonTPC, kHistNSigPionTPC, - kHistNSigProtonPtTPC, - kHistNSigKaonPtTPC, + kHistNSigKaonTPC, + kHistNSigProtonTPC, // NSigma separation plot kHistNSigPionPtTPC, + kHistNSigKaonPtTPC, + kHistNSigProtonPtTPC, - kHistNSigProtonTOF, - kHistNSigKaonTOF, kHistNSigPionTOF, - kHistNSigProtonPtTOF, - kHistNSigKaonPtTOF, + kHistNSigKaonTOF, + kHistNSigProtonTOF, kHistNSigPionPtTOF, + kHistNSigKaonPtTOF, + kHistNSigProtonPtTOF, - kHistNSigProtonTPCTOF, - kHistNSigKaonTPCTOF, kHistNSigPionTPCTOF, - kHistNSigProtonPtTPCTOF, - kHistNSigKaonPtTPCTOF, + kHistNSigKaonTPCTOF, + kHistNSigProtonTPCTOF, kHistNSigPionPtTPCTOF, + kHistNSigKaonPtTPCTOF, + kHistNSigProtonPtTPCTOF, kNHistNSig=kHistNSigPionPtTPCTOF, kHistqVecPos,