BmnRoot
Loading...
Searching...
No Matches
BmnFunctionAna.h
Go to the documentation of this file.
1#ifndef BMNFUNCTIONANA_H
2#define BMNFUNCTIONANA_H 1
3
4#include "FairField.h"
5
6#include "TString.h"
7
10{
11 public:
12 // get magnetic field from a specified DST file
13 // fileName: DST file path [in]
14 // fieldScale: magnetic field scale [out]; fieldType: magnetic field type [out]
15 // returns magnetic field, nullptr - if some errors occured
16 static FairField* GetDSTField(TString fileName, Double_t& fieldScale, Int_t& fieldType);
17
18 private:
21
22 ClassDef(BmnFunctionAna,1)
23};
24
25#endif
static FairField * GetDSTField(TString fileName, Double_t &fieldScale, Int_t &fieldType)