]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/EvtGenExternal/EvtPhotosEngine.hh
Fix axis label
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenExternal / EvtPhotosEngine.hh
CommitLineData
0ca57c2f 1#ifdef EVTGEN_PHOTOS
2//--------------------------------------------------------------------------
3//
4// Environment:
5// This software is part of the EvtGen package. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/COPYRIGHT
9// Copyright (C) 2011 University of Warwick, UK
10//
11// Module: EvtPhotosEngine
12//
13// Description: Interface to the PHOTOS external generator
14//
15// Modification history:
16//
17// John Back May 2011 Module created
18//
19//------------------------------------------------------------------------
20
21#ifndef EVTPHOTOSENGINE_HH
22#define EVTPHOTOSENGINE_HH
23
24#include "EvtGenModels/EvtAbsExternalGen.hh"
25#include "EvtGenBase/EvtParticle.hh"
26#include "EvtGenBase/EvtId.hh"
27#include "EvtGenBase/EvtVector4R.hh"
28
29#include "HepMC/GenEvent.h"
30#include "HepMC/GenParticle.h"
31
32#include <string>
33
34class EvtPhotosEngine : public EvtAbsExternalGen {
35
36public:
37
38 EvtPhotosEngine(std::string photonType = "gamma", bool useEvtGenRandom = true);
39 virtual ~EvtPhotosEngine();
40
41 virtual bool doDecay(EvtParticle* theMother);
42
43 virtual void initialise();
44
45protected:
46
47private:
48
49 std::string _photonType;
50 EvtId _gammaId;
51 double _mPhoton;
52 bool _initialised;
53
54 HepMC::GenParticle* createGenParticle(EvtParticle* theParticle, bool incoming);
55
56};
57
58#endif
59
60#endif