Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunedataprep
dunedataprep
DataPrep
Service
MultiChannelNoiseRemovalService.h
Go to the documentation of this file.
1
// MultiChannelNoiseRemovalService.h
2
//
3
// David Adams
4
// June 2016
5
//
6
// Implementation of service that removesfrom and ADC channel map by calling
7
// an AdcChannnelNoiseRemovalService for each channel.
8
//
9
// Configuration:
10
// LogLevel - message logging level: 0=none, 1=initialization, 2+=every event
11
12
#ifndef MultiChannelNoiseRemovalService_H
13
#define MultiChannelNoiseRemovalService_H
14
15
#include "
dunecore/DuneInterface/Service/AdcNoiseRemovalService.h
"
16
#include "
dunecore/DuneInterface/Data/AdcTypes.h
"
17
18
class
AdcChannelNoiseRemovalService
;
19
20
class
MultiChannelNoiseRemovalService
:
public
AdcNoiseRemovalService
{
21
22
public
:
23
24
MultiChannelNoiseRemovalService
(
fhicl::ParameterSet
const
& pset,
art::ActivityRegistry
&);
25
26
int
update
(
AdcChannelDataMap
& datamap)
const
;
27
28
std::ostream&
print
(std::ostream& out =std::cout,
std::string
prefix
=
""
)
const
;
29
30
private
:
31
32
// Configuration parameters.
33
int
m_LogLevel
;
34
35
// The single channel service.
36
const
AdcChannelNoiseRemovalService
*
m_pAdcChannelNoiseRemovalService
;
37
38
};
39
40
DECLARE_ART_SERVICE_INTERFACE_IMPL
(
MultiChannelNoiseRemovalService
,
AdcNoiseRemovalService
, LEGACY)
41
42
#endif
MultiChannelNoiseRemovalService
Definition:
MultiChannelNoiseRemovalService.h:20
AdcNoiseRemovalService.h
AdcNoiseRemovalService
Definition:
AdcNoiseRemovalService.h:16
submit_ppfxjobs.prefix
string prefix
Definition:
submit_ppfxjobs.py:128
string
std::string string
Definition:
nybbler.cc:12
DECLARE_ART_SERVICE_INTERFACE_IMPL
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
MultiChannelNoiseRemovalService::m_pAdcChannelNoiseRemovalService
const AdcChannelNoiseRemovalService * m_pAdcChannelNoiseRemovalService
Definition:
MultiChannelNoiseRemovalService.h:36
MultiChannelNoiseRemovalService::print
std::ostream & print(std::ostream &out=std::cout, std::string prefix="") const
Definition:
MultiChannelNoiseRemovalService_service.cc:50
AdcChannelNoiseRemovalService
Definition:
AdcChannelNoiseRemovalService.h:15
AdcTypes.h
MultiChannelNoiseRemovalService::MultiChannelNoiseRemovalService
MultiChannelNoiseRemovalService(fhicl::ParameterSet const &pset, art::ActivityRegistry &)
Definition:
MultiChannelNoiseRemovalService_service.cc:18
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
MultiChannelNoiseRemovalService::m_LogLevel
int m_LogLevel
Definition:
MultiChannelNoiseRemovalService.h:33
MultiChannelNoiseRemovalService::update
int update(AdcChannelDataMap &datamap) const
Definition:
MultiChannelNoiseRemovalService_service.cc:29
AdcChannelDataMap
std::map< AdcChannel, AdcChannelData > AdcChannelDataMap
Definition:
AdcChannelData.h:378
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11