CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
BFieldCorr.h
Go to the documentation of this file.
1#ifndef _BFIELDCORR_H_
2#define _BFIELDCORR_H_
3
4/*****************************************************************************
5 * Project: B Field Correction *
6 * Package: BFieldCorr *
7 * File: BFieldCorr.h $v1 2013/11/14$ *
8 * Authors: *
9 * Tian MA, [email protected] *
10 * *
11 *****************************************************************************/
12
13#include "GaudiKernel/AlgFactory.h"
14#include "GaudiKernel/Algorithm.h"
15#include "GaudiKernel/NTuple.h"
16#include "CLHEP/Matrix/SymMatrix.h"
17using CLHEP::HepSymMatrix;
18
19class BFieldCorr:public Algorithm
20{
21public:
22 BFieldCorr(const std::string& name, ISvcLocator* pSvcLocator);
23 StatusCode initialize();
24 StatusCode execute();
25 StatusCode finalize();
26
27private:
28 double m_factor; // B Field correction factor
29
30 HepSymMatrix m_Ew; // conversion matrix
31 int RUN_BEGIN_10;
32 int RUN_END_10;
33 int RUN_BEGIN_11;
34 int RUN_END_11;
35};
36#endif //_BFIELDCORR_H_
StatusCode finalize()
BFieldCorr(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize()
StatusCode execute()