BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
McTruth.h
Go to the documentation of this file.
1#ifndef Physics_Analysis_McTruth_H
2#define Physics_Analysis_McTruth_H
3
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7
8class McTruth : public Algorithm {
9
10public:
11 McTruth(const std::string& name, ISvcLocator* pSvcLocator);
12 StatusCode initialize();
13 StatusCode execute();
14 StatusCode finalize();
15
16private:
17
18 // define Ntuples here
19
20 NTuple::Tuple* m_tuple0; // McTruth information
21
22 NTuple::Item<long> m_nct ;
23
24 NTuple::Array<double> m_px ;
25 NTuple::Array<double> m_py ;
26 NTuple::Array<double> m_pz ;
27 NTuple::Array<double> m_p ;
28 NTuple::Array<double> m_E ;
29 NTuple::Array<double> m_cos ;
30
31 NTuple::Item<double> m_angle ;
32 NTuple::Item<double> m_m2p ;
33
34 NTuple::Array<double> m_bst_px ;
35 NTuple::Array<double> m_bst_py ;
36 NTuple::Array<double> m_bst_pz ;
37 NTuple::Array<double> m_bst_p ;
38 NTuple::Array<double> m_bst_E ;
39 NTuple::Array<double> m_bst_cos ;
40
41 NTuple::Item<double> m_bst_angle ;
42 NTuple::Item<double> m_bst_m2p ;
43
44
45};
46
47#endif
Definition: McTruth.h:8
StatusCode finalize()
McTruth(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode execute()
StatusCode initialize()