[b982244] | 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 EnergyLoss_h
|
---|
| 20 | #define EnergyLoss_h
|
---|
| 21 |
|
---|
| 22 | /** \class EnergyLoss
|
---|
| 23 | *
|
---|
[6777565] | 24 | * This module computes the charged energy loss according to the active material properties.
|
---|
| 25 | * The energy loss is simulated with a Landau convoluted by a Gaussian.
|
---|
[b982244] | 26 | *
|
---|
[6777565] | 27 | * \author M. Selvaggi - CERN
|
---|
[b982244] | 28 | *
|
---|
| 29 | */
|
---|
| 30 |
|
---|
| 31 | #include "classes/DelphesModule.h"
|
---|
| 32 | #include <map>
|
---|
| 33 | #include "TF1.h"
|
---|
| 34 |
|
---|
| 35 | class TIterator;
|
---|
| 36 | class TObjArray;
|
---|
| 37 | class DelphesFormula;
|
---|
| 38 |
|
---|
| 39 | class EnergyLoss: public DelphesModule
|
---|
| 40 | {
|
---|
| 41 | public:
|
---|
| 42 | EnergyLoss();
|
---|
| 43 | ~EnergyLoss();
|
---|
| 44 |
|
---|
| 45 | void Init();
|
---|
| 46 | void Process();
|
---|
| 47 | void Finish();
|
---|
| 48 |
|
---|
| 49 | private:
|
---|
[6777565] | 50 |
|
---|
| 51 | Double_t fActiveFraction;
|
---|
| 52 | Double_t fThickness;
|
---|
| 53 |
|
---|
| 54 | Double_t fResolution;
|
---|
| 55 | Double_t fTruncatedMeanFraction;
|
---|
[b982244] | 56 |
|
---|
| 57 | // material parameters
|
---|
[6777565] | 58 | Double_t fZ;
|
---|
| 59 | Double_t fA;
|
---|
| 60 | Double_t fRho;
|
---|
[b982244] | 61 |
|
---|
[6777565] | 62 | Double_t fAa;
|
---|
| 63 | Double_t fM;
|
---|
| 64 | Double_t fX0;
|
---|
| 65 | Double_t fX1;
|
---|
| 66 | Double_t fI;
|
---|
| 67 | Double_t fC0;
|
---|
[b982244] | 68 |
|
---|
| 69 | // this function computes corrections due to polarisation of the material
|
---|
| 70 | Double_t Deltaf(Double_t c0, Double_t a, Double_t m, Double_t x0, Double_t x1, Double_t beta, Double_t gamma);
|
---|
| 71 |
|
---|
[6777565] | 72 | // this function computes truncated of dEdx measurements
|
---|
| 73 | Double_t TruncatedMean(std::vector<Double_t> elosses, Double_t truncFrac);
|
---|
| 74 |
|
---|
[b982244] | 75 | std::vector<TIterator *> fInputList; //!
|
---|
| 76 |
|
---|
| 77 | ClassDef(EnergyLoss, 1)
|
---|
| 78 |
|
---|
| 79 | };
|
---|
| 80 |
|
---|
| 81 | #endif
|
---|