Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunecore
dunecore
DuneInterface
Service
RawDigitExtractService.h
Go to the documentation of this file.
1
// RawDigitExtractService.h
2
3
#ifndef RawDigitExtractService_H
4
#define RawDigitExtractService_H
5
6
// David Adams
7
// May 2016
8
//
9
// Interface for a service that extracts the ADC signal vector from
10
// a larsoft raw digit. The latter holds the TPC samples for one channel.
11
12
#include <iostream>
13
#include "
dunecore/DuneInterface/Data/AdcChannelData.h
"
14
15
namespace
raw
{
16
class
RawDigit;
17
}
18
19
class
RawDigitExtractService
{
20
21
public
:
22
23
virtual
~
RawDigitExtractService
() =
default
;
24
25
// Extract the data for a channel.
26
// The digit is assigned to the chanel data before the call.
27
virtual
int
extract(
AdcChannelData
& acd)
const
=0;
28
29
// Print parameters.
30
virtual
std::ostream& print(std::ostream& out =std::cout,
std::string
prefix
=
""
)
const
=0;
31
32
};
33
34
#ifndef __CLING__
35
#include "
art/Framework/Services/Registry/ServiceMacros.h
"
36
DECLARE_ART_SERVICE_INTERFACE
(
RawDigitExtractService
, LEGACY)
37
#endif
38
39
#endif
RawDigitExtractService
Definition:
RawDigitExtractService.h:19
submit_ppfxjobs.prefix
string prefix
Definition:
submit_ppfxjobs.py:128
string
std::string string
Definition:
nybbler.cc:12
AdcChannelData.h
raw
Raw data description.
Definition:
AdcChannelData.h:88
AdcChannelData
Definition:
AdcChannelData.h:95
ServiceMacros.h
DECLARE_ART_SERVICE_INTERFACE
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)
Definition:
ServiceDeclarationMacros.h:80
Generated by
1.8.11