Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunesim
dunesim
DetSim
Service
FixedZeroSuppressService_service.cc
Go to the documentation of this file.
1
// FixedZeroSuppressService.cxx
2
3
#include "
dunesim/DetSim/Service/FixedZeroSuppressService.h
"
4
#include "
art/Framework/Services/Registry/ServiceDefinitionMacros.h
"
5
#include <cmath>
6
#include "
fhiclcpp/ParameterSet.h
"
7
#include "
dunesim/DetSim/Utility/AdcCodeHelper.h
"
8
9
using
std::string
;
10
using
std::ostream;
11
using
std::endl
;
12
13
//**********************************************************************
14
15
FixedZeroSuppressService::
16
FixedZeroSuppressService
(
const
fhicl::ParameterSet
&,
art::ActivityRegistry
&) {
17
}
18
19
//**********************************************************************
20
21
FixedZeroSuppressService::FixedZeroSuppressService
() { }
22
23
//**********************************************************************
24
25
int
FixedZeroSuppressService::
26
filter
(
const
AdcCountVector
& sigs,
Channel
,
AdcPedestal
,
AdcFilterVector
& keep)
const
{
27
keep.clear();
28
keep.resize(sigs.size(),
true
);
29
return
0;
30
}
31
32
//**********************************************************************
33
34
ostream&
FixedZeroSuppressService::print
(ostream& out,
string
prefix
)
const
{
35
out << prefix <<
"FixedZeroSuppressService"
;
36
return
out;
37
}
38
39
//**********************************************************************
40
41
DEFINE_ART_SERVICE_INTERFACE_IMPL
(
FixedZeroSuppressService
,
AdcSuppressService
)
42
43
//**********************************************************************
AdcCountVector
std::vector< AdcCount > AdcCountVector
Definition:
AdcTypes.h:19
submit_ppfxjobs.prefix
string prefix
Definition:
submit_ppfxjobs.py:128
string
std::string string
Definition:
nybbler.cc:12
AdcCodeHelper.h
FixedZeroSuppressService::print
std::ostream & print(std::ostream &out=std::cout, std::string prefix="") const
Definition:
FixedZeroSuppressService_service.cc:34
ParameterSet.h
FixedZeroSuppressService::FixedZeroSuppressService
FixedZeroSuppressService()
Definition:
FixedZeroSuppressService_service.cc:21
FixedZeroSuppressService
Definition:
FixedZeroSuppressService.h:27
AdcSuppressService::Channel
unsigned int Channel
Definition:
AdcSuppressService.h:31
FixedZeroSuppressService.h
AdcFilterVector
std::vector< bool > AdcFilterVector
Definition:
AdcTypes.h:27
AdcPedestal
float AdcPedestal
Definition:
AdcTypes.h:25
FixedZeroSuppressService::filter
int filter(const AdcCountVector &sigs, Channel chan, AdcPedestal ped, AdcFilterVector &keep) const
Definition:
FixedZeroSuppressService_service.cc:26
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
ServiceDefinitionMacros.h
endl
QTextStream & endl(QTextStream &s)
Definition:
qtextstream.cpp:2030
AdcSuppressService
Definition:
AdcSuppressService.h:27
fhicl::ParameterSet
Definition:
ParameterSet.h:36
DEFINE_ART_SERVICE_INTERFACE_IMPL
#define DEFINE_ART_SERVICE_INTERFACE_IMPL(svc, iface)
Definition:
ServiceDefinitionMacros.h:42
Generated by
1.8.11