AliPhysics  608b256 (608b256)
AliDalitzData.h
Go to the documentation of this file.
1 #ifndef ALIDALITZDATA_H
2 #define ALIDALITZDATA_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 "AliDalitzAODESD.h"
25 
26 class AliESDtrack;
27 class AliESDVertex;
28 class AliAODtrack;
29 class AliAODVertex;
30 
31 class AliVEvent;
32 class AliVTrack;
33 class AliESDEvent;
34 class AliESDtrack;
35 class AliAODEvent;
36 class AliAODtrack;
37 
38 
40 public:
41 
42  AliDalitzData();
43  virtual ~AliDalitzData();
44 
45  AliDalitzData(AliESDEvent* lESDEvent);
46  AliDalitzData(AliAODEvent* lAODEvent);
47  //ESD
48  void SetInputEvent(AliESDEvent* lESDEvent){
49  fIsESD=kTRUE;
50  fESDEvent=lESDEvent;
51  };
52  void SetInputEvent(AliAODEvent* lAODEvent){
53  fIsESD=kFALSE;
54  fAODEvent=lAODEvent;
55  };
56  AliVEvent* GetInputEvent(){
57  if(fIsESD) return fESDEvent;
58  else return fAODEvent;
59  }
64  const AliVVertex* GetPrimaryVertex();
66 
67 
68 
69 
70 private:
71 
75 ClassDef( AliDalitzData, 1 );
76 };
77 
78 #endif // ALIDALITZDATA_H
79 
virtual ~AliDalitzData()
void SetInputEvent(AliESDEvent *lESDEvent)
Definition: AliDalitzData.h:48
Int_t GetNumberOfV0s()
const AliVVertex * GetPrimaryVertex()
AliAODEvent * fAODEvent
Definition: AliDalitzData.h:73
Int_t GetNumberOfITSClustersG(Int_t i)
void SetInputEvent(AliAODEvent *lAODEvent)
Definition: AliDalitzData.h:52
AliESDEvent * fESDEvent
Definition: AliDalitzData.h:72
int Int_t
Definition: External.C:63
AliDalitzAODESD * GetTrack(Int_t i)
AliVEvent * GetInputEvent()
Definition: AliDalitzData.h:56
Int_t GetNumberOfTrackletsG()
Int_t GetNumberOfTracks()
bool Bool_t
Definition: External.C:53