// Author: I. Froehlich
// Written: 09.11.2010
// Revised: 

#ifndef _PSIMPLEVMDFF_H_
#define _PSIMPLEVMDFF_H_

#include "TF1.h"
#include "TF2.h"
#include "PChannelModel.h"
#include "PBatch.h"

class PSimpleVMDFF : public PChannelModel  {
  
 public:
    PSimpleVMDFF();
    PSimpleVMDFF(const Char_t *id, const Char_t *de, Int_t key);
    PDistribution* Clone(const char *delme=NULL) const;

    Bool_t Init(void);
    
    using PChannelModel::GetWeight;
	
    Double_t GetWeight(void);
    Double_t GetWeight(Double_t *mass, Int_t *didx=NULL);

    void SetVectorMesonMass(Double_t x) {
	vector_meson_mass  = x;
	vector_meson_mass2 = x*x;
    };

    Bool_t AddEquation(const char *command);

 private:

    Double_t vector_meson_mass, vector_meson_mass2;  //value of m_V
    Double_t *vff2, *vq, *vq2;

    PBatch *batch;

    PParticle *dilepton, *dilepton2, *parent, *ep, *em;

    ClassDef(PSimpleVMDFF, 0)  //Simple VMD FF

};

#endif


 PSimpleVMDFF.h:1
 PSimpleVMDFF.h:2
 PSimpleVMDFF.h:3
 PSimpleVMDFF.h:4
 PSimpleVMDFF.h:5
 PSimpleVMDFF.h:6
 PSimpleVMDFF.h:7
 PSimpleVMDFF.h:8
 PSimpleVMDFF.h:9
 PSimpleVMDFF.h:10
 PSimpleVMDFF.h:11
 PSimpleVMDFF.h:12
 PSimpleVMDFF.h:13
 PSimpleVMDFF.h:14
 PSimpleVMDFF.h:15
 PSimpleVMDFF.h:16
 PSimpleVMDFF.h:17
 PSimpleVMDFF.h:18
 PSimpleVMDFF.h:19
 PSimpleVMDFF.h:20
 PSimpleVMDFF.h:21
 PSimpleVMDFF.h:22
 PSimpleVMDFF.h:23
 PSimpleVMDFF.h:24
 PSimpleVMDFF.h:25
 PSimpleVMDFF.h:26
 PSimpleVMDFF.h:27
 PSimpleVMDFF.h:28
 PSimpleVMDFF.h:29
 PSimpleVMDFF.h:30
 PSimpleVMDFF.h:31
 PSimpleVMDFF.h:32
 PSimpleVMDFF.h:33
 PSimpleVMDFF.h:34
 PSimpleVMDFF.h:35
 PSimpleVMDFF.h:36
 PSimpleVMDFF.h:37
 PSimpleVMDFF.h:38
 PSimpleVMDFF.h:39
 PSimpleVMDFF.h:40
 PSimpleVMDFF.h:41
 PSimpleVMDFF.h:42
 PSimpleVMDFF.h:43
 PSimpleVMDFF.h:44
 PSimpleVMDFF.h:45
 PSimpleVMDFF.h:46
 PSimpleVMDFF.h:47
 PSimpleVMDFF.h:48
 PSimpleVMDFF.h:49