PandaRoot
PndTransMap.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 
28 #ifndef PNDTRANSEMAP_H
29 #define PNDTRANSEMAP_H 1
30 
31 #include "PndFieldMap.h"
32 
33 class PndTransPar;
34 
35 class PndTransMap : public PndFieldMap {
36 
37  public:
39  PndTransMap();
40 
45  PndTransMap(const char *mapName, const char *fileType = "R", Double_t BeamMom = 15.0);
46 
48  PndTransMap(PndTransPar *fieldPar);
49 
51  virtual ~PndTransMap();
52 
59  virtual Bool_t IsInside(Double_t x, Double_t y, Double_t z, Int_t &ix, Int_t &iy, Int_t &iz, Double_t &dx, Double_t &dy, Double_t &dz);
60 
61  void GetBxyz(const Double_t point[3], Double_t *bField);
62 
63  void FillParContainer();
64 
65  protected:
66  // Hemispheres of a point (for temporary use)
67  Double_t fHemiX, fHemiY;
68  Double_t fBeamMom;
69 
70  ClassDef(PndTransMap, 1)
71 };
72 
73 #endif
virtual Bool_t IsInside(Double_t x, Double_t y, Double_t z, Int_t &ix, Int_t &iy, Int_t &iz, Double_t &dx, Double_t &dy, Double_t &dz)
Double_t fHemiX
Definition: PndTransMap.h:67
Double_t fBeamMom
Definition: PndTransMap.h:68
Double_t fHemiY
Definition: PndTransMap.h:67
void FillParContainer()
virtual ~PndTransMap()
void GetBxyz(const Double_t point[3], Double_t *bField)