00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef SI_PIXEL_TEMPLATE_STANDALONE
00017 #include "CondFormats/SiPixelObjects/interface/SiPixelTemplate.h"
00018 #else
00019 #include "SiPixelTemplate.h"
00020 #endif
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #include <vector>
00036 #include "boost/multi_array.hpp"
00037
00038
00039 namespace SiPixelTemplateReco
00040 {
00041
00042 typedef boost::multi_array<float, 2> array_2d;
00043 typedef boost::multi_array<float, 3> array_3d;
00044
00045 int PixelTempSplit(int id, bool fpix, float cotalpha, float cotbeta, array_2d cluster,
00046 std::vector<bool> ydouble, std::vector<bool> xdouble,
00047 SiPixelTemplate& templ,
00048 float& yrec1, float& yrec2, float& sigmay, float& proby,
00049 float& xrec1, float& xrec2, float& sigmax, float& probx, int& qbin, bool deadpix, std::vector<std::pair<int, int> > zeropix);
00050
00051 int PixelTempSplit(int id, bool fpix, float cotalpha, float cotbeta, array_2d cluster,
00052 std::vector<bool> ydouble, std::vector<bool> xdouble,
00053 SiPixelTemplate& templ,
00054 float& yrec1, float& yrec2, float& sigmay, float& proby,
00055 float& xrec1, float& xrec2, float& sigmax, float& probx, int& qbin);
00056
00057 }
00058
00059