src
EventFilter
Utilities
interface
SourceCommon.h
Go to the documentation of this file.
1
#ifndef EventFilter_Utilities_SourceCommon_h
2
#define EventFilter_Utilities_SourceCommon_h
3
4
/*
5
* This header will host common definitions used by FedRawDataInputSource and DAQSource
6
* */
7
8
#include "
EventFilter/Utilities/interface/FastMonitoringService.h
"
9
10
class
IdleSourceSentry
{
11
public
:
12
IdleSourceSentry
(
evf::FastMonitoringService
* fms) :
fms_
(fms) {
13
if
(
fms_
)
14
fms_
->
setTMicrostate
(
evf::FastMonState::mIdleSource
);
15
}
16
~IdleSourceSentry
() {
17
if
(
fms_
)
18
fms_
->
setTMicrostate
(
evf::FastMonState::mIdle
);
19
}
20
21
private
:
22
evf::FastMonitoringService
*
fms_
;
23
};
24
25
#endif
IdleSourceSentry::~IdleSourceSentry
~IdleSourceSentry()
Definition:
SourceCommon.h:16
evf::FastMonState::mIdleSource
Definition:
FastMonitoringService.h:69
IdleSourceSentry::IdleSourceSentry
IdleSourceSentry(evf::FastMonitoringService *fms)
Definition:
SourceCommon.h:12
FastMonitoringService.h
evf::FastMonitoringService::setTMicrostate
void setTMicrostate(FastMonState::Microstate m)
Definition:
FastMonitoringService.cc:772
IdleSourceSentry
Definition:
SourceCommon.h:10
evf::FastMonitoringService
Definition:
FastMonitoringService.h:167
evf::FastMonState::mIdle
Definition:
FastMonitoringService.h:59
IdleSourceSentry::fms_
evf::FastMonitoringService * fms_
Definition:
SourceCommon.h:22
Generated for CMSSW Reference Manual by
1.8.14