All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ChannelGroups.h
Go to the documentation of this file.
1 #ifndef CHANNELGROUPS_H
2 #define CHANNELGROUPS_H
3 ////////////////////////////////////////////////////////////////////////
4 //
5 // Class: ChannelGroups
6 // Module Type: algorithm service
7 // File: ChannelGroups.h
8 //
9 // This provides a mechanism for grouping channels in MicroBooNE
10 // that share common characteristics (e.g. correlated noise)
11 //
12 // Configuration parameters:
13 //
14 //
15 // Created by Tracy Usher (usher@slac.stanford.edu) on January 7, 2016
16 //
17 ////////////////////////////////////////////////////////////////////////
18 
20 #include "fhiclcpp/ParameterSet.h"
21 
22 #include <map>
23 
24 namespace caldata
25 {
27 {
28 public:
29 
30  // Copnstructors, destructor.
31  ChannelGroups(fhicl::ParameterSet const & pset);
33 
34  size_t channelGroup(size_t view, size_t wire) const;
35 
36 private:
37 
38  std::vector<std::map<size_t,size_t>> fGroupByViewAndWireMap;
39 };
40 
41 } // end of namespace caldata
42 
43 #endif
std::vector< std::map< size_t, size_t > > fGroupByViewAndWireMap
Definition: ChannelGroups.h:38
ChannelGroups(fhicl::ParameterSet const &pset)
size_t channelGroup(size_t view, size_t wire) const
~ChannelGroups()
Destructor.
process_name can override from command line with o or output caldata
Definition: pid.fcl:40