BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/DSemilepAlg/DSemilepAlg/DSemilepAlg.h
Go to the documentation of this file.
1#ifndef Physics_Analysis_DSemilep_H
2#define Physics_Analysis_DSemilep_H
3
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7
8#include "VertexFit/IVertexDbSvc.h"
9#include "SimplePIDSvc/ISimplePIDSvc.h"
10#include "DTagTool/DTagTool.h"
11
12class DSemilepAlg : public Algorithm {
13
14 public:
15 DSemilepAlg(const std::string& name, ISvcLocator* pSvcLocator);
16
17 StatusCode initialize();
18 StatusCode execute();
19 StatusCode finalize();
20
21 bool isGoodTrack(EvtRecTrack* trk,Hep3Vector xorigin);
22 void calU(DTagToolIterator sditer,RecMdcKalTrack* Etrack, RecMdcKalTrack* Ktrack,double& U, double& MM2, double& q2);
23 Hep3Vector tagDP3(DTagToolIterator iter_dtag);
24
25 private:
26 ISimplePIDSvc* m_simplePIDSvc;
27 std::string m_pdt;
28
29 //
30 // Define Ntuples here
31 NTuple::Tuple* m_tuple0;
32 NTuple::Item<double> m_mBC;
33 NTuple::Item<double> m_deltaE;
34 NTuple::Item<double> m_U;
35 NTuple::Item<double> m_mode;
36 NTuple::Item<double> m_MM2;
37 NTuple::Item<double> m_q2;
38
39
40};
41#endif
EvtRecDTagCol::iterator DTagToolIterator
StatusCode finalize()
bool isGoodTrack(EvtRecTrack *trk, Hep3Vector xorigin)
Hep3Vector tagDP3(DTagToolIterator iter_dtag)
StatusCode initialize()
StatusCode execute()
DSemilepAlg(const std::string &name, ISvcLocator *pSvcLocator)
void calU(DTagToolIterator sditer, RecMdcKalTrack *Etrack, RecMdcKalTrack *Ktrack, double &U, double &MM2, double &q2)