[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 |
|
---|
| 41 | PhotonConversions();
|
---|
| 42 | ~PhotonConversions();
|
---|
| 43 |
|
---|
| 44 | void Init();
|
---|
| 45 | void Process();
|
---|
| 46 | void Finish();
|
---|
| 47 |
|
---|
| 48 | private:
|
---|
| 49 |
|
---|
| 50 | Double_t fRadius, fRadius2, fHalfLength;
|
---|
| 51 | Double_t fEtaMin, fEtaMax;
|
---|
| 52 |
|
---|
| 53 | TIterator *fItInputArray; //!
|
---|
| 54 |
|
---|
| 55 | const TObjArray *fInputArray; //!
|
---|
| 56 |
|
---|
| 57 | TObjArray *fOutputArray; //!
|
---|
[c1ce3fe] | 58 |
|
---|
[5d2481f] | 59 | DelphesCylindricalFormula *fConversionMap; //!
|
---|
[c1ce3fe] | 60 |
|
---|
[5d2481f] | 61 | TF1 *fDecayXsec; //!
|
---|
[c1ce3fe] | 62 |
|
---|
| 63 | Double_t fStep;
|
---|
[5d2481f] | 64 |
|
---|
| 65 | ClassDef(PhotonConversions, 1)
|
---|
| 66 | };
|
---|
| 67 |
|
---|
| 68 | #endif
|
---|