BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
BesExamples/DDecayAlg/DDecayAlg-00-00-16/DDecayAlg/DDecay.h
Go to the documentation of this file.
1#ifndef Physics_Analysis_DDecay_H
2#define Physics_Analysis_DDecay_H
3
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7
8#include "VertexFit/IVertexDbSvc.h"
9
10class DDecay : public Algorithm {
11
12public:
13 DDecay(const std::string& name, ISvcLocator* pSvcLocator);
14 StatusCode initialize();
15 StatusCode execute();
16 StatusCode finalize();
17
18private:
19
20
21 // define Ntuples here
22
23 NTuple::Tuple* m_tuple1; // charged track vertex
24 NTuple::Item<double> m_vx0;
25 NTuple::Item<double> m_vy0;
26 NTuple::Item<double> m_vz0;
27 NTuple::Item<double> m_vr0;
28
29
30 NTuple::Tuple* m_tuple2; // check Ks
31 NTuple::Item<double> m_ksmass;
32 NTuple::Item<double> m_ksd;
33 NTuple::Item<double> m_ksmode;
34
35 NTuple::Tuple* m_tuple3; // check pi0
36 NTuple::Item<double> m_pi0mass;
37 NTuple::Item<double> m_pi0mode;
38
39 NTuple::Tuple* m_tuple4; // DTag info
40 NTuple::Item<double> m_mode;
41 NTuple::Item<double> m_type;
42 NTuple::Item<double> m_charge;
43 NTuple::Item<double> m_charm;
44 NTuple::Item<double> m_numofchildren;
45 NTuple::Item<double> m_mass;
46 NTuple::Item<double> m_mBC;
47 NTuple::Item<double> m_deltae;
48 NTuple::Item<double> m_e;
49 NTuple::Item<double> m_ntrk;
50
51};
52
53#endif
StatusCode finalize()
Definition: DDecay.cxx:587
StatusCode initialize()
Definition: DDecay.cxx:55
StatusCode execute()
Definition: DDecay.cxx:140