/[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.13 by pam-fi, Wed Mar 5 17:00:18 2008 UTC revision 1.16 by pam-fi, Wed Oct 22 15:17:33 2008 UTC
# Line 74  public: Line 74  public:
74      static TString      calibpathf; //full      static TString      calibpathf; //full
75      static Bool_t       calib104;      static Bool_t       calib104;
76      static Bool_t       calibload;      static Bool_t       calibload;
77        static TrkCalib*    calib1;
78        static TrkCalib*    calib2;
79      // ---------------------------------------------      // ---------------------------------------------
80      // variables to store loaded-parameters info      // variables to store loaded-parameters info
81      // ---------------------------------------------      // ---------------------------------------------
# Line 115  public: Line 117  public:
117      static Bool_t LoadCalib( );      static Bool_t LoadCalib( );
118      static Bool_t CalibIsLoaded(){ return calibload; };      static Bool_t CalibIsLoaded(){ return calibload; };
119      static UInt_t ValidateTrkCalib( CalibTrk1Event* );      static UInt_t ValidateTrkCalib( CalibTrk1Event* );
120      static void FillFCalibFrom(TFile* , Int_t , Int_t );//full  //    static void FillFCalibFrom(TFile* , Int_t , Int_t );//full
121      static void FillTCalibFrom(TFile* , Int_t , Int_t );//truncated  //    static void FillTCalibFrom(TFile* , Int_t , Int_t );//truncated
122      static void FillTCalibFrom(TString path);      static void FillTCalibFrom(TString path);
123      static void FillACalibFrom(TFile* , Int_t , Int_t );//all      static void FillACalibFrom(TFile* , Int_t , Int_t );//all
124      static void FillMask(TFile* , Int_t , Int_t );      static void FillMask(TFile* , Int_t , Int_t );
# Line 138  public: Line 140  public:
140      static Bool_t IsLoaded( UInt_t type ){return glload[TrkParams::GetIndex(type)];};      static Bool_t IsLoaded( UInt_t type ){return glload[TrkParams::GetIndex(type)];};
141      static Bool_t IsLoaded( );      static Bool_t IsLoaded( );
142    
143        static GL_PARAM GetParams( UInt_t type ){ return gl[TrkParams::GetIndex(type)]; };
144    
145      // ---------------------------------------------      // ---------------------------------------------
146      // retrieve parameters      // retrieve parameters
147      // ---------------------------------------------      // ---------------------------------------------
# Line 146  public: Line 150  public:
150      static float GetBZ(float*);      static float GetBZ(float*);
151      static float GetResolution(int,float);      static float GetResolution(int,float);
152      static int   GetPFA(){return sw_.pfaid;};      static int   GetPFA(){return sw_.pfaid;};
153        static int GetPFA_NbinsAngle();
154        static int GetPFA_NbinsETA();
155        static int GetPFA_NbinsCharge(){return 0;};
156        static int GetPFA_AngleBin(float);
157        static float* GetPFA_ETAcorr(TString,int,int,int);
158        static float* GetPFA_ETAabs(TString,int);
159        static float  GetPFA_ETAlandi(int,int,int);
160        static float  GetPFA_ETAlandi(int nv,int nl,float ang)
161            { return TrkParams::GetPFA_ETAlandi(nv,nl,TrkParams::GetPFA_AngleBin(ang)); };
162    
163    
164    
165      // ---------------------------------------------      // ---------------------------------------------
166      // debug mode      // debug mode

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.23