PandaRoot
TGeoMaterialInterface.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 /* Copyright 2008-2014, Technische Universitaet Muenchen,
14  Authors: Christian Hoeppner & Sebastian Neubert & Johannes Rauch
15 
16  This file is part of GENFIT.
17 
18  GENFIT is free software: you can redistribute it and/or modify
19  it under the terms of the GNU Lesser General Public License as published
20  by the Free Software Foundation, either version 3 of the License, or
21  (at your option) any later version.
22 
23  GENFIT is distributed in the hope that it will be useful,
24  but WITHOUT ANY WARRANTY; without even the implied warranty of
25  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26  GNU Lesser General Public License for more details.
27 
28  You should have received a copy of the GNU Lesser General Public License
29  along with GENFIT. If not, see <http://www.gnu.org/licenses/>.
30 */
31 
36 #ifndef genfit_TGeoMaterialInterface_h
37 #define genfit_TGeoMaterialInterface_h
38 
39 #include "AbsMaterialInterface.h"
40 
41 namespace genfit {
42 
47 
48  public:
51 
55  bool initTrack(double posX, double posY, double posZ, double dirX, double dirY, double dirZ);
56 
59  void getMaterialParameters(double &density, double &Z, double &A, double &radiationLength, double &mEE);
60 
61  void getMaterialParameters(MaterialProperties &parameters);
62 
69  double findNextBoundary(const RKTrackRep *rep, const M1x7 &state7, double sMax, bool varField = true);
70 
71  // ClassDef(TGeoMaterialInterface, 1);
72 
73  private:
74 };
75 
76 } /* End of namespace genfit */
79 #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&#39;s TGeoManager.
double M1x7[1 *7]
Definition: RKTools.h:48
void getMaterialParameters(double &density, double &Z, double &A, double &radiationLength, double &mEE)
Get material parameters in current material.
AbsTrackRep with 5D track parameterization in plane coordinates: (q/p, u&#39;, v&#39;, u, v) ...
Matrix inversion tools.
Definition: AbsBField.h:40