//*************************************************************************
// Class AliAnalysisTaskSED0Mass
// AliAnalysisTaskSE for D0 candidates invariant mass histogram
-// and comparison to MC truth (kinematics stored in the AOD)
+// and comparison to MC truth (kinematics stored in the AOD) and cut variables
+// distributions
// Authors: A.Dainese, andrea.dainese@ln.infn.it
// and C.Bianchin, chiara.bianchin@pd.infn.it
//*************************************************************************
virtual void UserExec(Option_t *option);
virtual void Terminate(Option_t *option);
+ void SetArray(Int_t type=AliAnalysisTaskSED0Mass::kD0){fArray=type;}
+
+ enum{kD0,kLS};
private:
AliAnalysisTaskSED0Mass(const AliAnalysisTaskSED0Mass &source);
AliAnalysisTaskSED0Mass& operator=(const AliAnalysisTaskSED0Mass& source);
- void FillHists(Int_t ptbin, AliAODRecoDecayHF2Prong *part, TClonesArray *arrMC);
- TList *fOutput; //! list send on output slot 0
- //TNtuple *fNtupleD0Cmp; // output ntuple
- TClonesArray *fhistMass; // output total invariant mass histogram - no MC truth
- TClonesArray *fhistSgn; // output signal invariant mass histogram - use cuts
- TClonesArray *fhistBkg; // output background invariant mass histogram - use cuts
-
- AliAnalysisVertexingHF *fVHF; // Vertexer heavy flavour (used to pass the cuts)
-
- ClassDef(AliAnalysisTaskSED0Mass,1); // AliAnalysisTaskSE for the MC association of heavy-flavour decay candidates
+ void FillHists(Int_t ptbin, AliAODRecoDecayHF2Prong *part, TClonesArray *arrMC, AliAnalysisVertexingHF *vhf, TList *listout);
+ TList *fOutputPPR; //! list send on output slot 1
+ TList *fOutputloose; //! list send on output slot 2
+ TList *fDistr; //! list send on output slot 4
+ TH1F *fNentries; //! histogram with number of events on output slot 3
+ AliAnalysisVertexingHF *fVHFPPR; // Vertexer heavy flavour (used to pass the cuts)
+ AliAnalysisVertexingHF *fVHFloose; // Vertexer heavy flavour (used to pass the cuts)
+ Int_t fArray; // can be D0 or Like Sign candidates
+
+ Int_t fTotPosPairs[5]; //
+ Int_t fTotNegPairs[5]; //
+ Double_t fLsNormalization; // normalization
+
+
+ ClassDef(AliAnalysisTaskSED0Mass,2); // AliAnalysisTaskSE for the MC association of heavy-flavour decay candidates
};
#endif
-