test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripTemplateSplit.h
Go to the documentation of this file.
1 //
2 // SiStripTemplateSplit.h
3 //
4 // Procedure to fit two templates (same angle hypotheses) to a single cluster
5 //
6 // Version 1.00 [based on SiPixelTemplateSplit.cc Version 2.30]
7 // Version 1.01 [improve error estimation for qbin=3 events]
8 // Version 1.05 [Incorporate VI-like speed improvements]
9 // Version 1.06 Clean-up irrelevant (since truncation) sorting
10 // Version 2.10 Clone speed improvements from the pixels (eliminate 3-d multi-arays, improve seach algorithm)
11 //
12 // Created by Morris Swartz on 04/10/08.
13 //
14 //
15 
16 #ifndef SiStripTemplateSplit_h
17 #define SiStripTemplateSplit_h 1
18 
19 #include "SiStripTemplateDefs.h"
20 
21 #ifndef SI_PIXEL_TEMPLATE_STANDALONE
23 #else
24 #include "SiStripTemplate.h"
25 #endif
26 
27 #include <vector>
28 #include "boost/multi_array.hpp"
29 
30 
31 
32 namespace SiStripTemplateSplit
33  {
34 
35 
36  int StripTempSplit(int id, float cotalpha, float cotbeta, float locBy, int speed, std::vector<float>& cluster,
37  SiStripTemplate& templ,
38  float& xrec1, float& xrec2, float& sigmax, float& prob2x, int& q2bin, float& prob2Q);
39 
40 
41  int StripTempSplit(int id, float cotalpha, float cotbeta, float locBy, std::vector<float>& cluster,
42  SiStripTemplate& templ,
43  float& xrec1, float& xrec2, float& sigmax, float& prob2x, int& q2bin, float& prob2Q);
44 
45 }
46 
47 #endif
int StripTempSplit(int id, float cotalpha, float cotbeta, float locBy, int speed, std::vector< float > &cluster, SiStripTemplate &templ, float &xrec1, float &xrec2, float &sigmax, float &prob2x, int &q2bin, float &prob2Q)