Fork me on GitHub

source: git/modules/EnergyLoss.h@ 6777565

Timing
Last change on this file since 6777565 was 6777565, checked in by michele <michele.selvaggi@…>, 5 years ago

truncated mean implementation of dedx

  • Property mode set to 100644
File size: 2.0 KB
Line 
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 *
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.
26 *
27 * \author M. Selvaggi - CERN
28 *
29 */
30
31#include "classes/DelphesModule.h"
32#include <map>
33#include "TF1.h"
34
35class TIterator;
36class TObjArray;
37class DelphesFormula;
38
39class EnergyLoss: public DelphesModule
40{
41public:
42 EnergyLoss();
43 ~EnergyLoss();
44
45 void Init();
46 void Process();
47 void Finish();
48
49private:
50
51 Double_t fActiveFraction;
52 Double_t fThickness;
53
54 Double_t fResolution;
55 Double_t fTruncatedMeanFraction;
56
57 // material parameters
58 Double_t fZ;
59 Double_t fA;
60 Double_t fRho;
61
62 Double_t fAa;
63 Double_t fM;
64 Double_t fX0;
65 Double_t fX1;
66 Double_t fI;
67 Double_t fC0;
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
72 // this function computes truncated of dEdx measurements
73 Double_t TruncatedMean(std::vector<Double_t> elosses, Double_t truncFrac);
74
75 std::vector<TIterator *> fInputList; //!
76
77 ClassDef(EnergyLoss, 1)
78
79};
80
81#endif
Note: See TracBrowser for help on using the repository browser.