1#ifndef MAGFIELDREADER_H
2#define MAGFIELDREADER_H 1
9#include "GaudiKernel/Algorithm.h"
10#include "GaudiKernel/NTuple.h"
11#include "BesTimerSvc/IBesTimerSvc.h"
12#include "BesTimerSvc/BesTimerSvc.h"
39 StatusCode readField();
45 double m_zMin, m_zMax, m_step;
48 double m_xMin, m_xMax, m_yMin, m_yMax;
50 NTuple::Tuple* m_ntuple;
51 NTuple::Tuple* m_tuple1;
52 NTuple::Tuple* m_tuple2;
53 NTuple::Tuple* m_tuple3;
54 NTuple::Tuple* m_tuple4;
55 NTuple::Item<float> m_x, m_y, m_z, m_Bx, m_By, m_Bz, m_r;
56 NTuple::Item<float> m_x2, m_y2, m_z2, m_Bx2, m_By2, m_Bz2, m_r2;
57 NTuple::Item<float> m_x3, m_y3, m_z3, m_Bx3, m_By3, m_Bz3, m_r3, m_phi3;
58 NTuple::Item<float> m_sigma_bx,m_sigma_by,m_sigma_bz;
59 NTuple::Item<float> m_time;
61 std::string m_filename;
MagFieldReader(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
virtual StatusCode finalize()
Algorithm finalization.
virtual ~MagFieldReader()
virtual StatusCode execute()
Algorithm execution.
virtual StatusCode initialize()
Destructor.