GFEnergyLossBrems.h
Go to the documentation of this file.
1 /* Copyright 2008-2009, Technische Universitaet Muenchen,
2  Authors: Christian Hoeppner & Sebastian Neubert
3 
4  This file is part of GENFIT.
5 
6  GENFIT is free software: you can redistribute it and/or modify
7  it under the terms of the GNU Lesser General Public License as published
8  by the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  GENFIT is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public License
17  along with GENFIT. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 /** @addtogroup RKTrackRep
21  * @{
22  */
23 
24 #ifndef GFENERGYLOSSBREMS_H
25 #define GFENERGYLOSSBREMS_H
26 
27 #include "RtypesCore.h"
28 class TVector3;
29 
30 #include"GFAbsEnergyLoss.h"
31 
32 
33 /** @brief Energy loss for electrons/positrons due to bremsstrahlung, energy loss straggeling
34  *
35  * @author Christian H&ouml;ppner (Technische Universit&auml;t M&uuml;nchen, original author)
36  * @author Sebastian Neubert (Technische Universit&auml;t M&uuml;nchen, original author)
37  * @author Johannes Rauch (Technische Universit&auml;t M&uuml;nchen, author)
38  *
39  *
40  *
41  *
42  *
43  */
44 namespace genf {
45 
47  public:
48  //! Returns energy loss, optional calculation of energy loss straggeling
49  /** Can be called with any pdg, but only calculates energy loss and straggeling for electrons and positrons (otherwise returns 0).
50  * Uses a gaussian approximation (Bethe-Heitler formula with Migdal corrections).
51  * For positrons the energy loss is weighed with a correction factor.
52  */
53  double energyLoss(const double& step,
54  const double& mom,
55  const int& pdg,
56  const double& matDensity,
57  const double& matZ,
58  const double& matA,
59  const double& radiationLength,
60  const double& meanExcitationEnergy,
61  const bool& doNoise = false,
62  TMatrixT<Double_t>* noise = NULL,
63  const TMatrixT<Double_t>* jacobian = NULL,
64  const TVector3* directionBefore = NULL,
65  const TVector3* directionAfter = NULL);
66  virtual ~GFEnergyLossBrems();
67 
68  // public:
69  //ClassDef(GFEnergyLossBrems,1);
70 
71 };
72 }
73 
74 #endif
75 
76 /** @} */
Generic Interface to magnetic fields in GENFIT.
Definition: GFAbsBField.h:35
double energyLoss(const double &step, const double &mom, const int &pdg, const double &matDensity, const double &matZ, const double &matA, const double &radiationLength, const double &meanExcitationEnergy, const bool &doNoise=false, TMatrixT< Double_t > *noise=NULL, const TMatrixT< Double_t > *jacobian=NULL, const TVector3 *directionBefore=NULL, const TVector3 *directionAfter=NULL)
Returns energy loss, optional calculation of energy loss straggeling.