AliPhysics  b555aef (b555aef)
AliBaseMCWeights.h
Go to the documentation of this file.
1 #ifndef ALIROOT_ALIBASEDMCWEIGHTS
2 #define ALIROOT_ALIBASEDMCWEIGHTS
3 
12 #include <TObject.h>
13 class TList;
14 class AliMCParticle;
15 
21 class AliBaseMCWeights : public TObject
22 {
23 public:
45  virtual ~AliBaseMCWeights() {}
61  virtual Double_t CalcWeight(const AliMCParticle* p,
62  Bool_t isPrimary,
63  Double_t phiR,
64  Double_t b) const;
77  virtual Double_t CalcWeight(Double_t eta,
78  Double_t pt,
79  Double_t phi,
80  Int_t id,
81  Double_t phiR,
82  Double_t b) const = 0;
88  virtual void Init(TList* l);
94  virtual void Print(Option_t* option="") const;
95 
96  ClassDef(AliBaseMCWeights,1);
97 };
98 
99 #endif
100 // Local Variables:
101 // mode: C++
102 // End:
double Double_t
Definition: External.C:58
virtual void Print(Option_t *option="") const
int Int_t
Definition: External.C:63
AliBaseMCWeights & operator=(const AliBaseMCWeights &o)
virtual ~AliBaseMCWeights()
virtual void Init(TList *l)
const char Option_t
Definition: External.C:48
AliBaseMCWeights(const AliBaseMCWeights &o)
bool Bool_t
Definition: External.C:53
virtual Double_t CalcWeight(const AliMCParticle *p, Bool_t isPrimary, Double_t phiR, Double_t b) const