SRPixelMap.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRPixelMap.cxx
3 // \author dpershey
4 // \date 2014-08-20
5 ////////////////////////////////////////////////////////////////////////
6 #ifndef SRPIXELMAP_H
7 #define SRPIXELMAP_H
8 
9 #include <vector>
10 namespace caf
11 {
12  /// Variables describing Michel E's found around the end of a track
13  class SRPixelMap
14  {
15  public:
16  SRPixelMap();
17 
19 
20 
21  unsigned int nplanes; ///< number of planes in pixel map
22  unsigned int ncells; ///< number of cells in pixel map
23  unsigned int nchan; ///< number of channels in pixel map
24  unsigned int firstplane; ///<global position of first plane in map
25  unsigned int lastplane; ///<global position of last plane in map
26  unsigned int firstcellx; ///<global position of first x cell in map
27  unsigned int lastcellx; ///<global position of last x cell in map
28  unsigned int firstcelly; ///<global position of first y cell in map
29  unsigned int lastcelly; ///<global position of last y cell in map
30  float hitfracx; ///<faction of x hits in slice in x view pixel map
31  float hitfracy; ///<fraction of y hits in slice in y view pixel map
32 
33  unsigned char cvnmap[16000] {}; ///<store 1D array the size of the pixel map, currently 80 cells x 100 planes x 2 views. Although sparse, store this way for easier conversion and compression in hdf5. First element is channel 0, plane 0, cell 0, then channel 0, plane 0, cell 1, etc. Channel 0 is x view, 1 is y view
34 
35  };
36 
37 } // end namespace
38 
39 #endif // SRPIXELMAP_H
40 //////////////////////////////////////////////////////////////////////////////
Variables describing Michel E&#39;s found around the end of a track.
Definition: SRPixelMap.h:13
unsigned int firstcellx
global position of first x cell in map
Definition: SRPixelMap.h:26
unsigned int lastcelly
global position of last y cell in map
Definition: SRPixelMap.h:29
float hitfracy
fraction of y hits in slice in y view pixel map
Definition: SRPixelMap.h:31
unsigned int ncells
number of cells in pixel map
Definition: SRPixelMap.h:22
unsigned int nplanes
number of planes in pixel map
Definition: SRPixelMap.h:18
unsigned int firstplane
global position of first plane in map
Definition: SRPixelMap.h:24
unsigned int lastcellx
global position of last x cell in map
Definition: SRPixelMap.h:27
unsigned int nchan
number of channels in pixel map
Definition: SRPixelMap.h:23
float hitfracx
faction of x hits in slice in x view pixel map
Definition: SRPixelMap.h:30
unsigned int lastplane
global position of last plane in map
Definition: SRPixelMap.h:25
unsigned int firstcelly
global position of first y cell in map
Definition: SRPixelMap.h:28
unsigned char cvnmap[16000]
store 1D array the size of the pixel map, currently 80 cells x 100 planes x 2 views. Although sparse, store this way for easier conversion and compression in hdf5. First element is channel 0, plane 0, cell 0, then channel 0, plane 0, cell 1, etc. Channel 0 is x view, 1 is y view
Definition: SRPixelMap.h:33
This module creates Common Analysis Files.
Definition: FileReducer.h:10