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