BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
RootRawEvtReader.h
Go to the documentation of this file.
1#ifndef RootRawEvtReader_h
2#define RootRawEvtReader_h
3
4#include "GaudiKernel/Algorithm.h"
5#include "GaudiKernel/IDataProviderSvc.h"
6#include <string>
7
8class TTree;
9
10class RootRawEvtReader : public Algorithm {
11public:
12 RootRawEvtReader( const std::string& name, ISvcLocator* pSvcLocator );
13 virtual ~RootRawEvtReader();
14 StatusCode initialize();
15 StatusCode execute();
16 StatusCode finalize();
17
18 StatusCode readMdc( int entry );
19 StatusCode readTof( int entry );
20 StatusCode readEmc( int entry );
21 StatusCode readMuc( int entry );
22
23private:
24 IDataProviderSvc* m_evtSvc;
25
26 int m_mdcDigi;
27 int m_tofDigi;
28 int m_emcDigi;
29 int m_mucDigi;
30
31 TTree* m_tree;
32 int m_totalEvents;
33 int m_fileNumber;
34 int m_tempNumber;
35 int m_currentEntry;
36 int m_currentEntries;
37
38 std::vector<std::string> m_inputFiles;
39};
40
41#endif
StatusCode initialize()
StatusCode readTof(int entry)
StatusCode readMuc(int entry)
StatusCode readEmc(int entry)
RootRawEvtReader(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode readMdc(int entry)