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 // Using AliHFEpidQA and AliHFEMCpidQA
18 // More information can be found in the source file
20 #ifndef ALIANALYSISTASKCHECKV0TENDER_H
21 #define ALIANALYSISTASKCHECKV0TENDER_H
23 #ifndef ALIANALYSISTASKSE_H
24 #include "AliAnalysisTaskSE.h"
29 class AliHFEcollection;
31 class AliAnalysisTaskCheckV0tender : public AliAnalysisTaskSE{
33 enum{ // Reconstructed V0
40 enum{ // Identified Daughter particles
47 AliAnalysisTaskCheckV0tender();
48 AliAnalysisTaskCheckV0tender(const Char_t *name);
49 ~AliAnalysisTaskCheckV0tender();
51 virtual void UserCreateOutputObjects();
52 virtual void UserExec(Option_t *);
53 virtual void Terminate(Option_t *);
57 void ProcessDaughters();
59 void ProcessDaughtersMC();
61 Int_t GetTenderPidV0(AliESDv0 * const v0);
62 Int_t GetTenderPidDaughter(AliESDtrack * const track);
65 AliAnalysisTaskCheckV0tender(const AliAnalysisTaskCheckV0tender &ref);
66 AliAnalysisTaskCheckV0tender &operator=(const AliAnalysisTaskCheckV0tender &ref);
68 Float_t MassV0(AliESDv0 * const v0, Int_t id);
69 Bool_t CheckSigns(AliESDv0 * const v0);
70 TList *fOutput; //! Container for output histos
71 AliHFEcollection *fColl; //! collection of Data output
72 AliHFEcollection *fCollMC; //! collection of MC output
73 TH1 *fEvents; //! Number of Events
74 ClassDef(AliAnalysisTaskCheckV0tender, 1)