SRPixelObjMap.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRPixelObjMap.cxx
3 // \author psihas
4 ////////////////////////////////////////////////////////////////////////
5 #ifndef SRPIXELOBJMAP_H
6 #define SRPIXELOBJMAP_H
7 
8 #include <vector>
9 namespace caf
10 {
11  /// Variables describing Michel E's found around the end of a track
13  {
14  public:
15  SRPixelObjMap();
16 
18 
19 
20  unsigned int nplanes; ///< number of planes in pixel map
21  unsigned int ncells; ///< number of cells in pixel map
22  unsigned int nchan; ///< number of channels in pixel map
23  unsigned int firstplane; ///<global position of first plane in map
24  unsigned int lastplane; ///<global position of last plane in map
25  unsigned int firstcellx; ///<global position of first x cell in map
26  unsigned int lastcellx; ///<global position of last x cell in map
27  unsigned int firstcelly; ///<global position of first y cell in map
28  unsigned int lastcelly; ///<global position of last y cell in map
29  float hitfracx; ///<faction of x hits in slice in x view pixel map
30  float hitfracy; ///<fraction of y hits in slice in y view pixel map
31 
32  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
33  unsigned char cvnlabmap[16000] {}; ///<store 1D array with hit labels
34  unsigned char cvnobjmap[16000] {}; ///<store 1D array with hit object id
35  };
36 
37 } // end namespace
38 
39 #endif // SRPIXELMAP_H
40 //////////////////////////////////////////////////////////////////////////////
unsigned char cvnlabmap[16000]
store 1D array with hit labels
Definition: SRPixelObjMap.h:33
unsigned int nplanes
number of planes in pixel map
Definition: SRPixelObjMap.h:17
unsigned int ncells
number of cells in pixel map
Definition: SRPixelObjMap.h:21
unsigned int lastplane
global position of last plane in map
Definition: SRPixelObjMap.h:24
unsigned char cvnobjmap[16000]
store 1D array with hit object id
Definition: SRPixelObjMap.h:34
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: SRPixelObjMap.h:32
unsigned int nchan
number of channels in pixel map
Definition: SRPixelObjMap.h:22
Variables describing Michel E&#39;s found around the end of a track.
Definition: SRPixelObjMap.h:12
unsigned int firstcellx
global position of first x cell in map
Definition: SRPixelObjMap.h:25
unsigned int lastcelly
global position of last y cell in map
Definition: SRPixelObjMap.h:28
unsigned int lastcellx
global position of last x cell in map
Definition: SRPixelObjMap.h:26
This module creates Common Analysis Files.
Definition: FileReducer.h:10
unsigned int firstcelly
global position of first y cell in map
Definition: SRPixelObjMap.h:27
float hitfracy
fraction of y hits in slice in y view pixel map
Definition: SRPixelObjMap.h:30
float hitfracx
faction of x hits in slice in x view pixel map
Definition: SRPixelObjMap.h:29
unsigned int firstplane
global position of first plane in map
Definition: SRPixelObjMap.h:23