BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnGeoNavigator.h
Go to the documentation of this file.
1/** BmnTGeoNavigator.h
2 * \author Andrey Lebedev <andrey.lebedev@gsi.de> - Original author. First version of code for CBM experiment.
3 * \author Sergey Merts <Sergey.Merts@gmail.com> - Modification for BMN experiment.
4 * \date 2008-2014
5 **
6 ** The class performs geometry navigation, which is based on the ROOT TGeoManager.
7 **/
8
9#ifndef BMNGEONAVIGATOR_H_
10#define BMNGEONAVIGATOR_H_
11
12#include "BmnEnums.h"
13#include "BmnMaterialInfo.h"
14#include "FairTrackParam.h"
15#include "TObject.h"
16
17#include <vector>
18
19using namespace std;
20
22{
23 public:
24 /* Constructor */
26
27 /* Destructor */
29
30 BmnStatus FindIntersections(const FairTrackParam* par, Float_t zOut, vector<BmnMaterialInfo>& inter);
31
32 private:
33 /* Sets the current position and direction for the TGeoManager
34 * @param par Track parameter from which the current position and direction will be initialized.
35 */
36 void InitTrack(const FairTrackParam* par, Bool_t downstream) const;
37
38 /* Make a step: if step=0 than to the next crossing boundary, else
39 * make a step of length step.
40 * @param step Step size [cm].
41 * @return Crossed material information
42 */
44
45 /* Calculates length between current position and the point on the plane at zOut.
46 * @param zOut Output Z position [cm]
47 * @return Length.
48 */
50};
51
52#endif /*BMNGEONAVIGATOR_H_*/
bool Bool_t
float Float_t
BmnStatus
Define status code.
Definition BmnEnums.h:93
BmnStatus FindIntersections(const FairTrackParam *par, Float_t zOut, vector< BmnMaterialInfo > &inter)
void InitTrack(const FairTrackParam *par, Bool_t downstream) const
BmnMaterialInfo MakeStep(Float_t step=0.) const
Float_t CalcLength(Float_t zOut) const
virtual ~BmnGeoNavigator()
Define enumerations used in tracking.
Definition json.hpp:4446