/[PAMELA software]/DarthVader/TrackerLevel2/inc/TrkStruct.h
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/inc/TrkStruct.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.30 by pam-fi, Tue Jan 15 14:28:45 2008 UTC revision 1.32 by pam-fi, Fri Apr 11 13:44:36 2008 UTC
# Line 10  Line 10 
10  #define NVIEW 12  #define NVIEW 12
11  #define NVK 24  #define NVK 24
12  #define NLADDER 3  #define NLADDER 3
13    #define NSENSOR 2
14    
15  #define NCLMAX_VIEW 200         //max n.clusters per view  #define NCLMAX_VIEW 200         //max n.clusters per view
16  #define NCLSTR 20               //max n.strip per cluster  #define NCLSTR 20               //max n.strip per cluster
# Line 148  struct cTrkLevel2 { Line 149  struct cTrkLevel2 {
149      float xs[NSINGMAX][2];      float xs[NSINGMAX][2];
150      float signlxs[NSINGMAX];      float signlxs[NSINGMAX];
151      int clsx[NSINGMAX];      int clsx[NSINGMAX];
152        int sxbad[NSINGMAX];
153        int multmaxsx[NSINGMAX];
154  //  ----------------------------  //  ----------------------------
155      int nclsy;      int nclsy;
156      int planey[NSINGMAX];      int planey[NSINGMAX];
157      float ys[NSINGMAX][2];      float ys[NSINGMAX][2];
158      float signlys[NSINGMAX];      float signlys[NSINGMAX];
159      int clsy[NSINGMAX];      int clsy[NSINGMAX];
160        int sybad[NSINGMAX];
161        int multmaxsy[NSINGMAX];
162  //  ----------------------------  //  ----------------------------
163      int ntrk;      int ntrk;
164      int image[NTRKMAX];      int image[NTRKMAX];
# Line 205  struct cTrkLevel2 { Line 210  struct cTrkLevel2 {
210              xs[i][0]   = 0;              xs[i][0]   = 0;
211              xs[i][1]   = 0;              xs[i][1]   = 0;
212              signlxs[i] = 0;              signlxs[i] = 0;
213                clsx[i]    = 0;
214                sxbad[i]   = 0;
215              planey[i]  = 0;              planey[i]  = 0;
216              ys[i][0]   = 0;              ys[i][0]   = 0;
217              ys[i][1]   = 0;              ys[i][1]   = 0;
218              signlys[i] = 0;              signlys[i] = 0;
219                clsy[i]    = 0;
220                sybad[i]   = 0;
221          }          }
222          //  ----------------------------          //  ----------------------------
223          ntrk =0 ;          ntrk =0 ;
# Line 319  struct cDbg { Line 328  struct cDbg {
328  struct cMini2track {  struct cMini2track {
329      double al[5];      double al[5];
330      double xm[NPLANE],ym[NPLANE],zm[NPLANE];      double xm[NPLANE],ym[NPLANE],zm[NPLANE];
331      double xm_a[NPLANE],ym_a[NPLANE];      double xm_a[NPLANE],ym_a[NPLANE],zm_a[NPLANE];
332      double xm_b[NPLANE],ym_b[NPLANE];      double xm_b[NPLANE],ym_b[NPLANE],zm_b[NPLANE];
333      double resx[NPLANE],resy[NPLANE];      double resx[NPLANE],resy[NPLANE];
334      double tailx[NPLANE],taily[NPLANE];      double tailx[NPLANE],taily[NPLANE];
335      double xgood[NPLANE],ygood[NPLANE];      double xgood[NPLANE],ygood[NPLANE];
# Line 563  struct cTrkETA { Line 572  struct cTrkETA {
572  struct cTrkSW{  struct cTrkSW{
573      int pfaid;      int pfaid;
574  };  };
575    /**
576     * \brief Struct to read alignment parameters
577     */
578    struct cTrkAlign {
579        
580        double omega[NSENSOR][NLADDER][NPLANE];
581        double beta[NSENSOR][NLADDER][NPLANE];
582        double gamma[NSENSOR][NLADDER][NPLANE];
583        double dx[NSENSOR][NLADDER][NPLANE];
584        double dy[NSENSOR][NLADDER][NPLANE];
585        double dz[NSENSOR][NLADDER][NPLANE];
586    
587    };
588    
589  extern "C" {  extern "C" {
590    
# Line 579  extern "C" { Line 601  extern "C" {
601      extern struct cTrkETA     pfa_;      extern struct cTrkETA     pfa_;
602      extern struct cTrkSW      sw_;      extern struct cTrkSW      sw_;
603      extern struct cDeltaB     deltab_;      extern struct cDeltaB     deltab_;
604        extern struct cTrkAlign   alignparameters_;
605    
606      void fillpedsigfromdefault_();      void fillpedsigfromdefault_();
607      int readmipparam_();      int readmipparam_();
# Line 594  extern "C" { Line 617  extern "C" {
617      float riseta_(int*,float*);      float riseta_(int*,float*);
618      void chisq_(int*, int*);      void chisq_(int*, int*);
619    
620  }  };
621    
622  #endif  #endif

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.23