]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/totEt/AliAnalysisEtMonteCarlo.h
Fixing issues with the reconstruction efficiency, adding histograms to do a simultane...
[u/mrichter/AliRoot.git] / PWGLF / totEt / AliAnalysisEtMonteCarlo.h
index 55de29fa30a057e61afa7282b30a9b3c20bccebb..f842ad7a7288c96724b69a725c336e19f73d2de3 100644 (file)
@@ -36,6 +36,10 @@ public:
 
     virtual void FillHistograms();
 
+    void CalcTrackMatchVsMult(){fCalcTrackMatchVsMult = kTRUE;}
+    void CalcForKaonCorrection(){fCalcForKaonCorrection = kTRUE;}
+    void IsData(){fIsMC = kFALSE;}
+
 protected:
 
     virtual bool TrackHitsCalorimeter(TParticle *part, Double_t magField=0.5);
@@ -51,6 +55,7 @@ protected:
 
 
 protected:
+    Bool_t fIsMC;//if we are running over data, we still need this object to exist but we don't want to do anything.
 
     Double_t fImpactParameter; // b(fm), for Hijing; 0 otherwise
     Int_t fNcoll; // Ncoll, for Hijing; 1 otherwise
@@ -173,27 +178,20 @@ protected:
     TH2F *fHistMultvsNonRemovedNeutralE; // enter comment here
     TH2F *fHistMultvsRemovedGammaE; // enter comment here
 
-    TH2F *fHistK0EDepositsVsPtForEOver000MeV; // enter comment here
-    TH2F *fHistK0EDepositsVsPtForEOver100MeV; // enter comment here
-    TH2F *fHistK0EDepositsVsPtForEOver150MeV; // enter comment here
-    TH2F *fHistK0EDepositsVsPtForEOver200MeV; // enter comment here
-    TH2F *fHistK0EDepositsVsPtForEOver250MeV; // enter comment here
-    TH2F *fHistK0EDepositsVsPtForEOver300MeV; // enter comment here
-    TH2F *fHistK0EDepositsVsPtForEOver350MeV; // enter comment here
-    TH2F *fHistK0EDepositsVsPtForEOver400MeV; // enter comment here
-    TH2F *fHistK0EDepositsVsPtForEOver450MeV; // enter comment here
-    TH2F *fHistK0EDepositsVsPtForEOver500MeV; // enter comment here
-
-    TH2F *fHistK0EGammaVsPtForEOver000MeV; // enter comment here
-    TH2F *fHistK0EGammaVsPtForEOver100MeV; // enter comment here
-    TH2F *fHistK0EGammaVsPtForEOver150MeV; // enter comment here
-    TH2F *fHistK0EGammaVsPtForEOver200MeV; // enter comment here
-    TH2F *fHistK0EGammaVsPtForEOver250MeV; // enter comment here
-    TH2F *fHistK0EGammaVsPtForEOver300MeV; // enter comment here
-    TH2F *fHistK0EGammaVsPtForEOver350MeV; // enter comment here
-    TH2F *fHistK0EGammaVsPtForEOver400MeV; // enter comment here
-    TH2F *fHistK0EGammaVsPtForEOver450MeV; // enter comment here
-    TH2F *fHistK0EGammaVsPtForEOver500MeV; // enter comment here
+    Bool_t fCalcForKaonCorrection;//turns on and off creation of kaon correction histograms
+    TH3F *fHistK0EDepositsVsPtInAcceptance; // enter comment here
+    TH3F *fHistK0EGammaVsPtInAcceptance; // enter comment here
+    TH3F *fHistK0EDepositsVsPtOutOfAcceptance; // enter comment here
+    TH3F *fHistK0EGammaVsPtOutOfAcceptance; // enter comment here
+    TH1F *fHistSimKaonsInAcceptance;// enter comment here
+    TH1F *fHistSimK0SInAcceptance;// enter comment here
+    TH1F *fHistSimKPlusInAcceptance;// enter comment here
+    TH1F *fHistSimKMinusInAcceptance;// enter comment here
+    TH1F *fHistSimK0LInAcceptance;// enter comment here
+    TH1F *fHistSimKaonsOutOfAcceptance;// enter comment here
+    TH1F *fHistSimKaonsInAcceptanceWithDepositsPrimaries;// enter comment here
+    TH1F *fHistSimKaonsOutOfAcceptanceWithDepositsSecondaries;// enter comment here
+    TH1F *fHistSimKaonsOutOfAcceptanceWithDepositsPrimaries;// enter comment here
 
     Float_t fEtNonRemovedProtons; // enter comment here
     Float_t fEtNonRemovedAntiProtons; // enter comment here
@@ -312,8 +310,45 @@ protected:
 
     Double_t fTotNeutralEtAfterMinEnergyCut; // enter comment here
     
+    Bool_t fCalcTrackMatchVsMult;
     TH1F *fHistGammasFound;
     TH1F *fHistGammasGenerated;
+    TH2F *fHistGammasFoundCent;
+    TH2F *fHistGammasGeneratedCent;
+    TH1F *fHistChargedTracksCut;
+    TH1F *fHistChargedTracksAccepted;
+    TH1F *fHistGammasCut;
+    TH1F *fHistGammasAccepted;
+    TH2F *fHistChargedTracksCutMult;
+    TH2F *fHistChargedTracksAcceptedMult;
+    TH2F *fHistChargedTracksAcceptedLowPtCent;
+    TH2F *fHistChargedTracksAcceptedLowPtCent500MeV;
+    TH2F *fHistChargedTracksAcceptedLowPtCentNoAntiProtons;
+    TH2F *fHistChargedTracksAcceptedLowPtCentAntiProtons;
+    TH2F *fHistGammasCutMult;
+    TH2F *fHistGammasAcceptedMult;
+    TH1F *fHistBadTrackMatches;
+    TH2F *fHistMatchedTracksEvspTBkgd;
+    TH2F *fHistMatchedTracksEvspTSignal;
+    TH2F *fHistMatchedTracksEvspTBkgdPeripheral;
+    TH2F *fHistMatchedTracksEvspTSignalPeripheral;
+    TH3F *fHistMatchedTracksEvspTBkgdvsCent;
+    TH3F *fHistMatchedTracksEvspTSignalvsCent;
+    TH3F *fHistMatchedTracksEvspTBkgdvsCentEffCorr;
+    TH3F *fHistMatchedTracksEvspTSignalvsCentEffCorr;
+    TH1F *fHistChargedTracksCutPeripheral;
+    TH1F *fHistChargedTracksAcceptedPeripheral;
+    TH1F *fHistGammasCutPeripheral;
+    TH1F *fHistGammasAcceptedPeripheral;
+    TH2F *fHistBadTrackMatchesdPhidEta;
+    TH2F *fHistGoodTrackMatchesdPhidEta;
+    TH1F *fHistHadronDepositsAll;
+    TH1F *fHistHadronDepositsReco;
+    TH2F *fHistHadronDepositsAllCent;
+    TH2F *fHistHadronDepositsAllCent500MeV;
+    TH2F *fHistHadronDepositsRecoCent;
+    TH2F *fHistHadronsAllCent;
+    TH3F *fHistMultChVsSignalVsMult;
 
 
 private: