BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
ChargedDReconstruction.h
Go to the documentation of this file.
1#ifndef Reconstruction_ChargedDReconstruction_H
2#define Reconstruction_ChargedDReconstruction_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#include <vector>
22#include <string>
23
24class ChargedDReconstruction : public Algorithm {
25
26 public:
27 ChargedDReconstruction(const std::string& name, ISvcLocator* pSvcLocator);
28 StatusCode initialize();
29 StatusCode execute();
30 StatusCode finalize();
31
32 void saveDpInfo(CDDecayList::iterator, double, int, EvtRecDTag*);
33 void updateKsInfo(CDDecayList::iterator, double, int, EvtRecDTag*, vector<int>, IVertexDbSvc*, bool);
35 vector<string> getlist(string& filename);
36 void pidtag(vector<int>, vector<int>, CDChargedKaonList&, CDChargedPionList&,EvtRecDTag* );
37
38
39 private:
40 StatusCode registerEvtRecDTagCol(EvtRecDTagCol* dtagCol, MsgStream& log);
41
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
71};
72#endif
ObjectVector< EvtRecDTag > EvtRecDTagCol
Definition EvtRecDTag.h:329
EvtRecTrackCol::iterator EvtRecTrackIterator
void updateKsInfo(CDDecayList::iterator, double, int, EvtRecDTag *, vector< int >, IVertexDbSvc *, bool)
void saveDpInfo(CDDecayList::iterator, double, int, EvtRecDTag *)
vector< string > getlist(string &filename)
void pidtag(vector< int >, vector< int >, CDChargedKaonList &, CDChargedPionList &, EvtRecDTag *)
void savetrack(vector< int >, vector< int >, EvtRecTrackIterator, EvtRecTrackIterator, EvtRecTrackIterator, EvtRecTrackIterator, EvtRecDTag *)
ChargedDReconstruction(const std::string &name, ISvcLocator *pSvcLocator)