FairRoot/PandaRoot
TGeoMaterialInterface.h
Go to the documentation of this file.
1 /* Copyright 2008-2014, Technische Universitaet Muenchen,
2  Authors: Christian Hoeppner & Sebastian Neubert & Johannes Rauch
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 
24 #ifndef genfit_TGeoMaterialInterface_h
25 #define genfit_TGeoMaterialInterface_h
26 
27 #include "AbsMaterialInterface.h"
28 
29 
30 namespace genfit {
31 
36 
37  public:
38 
41 
45  bool initTrack(double posX, double posY, double posZ,
46  double dirX, double dirY, double dirZ);
47 
50  void getMaterialParameters(double& density,
51  double& Z,
52  double& A,
53  double& radiationLength,
54  double& mEE);
55 
56  void getMaterialParameters(MaterialProperties& parameters);
57 
64  double findNextBoundary(const RKTrackRep* rep,
65  const M1x7& state7,
66  double sMax,
67  bool varField = true);
68 
69  // ClassDef(TGeoMaterialInterface, 1);
70 
71  private:
72 };
73 
74 } /* End of namespace genfit */
77 #endif // genfit_TGeoMaterialInterface_h
bool initTrack(double posX, double posY, double posZ, double dirX, double dirY, double dirZ)
Initialize the navigator at given position and with given direction. Returns true if the volume chang...
Abstract base class for geometry interfacing.
double findNextBoundary(const RKTrackRep *rep, const M1x7 &state7, double sMax, bool varField=true)
Make a step (following the curvature) until step length sMax or the next boundary is reached...
Material properties needed e.g. for material effects calculation.
AbsMaterialInterface implementation for use with ROOT's TGeoManager.
double M1x7[1 *7]
Definition: RKTools.h:36
void getMaterialParameters(double &density, double &Z, double &A, double &radiationLength, double &mEE)
Get material parameters in current material.
double Z
Definition: anaLmdDigi.C:68
AbsTrackRep with 5D track parameterization in plane coordinates: (q/p, u', v', u, v) ...
Matrix inversion tools.
Definition: AbsBField.h:29