Adding more histograms
[u/mrichter/AliRoot.git] / EVGEN / AliOmegaDalitz.h
CommitLineData
8c90f5a2 1#ifndef ALIOMEGADALITZ_H
2#define ALIOMEGADALITZ_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8//-----------------------------------------------------------------------------
9//
10// Generate lepton-pair mass distributions for Dalitz decays according
11// to the Kroll-Wada parametrization: N. Kroll, W. Wada: Phys. Rev 98(1955)1355
12//
13// For the electromagnetic form factor the parameterization from
14// Lepton-G is used: L.G. Landsberg et al.: Phys. Rep. 128(1985)301
15//
16//-----------------------------------------------------------------------------
17
18
19#include "AliDecayer.h"
20#include <TLorentzVector.h>
21
22class TH1F;
23class TClonesArray;
24
25class AliOmegaDalitz : public AliDecayer
26{
27 public:
28 AliOmegaDalitz();
29 virtual void Init();
30 virtual void Decay(Int_t idpart, TLorentzVector* p);
31 virtual Int_t ImportParticles(TClonesArray *particles);
32 virtual void SetForceDecay(Int_t) {;}
33 virtual void ForceDecay() {;}
34 virtual Float_t GetPartialBranchingRatio(Int_t /*ipart*/) {return -1;}
35 virtual Float_t GetLifetime(Int_t /*kf*/) {return -1;}
36 virtual void ReadDecayTable() {;}
37 virtual TH1F* LeptonPairMassHisto() {return fLPMass;}
05b093f3 38 //
39 virtual void Decay(TClonesArray* array);
40 virtual const TLorentzVector* Products() const {return fProducts;}
41 virtual void Copy(TObject&) const;
8c90f5a2 42 private:
43 virtual void Rot(Double_t pin[3], Double_t pout[3],
44 Double_t costheta, Double_t sintheta,
45 Double_t cosphi, Double_t sinphi);
05b093f3 46 AliOmegaDalitz(const AliOmegaDalitz &dalitz);
47 AliOmegaDalitz & operator=(const AliOmegaDalitz & rhs);
8c90f5a2 48
49 protected:
50 TH1F* fLPMass; // Histogram for lepton pair mass
51 TLorentzVector fProducts[3]; // Decay products
52 ClassDef(AliOmegaDalitz, 1) // AliDecayer implementation for omega Dalitz
53};
54
55#endif