/[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.31 by pam-fi, Wed Mar 5 17:00:18 2008 UTC revision 1.36 by pam-fi, Thu Feb 27 11:24:43 2014 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    #define NSTRIPVK 128
15    #define NSTRIP NSTRIPVK*NVK
16    
17  #define NCLMAX_VIEW 200         //max n.clusters per view  #define NCLMAX_VIEW 200         //max n.clusters per view
18  #define NCLSTR 20               //max n.strip per cluster  #define NCLSTR 20               //max n.strip per cluster
# Line 327  struct cDbg { Line 330  struct cDbg {
330  struct cMini2track {  struct cMini2track {
331      double al[5];      double al[5];
332      double xm[NPLANE],ym[NPLANE],zm[NPLANE];      double xm[NPLANE],ym[NPLANE],zm[NPLANE];
333      double xm_a[NPLANE],ym_a[NPLANE];      double xm_a[NPLANE],ym_a[NPLANE],zm_a[NPLANE];
334      double xm_b[NPLANE],ym_b[NPLANE];      double xm_b[NPLANE],ym_b[NPLANE],zm_b[NPLANE];
335      double resx[NPLANE],resy[NPLANE];      double resx[NPLANE],resy[NPLANE];
336      double tailx[NPLANE],taily[NPLANE];      double tailx[NPLANE],taily[NPLANE];
337      double xgood[NPLANE],ygood[NPLANE];      double xgood[NPLANE],ygood[NPLANE];
# Line 571  struct cTrkETA { Line 574  struct cTrkETA {
574  struct cTrkSW{  struct cTrkSW{
575      int pfaid;      int pfaid;
576  };  };
577    /**
578     * \brief Struct to read alignment parameters
579     */
580    struct cTrkAlign {
581        
582        double omega[NSENSOR][NLADDER][NPLANE];
583        double beta[NSENSOR][NLADDER][NPLANE];
584        double gamma[NSENSOR][NLADDER][NPLANE];
585        double dx[NSENSOR][NLADDER][NPLANE];
586        double dy[NSENSOR][NLADDER][NPLANE];
587        double dz[NSENSOR][NLADDER][NPLANE];
588    
589    };
590    
591    /**
592     * \brief Struct to check reduction procedure: CN evaluation
593     */
594    struct cTrkCN {
595    
596        float cn[NVK][NVIEW];
597        float cnrms[NVK][NVIEW];
598        int cnn[NVK][NVIEW];
599        int clstr[NSTRIPVK][NVK][NVIEW];
600        int strange[NSTRIPVK][NVK][NVIEW];
601    
602    };
603    /**
604     * \brief Struct to check reduction procedure: pedestal subtraction
605     */
606    struct cTrkEvent {
607        float value[NSTRIP];    
608    };
609    
610    /**
611     * \brief Struct to check reduction procedure: pedestal subtraction
612     */
613    struct cTrkMIP {
614        float mip[NLADDER][NVIEW];
615    };
616    
617  extern "C" {  extern "C" {
618    
619        extern struct cTrkMIP     adc2mip_;
620      extern struct cTrkCalib   pedsigbad_;      extern struct cTrkCalib   pedsigbad_;
621      extern struct cTrkMask    mask_;      extern struct cTrkMask    mask_;
622      extern struct cTrkLevel0  level0event_;      extern struct cTrkLevel0  level0event_;
# Line 587  extern "C" { Line 630  extern "C" {
630      extern struct cTrkETA     pfa_;      extern struct cTrkETA     pfa_;
631      extern struct cTrkSW      sw_;      extern struct cTrkSW      sw_;
632      extern struct cDeltaB     deltab_;      extern struct cDeltaB     deltab_;
633        extern struct cTrkAlign   alignparameters_;
634        extern struct cTrkEvent   calibratedsignal_;
635    
636      void fillpedsigfromdefault_();      void fillpedsigfromdefault_();
637      int readmipparam_();      int readmipparam_();
# Line 602  extern "C" { Line 647  extern "C" {
647      float riseta_(int*,float*);      float riseta_(int*,float*);
648      void chisq_(int*, int*);      void chisq_(int*, int*);
649    
650  }  };
651    
652    
653  #endif  #endif

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.23