/[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.7 by pam-fi, Mon Aug 20 16:07:14 2007 UTC revision 1.10 by pam-fi, Wed Nov 7 10:38:51 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 87  public: Line 88  public:
88      static int init__mini_istepmin;      static int init__mini_istepmin;
89      static double init__mini_fact;      static double init__mini_fact;
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
92        static float init__pfa_e234ay[6]; // angle intervals for eta2-3-4
93    
94      TrkParams();      TrkParams();
95            
96      
97      // ---------------------------------------------      // ---------------------------------------------
98      // calibration (PED-SIG-BAD)      // calibration (PED-SIG-BAD)
99      // ---------------------------------------------      // ---------------------------------------------
# Line 127  public: Line 131  public:
131      static float GetBY(float*);      static float GetBY(float*);
132      static float GetBZ(float*);      static float GetBZ(float*);
133      static float GetResolution(int,float);      static float GetResolution(int,float);
134        static int   GetPFA(){return sw_.pfaid;};
135    
136      // ---------------------------------------------      // ---------------------------------------------
137      // debug mode      // debug mode
# Line 148  public: Line 153  public:
153      static void SetTrackingMode()   {track_.trackmode = init__mini_trackmode;};      static void SetTrackingMode()   {track_.trackmode = init__mini_trackmode;};
154      static void SetPrecisionFactor(){track_.fact      = init__mini_fact;     };      static void SetPrecisionFactor(){track_.fact      = init__mini_fact;     };
155      static void SetStepMin()        {track_.istepmin  = init__mini_istepmin; };      static void SetStepMin()        {track_.istepmin  = init__mini_istepmin; };
     static void SetPFA()            {sw_.pfaid        = init__pfa;           };  
156      // set to custom values      // set to custom values
157      static void SetTrackingMode(int);      static void SetTrackingMode(int);
158      static void SetPrecisionFactor(double);      static void SetPrecisionFactor(double);
159      static void SetStepMin(int);      static void SetStepMin(int);
160      static void SetPFA(int);      static void SetPFA(int);
161        static void SetPFA(float *);
162        static void SetPFA(void);
163            
164        // ---------------------------------------------
165        // varie ed eventuali...
166        // ---------------------------------------------
167        static TSQLServer* SetDBConnection();
168    
169    
170      ClassDef(TrkParams,2);      ClassDef(TrkParams,2);
171    
172  };  };

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.23