]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGGA/GammaConv/AliAnalysisTaskGammaCalo.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / PWGGA / GammaConv / AliAnalysisTaskGammaCalo.h
index bbed4e4f284365e5f64493c34a8ec823052d09a4..55b2d0f5f6d8b34f4c5c8d9a2d158e2fb84ee2e9 100644 (file)
@@ -81,7 +81,7 @@ class AliAnalysisTaskGammaCalo : public AliAnalysisTaskSE {
                // Additional functions for convenience
                void SetLogBinningXTH2(TH2* histoRebin);
                Int_t GetSourceClassification(Int_t daughter, Int_t pdgCode);
-       
+               
        protected:
                AliV0ReaderV1                                           *fV0Reader;                                                     // basic photon Selection Task
                AliGammaConversionAODBGHandler          **fBGHandler;                                           // BG handler for Conversion 
@@ -106,6 +106,7 @@ class AliAnalysisTaskGammaCalo : public AliAnalysisTaskSE {
                
                //histograms for mesons reconstructed quantities
                TH2F                                                            **fHistoMotherInvMassPt;                        //! array of histogram with signal + BG for same event photon pairs, inv Mass, pt
+               TH2F                                                            **fHistoMotherInvMass3ClusterPt;        //! array of histogram with signal + BG for same event 3 cluster pairs, inv Mass, pt    
                THnSparseF                                                      **fSparseMotherInvMassPtZM;                     //! array of THnSparseF with signal + BG for same event photon pairs, inv Mass, pt
                TH2F                                                            **fHistoMotherBackInvMassPt;            //! array of histogram with BG for mixed event photon pairs, inv Mass, pt
                THnSparseF                                                      **fSparseMotherBackInvMassPtZM;         //! array of THnSparseF with BG for same event photon pairs, inv Mass, pt
@@ -121,7 +122,7 @@ class AliAnalysisTaskGammaCalo : public AliAnalysisTaskSE {
 
                // histograms for rec photon clusters
                TH1F                                                            ** fHistoClusGammaPt;                           //! array of histos with cluster, pt
-                                                                               
+               TH1F                                                            ** fHistoClusOverlapHeadersGammaPt;     //! array of histos with cluster, pt overlapping with other headers
                //histograms for pure MC quantities
                TH1I                                                            **fHistoMCHeaders;                                      //! array of histos for header names
                TH1F                                                            **fHistoMCAllGammaPt;                           //! array of histos with all gamma, pT
@@ -140,6 +141,8 @@ class AliAnalysisTaskGammaCalo : public AliAnalysisTaskSE {
                TH1F                                                            **fHistoMCEtaInAccPt;                           //! array of histos with weighted eta in acceptance, pT
                TH2F                                                            **fHistoMCPi0PtY;                                       //! array of histos with weighted pi0, pT, Y
                TH2F                                                            **fHistoMCEtaPtY;                                       //! array of histos with weighted eta, pT, Y
+               TH2F                                                            **fHistoMCPi0PtAlpha;                           //! array of histos with weighted pi0, pT, alpha
+               TH2F                                                            **fHistoMCEtaPtAlpha;                           //! array of histos with weighted eta, pT, alpha
                TH1F                                                            **fHistoMCK0sPt;                                        //! array of histos with weighted K0s, pT
                TH1F                                                            **fHistoMCK0sWOWeightPt;                        //! array of histos with unweighted K0s, pT
                TH2F                                                            **fHistoMCK0sPtY;                                       //! array of histos with weighted K0s, pT, Y
@@ -148,26 +151,50 @@ class AliAnalysisTaskGammaCalo : public AliAnalysisTaskSE {
                TH1F                                                            **fHistoMCSecEtaPt;                                     //! array of histos with secondary eta, pT
                TH1F                                                            **fHistoMCSecEtaSource;                         //! array of histos with secondary eta, source
                // MC validated reconstructed quantities mesons
-               TH2F                                                            **fHistoTrueMotherInvMassPt;                                    //! array of histos with validated mothers, invMass, pt
-               TH2F                                                            **fHistoTrueMotherCaloPhotonInvMassPt;                  //! array of histos with validated mothers, photon leading, invMass, pt
-               TH2F                                                            **fHistoTrueMotherCaloConvertedPhotonInvMassPt; //! array of histos with validated mothers, converted photon leading, invMass, pt
-               TH2F                                                            **fHistoTrueMotherCaloMixedPhotonConvPhotonInvMassPt; //! array of histos with validated mothers, converted photon leading, invMass, pt
+               TH2F                                                            **fHistoTruePi0InvMassPt;                                       //! array of histos with validated mothers, invMass, pt
+               TH2F                                                            **fHistoTrueEtaInvMassPt;                                       //! array of histos with validated mothers, invMass, pt
+               TH2F                                                            **fHistoTruePi0CaloPhotonInvMassPt;                     //! array of histos with validated mothers, photon leading, invMass, pt
+               TH2F                                                            **fHistoTrueEtaCaloPhotonInvMassPt;                     //! array of histos with validated mothers, photon leading, invMass, pt
                TH2F                                                            **fHistoTruePi0CaloConvertedPhotonInvMassPt;    //! array of histos with validated pi0, converted photon leading, invMass, pt
                TH2F                                                            **fHistoTrueEtaCaloConvertedPhotonInvMassPt;    //! array of histos with validated eta, converted photon leading, invMass, pt
-               TH2F                                                            **fHistoTrueMotherCaloElectronInvMassPt;                //! array of histos with validated mothers, electron leading, invMass, pt
-               TH2F                                                            **fHistoTrueMotherCaloMergedClusterInvMassPt;   //! array of histos with validated mothers, merged cluster invMass, pt
-               TH2F                                                            **fHistoTrueMotherCaloMergedClusterPartConvInvMassPt; //! array of histos with validated mothers, merged cluster part conv, invMass, pt
-               TH2F                                                            **fHistoTruePrimaryMotherInvMassPt;                             //! array of histos with validated weighted primary mothers, invMass, pt
-               TH2F                                                            **fHistoTruePrimaryMotherW0WeightingInvMassPt;  //! array of histos with validated unweighted primary mothers, invMass, pt
-               TProfile2D                                                      **fProfileTruePrimaryMotherWeightsInvMassPt;    //! array of profiles with weights for validated primary mothers, invMass, pt   
+               TH2F                                                            **fHistoTruePi0CaloMixedPhotonConvPhotonInvMassPt; //! array of histos with validated mothers, converted photon leading, invMass, pt
+               TH2F                                                            **fHistoTrueEtaCaloMixedPhotonConvPhotonInvMassPt; //! array of histos with validated mothers, converted photon leading, invMass, pt
+               TH2F                                                            **fHistoTruePi0CaloElectronInvMassPt;           //! array of histos with validated mothers, electron leading, invMass, pt
+               TH2F                                                            **fHistoTrueEtaCaloElectronInvMassPt;           //! array of histos with validated mothers, electron leading, invMass, pt
+               TH2F                                                            **fHistoTruePi0CaloMergedClusterInvMassPt;      //! array of histos with validated mothers, merged cluster invMass, pt
+               TH2F                                                            **fHistoTrueEtaCaloMergedClusterInvMassPt;      //! array of histos with validated mothers, merged cluster invMass, pt
+               TH2F                                                            **fHistoTruePi0CaloMergedClusterPartConvInvMassPt; //! array of histos with validated mothers, merged cluster part conv, invMass, pt
+               TH2F                                                            **fHistoTrueEtaCaloMergedClusterPartConvInvMassPt; //! array of histos with validated mothers, merged cluster part conv, invMass, pt
+               TH2F                                                            **fHistoTruePi0NonMergedElectronPhotonInvMassPt;        //! array of histos with validated mothers, merged cluster invMass, pt
+               TH2F                                                            **fHistoTruePi0NonMergedElectronMergedPhotonInvMassPt;  //! array of histos with validated mothers, merged cluster invMass, pt
+               TH2F                                                            **fHistoTruePi0Category1;                                               //! array of histos with validated pi0, pure real photons
+               TH2F                                                            **fHistoTrueEtaCategory1;                                               //! array of histos with validated eta, pure real photons
+               TH2F                                                            **fHistoTruePi0Category2;                                               //! array of histos with validated pi0, 1 real photon, 1 merged converted photon
+               TH2F                                                            **fHistoTrueEtaCategory2;                                               //! array of histos with validated eta, 1 real photon, 1 merged converted photon
+               TH2F                                                            **fHistoTruePi0Category3;                                               //! array of histos with validated pi0, 1 real photon, 1 electron from conversion unmerged
+               TH2F                                                            **fHistoTrueEtaCategory3;                                               //! array of histos with validated eta, 1 real photon, 1 electron from conversion unmerged
+               TH2F                                                            **fHistoTruePi0Category4_6;                                     //! array of histos with validated pi0, 2 electrons from same conversion
+               TH2F                                                            **fHistoTrueEtaCategory4_6;                                     //! array of histos with validated eta, 2 electrons from same conversion
+               TH2F                                                            **fHistoTruePi0Category5;                                               //! array of histos with validated pi0, 2 electrons from different conversions, 2 electrons (unseen)
+               TH2F                                                            **fHistoTrueEtaCategory5;                                               //! array of histos with validated eta, 2 electrons from different conversions, 2 electrons (unseen)
+               TH2F                                                            **fHistoTruePi0Category7;                                               //! array of histos with validated pi0, 1 electron from conversion, 2 electrons from other conversion merged, 1 electron (unseen)
+               TH2F                                                            **fHistoTrueEtaCategory7;                                               //! array of histos with validated eta, 1 electron from conversion, 2 electrons from other conversion merged, 1 electron (unseen)
+               TH2F                                                            **fHistoTruePi0Category8;                                               //! array of histos with validated pi0, 2 electron from conversion merged, 2 electrons from other conversion merged
+               TH2F                                                            **fHistoTrueEtaCategory8;                                               //! array of histos with validated eta, 2 electron from conversion merged, 2 electrons from other conversion merged
+               TH2F                                                            **fHistoTruePrimaryPi0InvMassPt;                                //! array of histos with validated weighted primary mothers, invMass, pt
+               TH2F                                                            **fHistoTruePrimaryEtaInvMassPt;                                //! array of histos with validated weighted primary mothers, invMass, pt
+               TH2F                                                            **fHistoTruePrimaryPi0W0WeightingInvMassPt;             //! array of histos with validated unweighted primary mothers, invMass, pt
+               TH2F                                                            **fHistoTruePrimaryEtaW0WeightingInvMassPt;             //! array of histos with validated unweighted primary mothers, invMass, pt
+               TProfile2D                                                      **fProfileTruePrimaryPi0WeightsInvMassPt;               //! array of profiles with weights for validated primary mothers, invMass, pt   
+               TProfile2D                                                      **fProfileTruePrimaryEtaWeightsInvMassPt;               //! array of profiles with weights for validated primary mothers, invMass, pt   
                TH2F                                                            **fHistoTruePrimaryPi0MCPtResolPt;                              //! array of histos with validated weighted primary pi0, MCpt, resol pt
                TH2F                                                            **fHistoTruePrimaryEtaMCPtResolPt;                              //! array of histos with validated weighted primary eta, MCpt, resol pt
-               TH2F                                                            **fHistoTrueSecondaryMotherInvMassPt;                   //! array of histos with validated secondary mothers, invMass, pt
-               TH2F                                                            **fHistoTrueSecondaryMotherFromK0sInvMassPt;    //! array of histos with validated secondary mothers from K0s, invMass, pt
+               TH2F                                                            **fHistoTrueSecondaryPi0InvMassPt;                              //! array of histos with validated secondary mothers, invMass, pt
+               TH2F                                                            **fHistoTrueSecondaryPi0FromK0sInvMassPt;               //! array of histos with validated secondary mothers from K0s, invMass, pt
                TH1F                                                            **fHistoTrueK0sWithPi0DaughterMCPt;                             //! array of histos with K0s with reconstructed pi0 as daughter, pt
-               TH2F                                                            **fHistoTrueSecondaryMotherFromEtaInvMassPt;    //! array of histos with validated secondary mothers from eta, invMass, pt
+               TH2F                                                            **fHistoTrueSecondaryPi0FromEtaInvMassPt;               //! array of histos with validated secondary mothers from eta, invMass, pt
                TH1F                                                            **fHistoTrueEtaWithPi0DaughterMCPt;                             //! array of histos with eta with reconstructed pi0 as daughter, pt
-               TH2F                                                            **fHistoTrueSecondaryMotherFromLambdaInvMassPt; //! array of histos with validated secondary mothers from Lambda, invMass, pt
+               TH2F                                                            **fHistoTrueSecondaryPi0FromLambdaInvMassPt;    //! array of histos with validated secondary mothers from Lambda, invMass, pt
                TH1F                                                            **fHistoTrueLambdaWithPi0DaughterMCPt;                  //! array of histos with lambda with reconstructed pi0 as daughter, pt
                TH2F                                                            **fHistoTrueBckGGInvMassPt;                                             //! array of histos with pure gamma gamma combinatorial BG, invMass, pt
                TH2F                                                            **fHistoTrueBckContInvMassPt;                                   //! array of histos with contamination BG, invMass, pt
@@ -228,6 +255,7 @@ class AliAnalysisTaskGammaCalo : public AliAnalysisTaskSE {
                Int_t                                                           fDoMesonQA;                                                     // flag for meson QA
                Int_t                                                           fDoClusterQA;                                           // flag for cluster QA
                Bool_t                                                          fIsFromMBHeader;                                        // flag for MC headers
+               Bool_t                                                          fIsOverlappingWithOtherHeader;          // flag for particles in MC overlapping between headers
                Bool_t                                                          fIsMC;                                                          // flag for MC information
 
 
@@ -235,7 +263,7 @@ class AliAnalysisTaskGammaCalo : public AliAnalysisTaskSE {
                AliAnalysisTaskGammaCalo(const AliAnalysisTaskGammaCalo&); // Prevent copy-construction
                AliAnalysisTaskGammaCalo &operator=(const AliAnalysisTaskGammaCalo&); // Prevent assignment
 
-               ClassDef(AliAnalysisTaskGammaCalo, 1);
+               ClassDef(AliAnalysisTaskGammaCalo, 2);
 };
 
 #endif