Line data Source code
1 : //--------------------------------------------------------------------------
2 : //
3 : // Environment:
4 : // This software is part of the EvtGen package. If you use all or part
5 : // of it, please give an appropriate acknowledgement.
6 : //
7 : // Copyright Information: See EvtGen/COPYRIGHT
8 : // Copyright (C) 2012 University of Warwick, UK
9 : //
10 : // Module: EvtNoRadCorr
11 : //
12 : // Description: Create an empty radiative correction engine which does nothing.
13 : // This is required since the EvtGen constructor still needs at least one
14 : // concrete implementation of EvtAbsRadCorr for the case when Photos is not used.
15 : //
16 : // Modification history:
17 : //
18 : // John Back Sept 2012 Module created
19 : //
20 : //------------------------------------------------------------------------------
21 : //
22 :
23 : #ifndef EVTNORADCORR_HH
24 : #define EVTNORADCORR_HH
25 :
26 : #include "EvtGenBase/EvtAbsRadCorr.hh"
27 : #include <string>
28 :
29 : class EvtParticle;
30 :
31 : class EvtNoRadCorr : public EvtAbsRadCorr {
32 :
33 : public:
34 :
35 0 : EvtNoRadCorr() {;}
36 0 : virtual ~EvtNoRadCorr() {;}
37 :
38 0 : virtual void doRadCorr(EvtParticle *p) {;}
39 :
40 : private:
41 :
42 : };
43 :
44 : #endif
45 :
|