BOSS 7.0.9
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 void setEffThreshold(float effThreshold){m_effThreshold=effThreshold;}
28
29 MdcDigiVec& getMdcDigiVec(uint32_t control = 0);
30
31 // Mdc Provider's control mode
33 i_maxMdcDigi = 0x1FFF,
34 b_keepUnmatch = 0x2000,
35 b_dropHot = 0x4000,
36 b_keepSkipped = 0x8000,
37 b_keepBadTdc = 0x10000,
38 b_unRedo = 0x20000,
39 b_keepAllChannel = 0x40000
40 };
41
42 private:
43 MdcDigiVec digiRef;
44 std::vector<int> m_skipLayers;
45 float m_effThreshold;
46 IMdcCalibFunSvc* m_mdcCalibFunSvc;
47
48};
49#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)
void setEffThreshold(float effThreshold)