[5d2481f] | 1 | /*
|
---|
| 2 | * Delphes: a framework for fast simulation of a generic collider experiment
|
---|
| 3 | * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium
|
---|
| 4 | *
|
---|
| 5 | * This program is free software: you can redistribute it and/or modify
|
---|
| 6 | * it under the terms of the GNU General Public License as published by
|
---|
| 7 | * the Free Software Foundation, either version 3 of the License, or
|
---|
| 8 | * (at your option) any later version.
|
---|
| 9 | *
|
---|
| 10 | * This program is distributed in the hope that it will be useful,
|
---|
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 13 | * GNU General Public License for more details.
|
---|
| 14 | *
|
---|
| 15 | * You should have received a copy of the GNU General Public License
|
---|
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
| 17 | */
|
---|
| 18 |
|
---|
| 19 | #ifndef PhotonConversions_h
|
---|
| 20 | #define PhotonConversions_h
|
---|
| 21 |
|
---|
| 22 | /** \class PhotonConversions
|
---|
| 23 | *
|
---|
| 24 | * Converts photons into e+ e- pairs according to material ditribution in the detector.
|
---|
| 25 | *
|
---|
| 26 | * \author M. Selvaggi - UCL, Louvain-la-Neuve
|
---|
| 27 | *
|
---|
| 28 | */
|
---|
| 29 |
|
---|
| 30 | #include "classes/DelphesModule.h"
|
---|
| 31 |
|
---|
| 32 | class TClonesArray;
|
---|
| 33 | class TIterator;
|
---|
| 34 | class DelphesCylindricalFormula;
|
---|
| 35 | class TF1;
|
---|
| 36 |
|
---|
| 37 | class PhotonConversions: public DelphesModule
|
---|
| 38 | {
|
---|
| 39 | public:
|
---|
| 40 | PhotonConversions();
|
---|
| 41 | ~PhotonConversions();
|
---|
| 42 |
|
---|
| 43 | void Init();
|
---|
| 44 | void Process();
|
---|
| 45 | void Finish();
|
---|
| 46 |
|
---|
| 47 | private:
|
---|
| 48 | Double_t fRadius, fRadius2, fHalfLength;
|
---|
| 49 | Double_t fEtaMin, fEtaMax;
|
---|
| 50 |
|
---|
| 51 | TIterator *fItInputArray; //!
|
---|
| 52 |
|
---|
| 53 | const TObjArray *fInputArray; //!
|
---|
| 54 |
|
---|
| 55 | TObjArray *fOutputArray; //!
|
---|
[c1ce3fe] | 56 |
|
---|
[5d2481f] | 57 | DelphesCylindricalFormula *fConversionMap; //!
|
---|
[c1ce3fe] | 58 |
|
---|
[5d2481f] | 59 | TF1 *fDecayXsec; //!
|
---|
[c1ce3fe] | 60 |
|
---|
| 61 | Double_t fStep;
|
---|
[5d2481f] | 62 |
|
---|
| 63 | ClassDef(PhotonConversions, 1)
|
---|
| 64 | };
|
---|
| 65 |
|
---|
| 66 | #endif
|
---|