CGEM BOSS
6.6.5.h
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"
6
#include "
RawDataProviderSvc/RawDataProviderBase.h
"
7
#include "
MdcCalibFunSvc/IMdcCalibFunSvc.h
"
8
#include "
MdcRawEvent/MdcDigi.h
"
9
#include <vector>
10
11
typedef
std::vector<MdcDigi*>
MdcDigiVec
;
12
13
// RawDataProvider for MDC
14
class
MdcRawDataProvider
:
public
RawDataProviderBase
{
15
public
:
16
MdcRawDataProvider
();
17
MdcRawDataProvider
(
const
char
* name );
18
~MdcRawDataProvider
();
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
32
enum
MdcControlMode
{
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
IMdcCalibFunSvc.h
MdcDigi.h
MdcDigiVec
std::vector< MdcDigi * > MdcDigiVec
Definition
MdcRawDataProvider.h:11
RawDataProviderBase.h
IMdcCalibFunSvc
Definition
IMdcCalibFunSvc.h:17
MdcRawDataProvider
Definition
MdcRawDataProvider.h:14
MdcRawDataProvider::MdcRawDataProvider
MdcRawDataProvider()
Definition
MdcRawDataProvider.cxx:28
MdcRawDataProvider::handle
void handle(const Incident &)
Definition
MdcRawDataProvider.cxx:49
MdcRawDataProvider::getMdcDigiVec
MdcDigiVec & getMdcDigiVec(uint32_t control=0)
Definition
MdcRawDataProvider.cxx:58
MdcRawDataProvider::initialize
StatusCode initialize(ISvcLocator *svcLoc=0, IMessageSvc *pMsg=0)
Definition
MdcRawDataProvider.cxx:44
MdcRawDataProvider::setSkipLayers
void setSkipLayers(const std::vector< int > &skipLayers)
Definition
MdcRawDataProvider.h:26
MdcRawDataProvider::MdcControlMode
MdcControlMode
Definition
MdcRawDataProvider.h:32
MdcRawDataProvider::b_keepAllChannel
@ b_keepAllChannel
Definition
MdcRawDataProvider.h:39
MdcRawDataProvider::b_keepSkipped
@ b_keepSkipped
Definition
MdcRawDataProvider.h:36
MdcRawDataProvider::i_maxMdcDigi
@ i_maxMdcDigi
Definition
MdcRawDataProvider.h:33
MdcRawDataProvider::b_dropHot
@ b_dropHot
Definition
MdcRawDataProvider.h:35
MdcRawDataProvider::b_unRedo
@ b_unRedo
Definition
MdcRawDataProvider.h:38
MdcRawDataProvider::b_keepBadTdc
@ b_keepBadTdc
Definition
MdcRawDataProvider.h:37
MdcRawDataProvider::b_keepUnmatch
@ b_keepUnmatch
Definition
MdcRawDataProvider.h:34
MdcRawDataProvider::~MdcRawDataProvider
~MdcRawDataProvider()
Definition
MdcRawDataProvider.cxx:41
MdcRawDataProvider::setEffThreshold
void setEffThreshold(float effThreshold)
Definition
MdcRawDataProvider.h:27
RawDataProviderBase
Definition
RawDataProviderBase.h:15
6.6.5.h
Event
RawDataProviderSvc
RawDataProviderSvc-00-03-40
RawDataProviderSvc
MdcRawDataProvider.h
Generated by
1.12.0