AliPhysics  608b256 (608b256)
AliDalitzAODESDMC.h
Go to the documentation of this file.
1 #ifndef ALIDALITZAODESDMC_H
2 #define ALIDALITZAODESDMC_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 MonteCarlo data
19 #include "AliVTrack.h"
20 #include "AliDalitzAODESDMC.h"
21 #include "TParticle.h"
22 #include "AliAODMCParticle.h"
23 #include "AliMCEvent.h"
24 
25 class AliMCEvent;
26 class TParticle;
27 class AliAODMCParticle;
28 
29 
30 class AliDalitzAODESDMC: public TObject{
31 public:
32 
33  AliDalitzAODESDMC(TParticle* ltparticle):
34  TObject()
35  {
36  fIsESDMC=kTRUE;
37  tparticle=ltparticle;
38  };
39  AliDalitzAODESDMC(AliAODMCParticle* laliaodmcparticle):
40  TObject()
41  {
42  fIsESDMC=kFALSE;
43  aliaodmcparticle=laliaodmcparticle;
44  };
45  virtual ~AliDalitzAODESDMC() {}
46  Int_t GetMotherG();
52  Double_t PtG();
53  Double_t PxG();
54  Double_t PyG();
55  Double_t PzG();
56  Double_t EtaG();
59  Double_t EnergyG();
60 
62  return fIsESDMC;
63  }
64  TParticle* GetDalitzESDparticle(){
65  return tparticle;
66  };
67  AliAODMCParticle* GetDalitzAODparticle(){
68  return aliaodmcparticle;
69  };
70 
71 private:
72 
74  TParticle* tparticle;
75  AliAODMCParticle* aliaodmcparticle;
76  ClassDef( AliDalitzAODESDMC, 1 );
77  };
78 
79 
80 #endif // ALIDALITZAODESDMC_H
81 
82 // //
double Double_t
Definition: External.C:58
AliAODMCParticle * GetDalitzAODparticle()
virtual ~AliDalitzAODESDMC()
AliDalitzAODESDMC(AliAODMCParticle *laliaodmcparticle)
AliAODMCParticle * aliaodmcparticle
int Int_t
Definition: External.C:63
TParticle * GetDalitzESDparticle()
AliDalitzAODESDMC(TParticle *ltparticle)
bool Bool_t
Definition: External.C:53