File indexing completed on 2025-08-05 08:15:12
0001 #ifndef __LANGEVIN_H__
0002 #define __LANGEVIN_H__
0003
0004
0005
0006
0007
0008
0009
0010 #include "TH3F.h"
0011
0012 class Langevin {
0013 public:
0014 Langevin();
0015 virtual ~Langevin();
0016 void ReadFile();
0017 void SetDebugLevel(int n) {fDebug=n;}
0018 void Make();
0019 void TPCDimensions(float irad, float orad, float hzet) {fInnerRadius=irad; fOutterRadius=orad; fHalfLength=hzet;}
0020 void TPCGridSize(int nr, int np, int nz) {fNRadialSteps=nr; fNAzimuthalSteps=np; fNLongitudinalSteps=nz;}
0021 void OutputFileName(std::string a) {fFileNameRoot=a;}
0022
0023 protected:
0024 void InitMaps();
0025 void SaveMaps();
0026 int fDebug;
0027
0028 TH3F *fEr;
0029 TH3F *fEp;
0030 TH3F *fEz;
0031 TH3F *fDeltaR;
0032 TH3F *fRDeltaPHI;
0033
0034 float fInnerRadius;
0035 float fOutterRadius;
0036 float fHalfLength;
0037 int fNRadialSteps;
0038 int fNAzimuthalSteps;
0039 int fNLongitudinalSteps;
0040 std::string fFileNameRoot;
0041 };
0042
0043 #endif