/[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.12 by pam-fi, Fri Nov 10 11:38:43 2006 UTC revision 1.15 by pam-fi, Mon Feb 5 16:01:50 2007 UTC
# Line 7  Line 7 
7  #define trkstruct_h  #define trkstruct_h
8    
9  #define NPLANE 6  #define NPLANE 6
10    #define NVIEW 12
11    #define NVK 24
12    #define NLADDER 3
13    
14  #define NCLMAX_VIEW 200         //max n.clusters per view  #define NCLMAX_VIEW 200         //max n.clusters per view
15  #define NCLSTR 20               //max n.strip per cluster  #define NCLSTR 20               //max n.strip per cluster
# Line 21  Line 24 
24  #define NTRKMAX 10  #define NTRKMAX 10
25  #define NSINGMAX NCLMAX //100  #define NSINGMAX NCLMAX //100
26    
27    #define NANGMAX 21
28    #define NETAVALMAX 150
29    
30    
31  #include <CalibTrk1Event.h>  //#include <CalibTrk1Event.h>
32  #include <CalibTrk2Event.h>  //#include <CalibTrk2Event.h>
33    #include <TrkCalib.h>
34    
35  #include <TString.h>  #include <TString.h>
36  #include <TFile.h>  #include <TFile.h>
# Line 289  struct cMini2track { Line 295  struct cMini2track {
295      double cov[5][5];      double cov[5][5];
296      int nstep;      int nstep;
297      int idcand;      int idcand;
298    
299  };  };
300  //  //
301  /**  /**
# Line 357  struct cTrkHough { Line 364  struct cTrkHough {
364        
365  };  };
366    
367    /**
368     * \brief Struct to pass VA1-mask to F77 routines
369     */
370    struct cTrkMask {
371    
372        int mask_vk[NVK][NVIEW];
373        int mask_vk_run[NVK][NVIEW];
374    
375        void Set(TFile* , Int_t , Int_t );
376    
377    };
378    
379    /**
380     * \brief Struct for pfa parameters
381     */
382    struct cTrkETA {
383    
384        int nangbin;
385        float angL[NANGMAX],angR[NANGMAX];
386        int netaval;
387        float eta2[NANGMAX][NETAVALMAX];
388        float feta2[NANGMAX][NLADDER][NVIEW][NETAVALMAX];
389        float eta3[NANGMAX][NETAVALMAX];
390        float feta3[NANGMAX][NLADDER][NVIEW][NETAVALMAX];
391        float eta4[NANGMAX][NETAVALMAX];
392        float feta4[NANGMAX][NLADDER][NVIEW][NETAVALMAX];
393    
394    };
395    
396  extern "C" {  extern "C" {
397    
# Line 369  extern "C" { Line 404  extern "C" {
404      extern struct cDbg        dbg_;      extern struct cDbg        dbg_;
405      extern struct cTrkHough   houghevent_;      extern struct cTrkHough   houghevent_;
406      extern struct cMini2track track_;      extern struct cMini2track track_;
407        extern struct cTrkMask    mask_;
408        extern struct cTrkETA     pfa_;
409    
410      void fillpedsigfromdefault_();      void fillpedsigfromdefault_();
411      int readmipparam_();      int readmipparam_();

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.23