BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
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/Algorithm.h"
5#include "GaudiKernel/NTuple.h"
6
7#include "DTagTool/DTagTool.h"
8#include "SimplePIDSvc/ISimplePIDSvc.h"
9
10class DSemilepAlg : public Algorithm {
11
12public:
13 DSemilepAlg( const std::string& name, ISvcLocator* pSvcLocator );
14
15 StatusCode initialize();
16 StatusCode execute();
17 StatusCode finalize();
18
19 bool isGoodTrack( EvtRecTrack* trk, Hep3Vector xorigin );
20 void calU( DTagToolIterator sditer, RecMdcKalTrack* Etrack, RecMdcKalTrack* Ktrack,
21 double& U, double& MM2, double& q2 );
22 Hep3Vector tagDP3( DTagToolIterator iter_dtag );
23
24private:
25 ISimplePIDSvc* m_simplePIDSvc;
26 std::string m_pdt;
27
28 //
29 // Define Ntuples here
30 NTuple::Tuple* m_tuple0;
31 NTuple::Item<double> m_mBC;
32 NTuple::Item<double> m_deltaE;
33 NTuple::Item<double> m_U;
34 NTuple::Item<double> m_mode;
35 NTuple::Item<double> m_MM2;
36 NTuple::Item<double> m_q2;
37};
38#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)