All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawDigitNoiseFilterDefs.h
Go to the documentation of this file.
1 #ifndef RAWDIGITNOISEFILTERDEFS_H
2 #define RAWDIGITNOISEFILTERDEFS_H
3 ////////////////////////////////////////////////////////////////////////
4 //
5 // File: RawDigitNoiseFilterDefs.h
6 //
7 // This file provides data structure definitions for filtering
8 //
9 // Created by Tracy Usher (usher@slac.stanford.edu) on January 6, 2016
10 //
11 ////////////////////////////////////////////////////////////////////////
12 
13 #include <vector>
14 #include <map>
15 
17 #include "lardataobj/RawData/raw.h"
18 
19 namespace caldata
20 {
21  // Provide definitions of the raw waveforms for internal use
23  using RawDigitVectorItr = RawDigitVector::iterator;
24  using RawDigitVectorItrPair = std::pair<RawDigitVectorItr,RawDigitVectorItr>;
25 
26  // The following set up the organization of handling of channels for
27  // the classifying waveforms and handling the correlated noise correction
28  using RawDigitVectorIdxPair = std::pair<size_t,size_t>;
29  using WireToAdcIdxMap = std::map<size_t, RawDigitVectorIdxPair>;
30  using WireToRawDigitVecPair = std::pair<size_t, RawDigitVector&>;
31  using WireToRawDigitVecMap = std::map<size_t, RawDigitVector&>;
32 
33  using RawDigitAdcIdxPair = std::pair<WireToRawDigitVecMap,WireToAdcIdxMap>;
34  using GroupToDigitIdxPairMap = std::map<size_t,RawDigitAdcIdxPair>;
35 
36 } // end caldata namespace
37 #endif
std::pair< RawDigitVectorItr, RawDigitVectorItr > RawDigitVectorItrPair
raw::RawDigit::ADCvector_t RawDigitVector
std::vector< short > ADCvector_t
Type representing a (compressed) vector of ADC counts.
Definition: RawDigit.h:73
Definition of basic raw digits.
std::pair< WireToRawDigitVecMap, WireToAdcIdxMap > RawDigitAdcIdxPair
std::pair< size_t, size_t > RawDigitVectorIdxPair
std::map< size_t, RawDigitAdcIdxPair > GroupToDigitIdxPairMap
Collect all the RawData header files together.
RawDigitVector::iterator RawDigitVectorItr
std::pair< size_t, RawDigitVector & > WireToRawDigitVecPair
std::map< size_t, RawDigitVector & > WireToRawDigitVecMap
process_name can override from command line with o or output caldata
Definition: pid.fcl:40
std::map< size_t, RawDigitVectorIdxPair > WireToAdcIdxMap