BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
NeutralDReconstruction.h
Go to the documentation of this file.
1#ifndef Reconstruction_NeutralDReconstruction_H
2#define Reconstruction_NeutralDReconstruction_H
3
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7
10
13#include "BesDChain/CDPi0List.h"
14#include "BesDChain/CDKsList.h"
16
17#include "VertexFit/VertexFit.h"
20
21
22#include <vector>
23#include <string>
24
25class NeutralDReconstruction : public Algorithm {
26
27 public:
28 NeutralDReconstruction(const std::string& name, ISvcLocator* pSvcLocator);
29 StatusCode initialize();
30 StatusCode execute();
31 StatusCode finalize();
32
33 void saveD0Info(CDDecayList::iterator, double, int, int, EvtRecDTag*);
34 void updateKsInfo(CDDecayList::iterator, double, int, int, EvtRecDTag*, vector<int>, IVertexDbSvc*, bool);
36 void pidtag(vector<int>, vector<int>, CDChargedKaonList&, CDChargedPionList&,EvtRecDTag* );
37 // HepLorentzVector vfit(string channel, vector<int> kaonid, vector<int> pionid, HepPoint3D vx, EvtRecTrackIterator charged_begin);
38 vector<string> getlist(string& filename);
39
40 private:
41 StatusCode registerEvtRecDTagCol(EvtRecDTagCol* dtagCol, MsgStream& log);
42
43 private:
44
45 bool m_debug;
46
47 int m_irun;
48 int m_ievt;
49 int m_nChrg;
50 int m_nNeu;
51 int m_nPion;
52 int m_nKaon;
53 int m_nPi0;
54 int m_nKs;
55
56 string m_decaylist;
57 vector<string> chanlist;
58
59 double m_beamE;
60 Hep3Vector m_beta;
61 bool m_ReadBeamEFromDB;
62 bool m_usecalibBeamE;
63 bool m_usevertexfit;
64 ReadBeamInfFromDb m_readDb;
65
66 bool m_useVFrefine;
67 bool m_useBFC;
68
69};
70#endif
ObjectVector< EvtRecDTag > EvtRecDTagCol
Definition EvtRecDTag.h:329
EvtRecTrackCol::iterator EvtRecTrackIterator
void updateKsInfo(CDDecayList::iterator, double, int, int, EvtRecDTag *, vector< int >, IVertexDbSvc *, bool)
NeutralDReconstruction(const std::string &name, ISvcLocator *pSvcLocator)
void savetrack(vector< int >, vector< int >, EvtRecTrackIterator, EvtRecTrackIterator, EvtRecTrackIterator, EvtRecTrackIterator, EvtRecDTag *)
vector< string > getlist(string &filename)
void pidtag(vector< int >, vector< int >, CDChargedKaonList &, CDChargedPionList &, EvtRecDTag *)
void saveD0Info(CDDecayList::iterator, double, int, int, EvtRecDTag *)