Dune35tChannelMappingService.h
Go to the documentation of this file.
1 // Dune35tChannelMappingService
2 
3 // David Adams
4 // May 2016
5 //
6 // Implementation of online-offline channel mapping that use the service in lbne_raw_data.
7 //
8 // Parameters:
9 // LogLevel [1] - Message logging level: 0=none, 1=init, 2+=every call to interface
10 //
11 // The parameter LogLevel is optional and has the indicated default values.
12 
13 #ifndef Dune35tChannelMappingService_H
14 #define Dune35tChannelMappingService_H
15 
18 #include "lbne-raw-data/Services/ChannelMap/ChannelMapService.h"
19 #include <vector>
20 #include <iostream>
21 
22 class TH1;
23 namespace CLHEP {
24 class HepRandomEngine;
25 }
26 
28 
29  typedef std::vector<Channel> ChannelMap;
30 
31 public:
32 
33  // Ctor.
35 
36  // Ctor.
38 
39  // Map online to offline.
40  Channel offline(Channel onlineChannel) const;
41 
42  // Map offline to online.
43  Channel online(Channel offlineChannel) const;
44 
45  // Print the parameters.
46  std::ostream& print(std::ostream& out =std::cout, std::string prefix ="") const;
47 
48 private:
49 
51 
53 
54 };
55 
57 
58 #endif
std::string string
Definition: nybbler.cc:12
art::ServiceHandle< lbne::ChannelMapService > hlbnesvc
#define DECLARE_ART_SERVICE_INTERFACE_IMPL(svc, iface, scope)