AliPhysics  608b256 (608b256)
AliDalitzEventMC.h
Go to the documentation of this file.
1 #ifndef ALIDALITZEVENTMC_H
2 #define ALIDALITZEVENTMC_H
3 /**************************************************************************
4 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * *
6 * Author: Edgar Dominguez Rosas, Pedro Gonzalez Zamora *
7 * Version 1 *
8 * *
9 * Permission to use, copy, modify and distribute this software and its *
10 * documentation strictly for non-commercial purposes is hereby granted *
11 * without fee, provided that the above copyright notice appears in all *
12 * copies and that both the copyright notice and this permission notice *
13 * appear in the supporting documentation. The authors make no claims *
14 * about the suitability of this software for any purpose. It is *
15 * provided "as is" without express or implied warranty. *
16 **************************************************************************/
17 
18 // This class is to support AOD and ESD data
19 
20 #include "AliVTrack.h"
21 #include "AliVVertex.h"
22 #include "AliESDEvent.h"
23 #include "AliAODEvent.h"
24 //#include "AliAODEvent.h"
25 #include "AliDalitzAODESDMC.h"
26 
27 class AliESDtrack;
28 class AliESDVertex;
29 class AliAODtrack;
30 class AliAODVertex;
31 
32 class AliVEvent;
33 class AliVTrack;
34 class AliESDEvent;
35 class AliESDtrack;
36 class AliAODEvent;
37 class AliAODtrack;
38 
39 
41 public:
42 
43 
45  virtual ~AliDalitzEventMC();
46 
47  AliDalitzEventMC(AliMCEvent* lESDMCEvent);
48  AliDalitzEventMC(AliAODEvent* lAODMCEvent);
49 
50  //ESD
51  void SetInputEvent(AliMCEvent* lESDMCEvent){
52  fIsESDMC=kTRUE;
53  fESDEventMC=lESDMCEvent;
54  };
55  //AOD
56  void SetInputEvent(AliAODEvent* lAODMCEvent){
57  fIsESDMC=kFALSE;
58  fAODEvent=lAODMCEvent;
59  };
61 
62 
63  // AliDalitzAODESD* GetTrack(Int_t i);
64  // Int_t GetNumberOfTracks();
65  // const AliVVertex* GetPrimaryVertex();
66  // Int_t GetNumberOfV0s();
67 
68 private:
69 
70  AliMCEvent* fESDEventMC;
73 ClassDef( AliDalitzEventMC, 1 );
74 };
75 
76 #endif // ALIDALITZEVENTMC_H
AliDalitzAODESDMC * Particle(Int_t i)
AliMCEvent * fESDEventMC
int Int_t
Definition: External.C:63
virtual ~AliDalitzEventMC()
void SetInputEvent(AliMCEvent *lESDMCEvent)
bool Bool_t
Definition: External.C:53
AliAODEvent * fAODEvent
void SetInputEvent(AliAODEvent *lAODMCEvent)