]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEPEMGEN/AliGenQEDBg.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / TEPEMGEN / AliGenQEDBg.h
CommitLineData
0ebd3869 1#ifndef ALIGENQEDBG_H
2#define ALIGENQEDBG_H
3/* Copyright(c) 1998-2002, ALICE Experiment at CERN, All rights reserved. *
4 * Copyright(c) 1997, 1998, 2002, Adrian Alscher and Kai Hencken *
5 * Copyright(c) 2002 Kai Hencken, Yuri Kharlov, Serguei Sadovsky *
6 * See cxx source for full Copyright notice */
7
8/* $Id$ */
9// Event generator of single e+e- pair production in ultraperipheral PbPb collisions
10// at 5.5 TeV/nucleon.
11// Author: Yuri.Kharlov@cern.ch
12// 9 October 2002
13
14#include "AliGenMC.h"
15#include "AliGenEventHeader.h"
16#include "AliGenEpEmv1.h"
17
18//-------------------------------------------------------------
19class AliGenQEDBg : public AliGenEpEmv1
20{
21public:
22 AliGenQEDBg();
23
24 virtual ~AliGenQEDBg();
25 virtual void Generate();
26 virtual void Init();
27 //
28 Double_t GetLuminosity() const {return fLumi;}
29 Double_t GetIntegrationTime() const {return fIntTime;}
30 Double_t GetXSection() const {return fXSection;}
31 Double_t GetXSectionEps() const {return fXSectionEps;}
32 Double_t GetMeanNPairs() const {return fPairsInt;}
33 //
34 void SetLumiIntTime(double lumi, double intTime);
35 void SetXSectionEps(double eps=1e-2) {fXSectionEps = eps>0 ? eps:1e-2;}
36 void SetMinMaxXSTest(double mn,double mx);
37 //
38 protected:
39 AliGenQEDBg(const AliGenQEDBg & gen);
40 AliGenQEDBg & operator=(const AliGenQEDBg & gen);
41 //
42 Double_t fLumi; // beam luminsity
43 Double_t fXSection; // estimated cross section in k-barns
44 Double_t fXSectionEps; // error with wich Xsection is calculated
45 Double_t fIntTime; // integration time in seconds
46 Double_t fPairsInt; // estimated average number of pairs in IntTime
47 Double_t fMinXSTest; // min number of generator calls for Xsection estimate
48 Double_t fMaxXSTest; // max number of generator calls for Xsection estimate
49
50 //
51 ClassDef(AliGenQEDBg,1) // Generator e+e- pair background from PbPb QED interactions
52};
53#endif