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

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

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

revision 1.8 by pam-fi, Wed Aug 22 07:03:44 2007 UTC revision 1.11 by pam-fi, Tue Nov 27 11:43:49 2007 UTC
# Line 9  Line 9 
9  #include <TString.h>  #include <TString.h>
10  #include <TSQLServer.h>  #include <TSQLServer.h>
11  #include <TSystem.h>  #include <TSystem.h>
12    #include <TROOT.h> // EMILIANO: needed to compile with ROOT > 5.16/x
13    
14  #include <GLTables.h>  #include <GLTables.h>
15  #include <TrkStruct.h>  #include <TrkStruct.h>
# Line 89  public: Line 90  public:
90      static cDbg init__dbg_mode; //debug mode (for both c++ and F77 roiutines)      static cDbg init__dbg_mode; //debug mode (for both c++ and F77 roiutines)
91      static float init__pfa_e234ax[6]; // angle intervals for eta2-3-4      static float init__pfa_e234ax[6]; // angle intervals for eta2-3-4
92      static float init__pfa_e234ay[6]; // angle intervals for eta2-3-4      static float init__pfa_e234ay[6]; // angle intervals for eta2-3-4
93        static double init__deltab_0;
94        static double init__deltab_1;
95    
96      TrkParams();      TrkParams();
97            
98      
99      // ---------------------------------------------      // ---------------------------------------------
100      // calibration (PED-SIG-BAD)      // calibration (PED-SIG-BAD)
101      // ---------------------------------------------      // ---------------------------------------------
# Line 151  public: Line 155  public:
155      static void SetTrackingMode()   {track_.trackmode = init__mini_trackmode;};      static void SetTrackingMode()   {track_.trackmode = init__mini_trackmode;};
156      static void SetPrecisionFactor(){track_.fact      = init__mini_fact;     };      static void SetPrecisionFactor(){track_.fact      = init__mini_fact;     };
157      static void SetStepMin()        {track_.istepmin  = init__mini_istepmin; };      static void SetStepMin()        {track_.istepmin  = init__mini_istepmin; };
158        static void SetDeltaB()         {deltab_.delta0   = init__deltab_0;
159                                         deltab_.delta1   = init__deltab_1;};    
160        static void SetMiniDefault()    {
161            SetTrackingMode();
162            SetPrecisionFactor();
163            SetStepMin();
164            SetDeltaB();
165        }; //
166        static void SetPFA();
167        
168      // set to custom values      // set to custom values
169      static void SetTrackingMode(int);      static void SetTrackingMode(int);
170      static void SetPrecisionFactor(double);      static void SetPrecisionFactor(double);
171      static void SetStepMin(int);      static void SetStepMin(int);
172        static void SetDeltaB(int,double);    
173      static void SetPFA(int);      static void SetPFA(int);
174      static void SetPFA(float *);      static void SetPFA(float *);
     static void SetPFA(void);  
175            
176        // ---------------------------------------------
177        // varie ed eventuali...
178        // ---------------------------------------------
179        static TSQLServer* SetDBConnection();
180    
181    
182      ClassDef(TrkParams,2);      ClassDef(TrkParams,2);
183    
184  };  };

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.23