BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcRawDataProvider.h
Go to the documentation of this file.
1#ifndef MDCRAWDATAPROVIDER_H
2#define MDCRAWDATAPROVIDER_H
3
4#include "GaudiKernel/ISvcLocator.h"
5#include "GaudiKernel/IMessageSvc.h"
9#include <vector>
10
11typedef std::vector<MdcDigi*> MdcDigiVec;
12
13// RawDataProvider for MDC
15 public:
17 MdcRawDataProvider( const char* name );
19
20 // initialize service point
21 StatusCode initialize( ISvcLocator* svcLoc=0, IMessageSvc* pMsg=0 );
22
23 // Incident handler
24 void handle(const Incident&);
25
26 void setSkipLayers(const std::vector<int>& skipLayers){m_skipLayers=skipLayers;}
27
28 MdcDigiVec& getMdcDigiVec(uint32_t control = 0);
29
30 // Mdc Provider's control mode
32 i_maxMdcDigi = 0x1FFF,
33 b_keepUnmatch = 0x2000,
34 b_dropHot = 0x4000,
35 b_keepSkipped = 0x8000,
36 b_keepBadTdc = 0x10000,
37 b_unRedo = 0x20000
38 };
39
40 private:
41 MdcDigiVec digiRef;
42 std::vector<int> m_skipLayers;
43 IMdcCalibFunSvc* m_mdcCalibFunSvc;
44
45};
46#endif
std::vector< MdcDigi * > MdcDigiVec
void handle(const Incident &)
MdcDigiVec & getMdcDigiVec(uint32_t control=0)
StatusCode initialize(ISvcLocator *svcLoc=0, IMessageSvc *pMsg=0)
void setSkipLayers(const std::vector< int > &skipLayers)