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

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

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

revision 1.1 by pam-fi, Thu Nov 23 18:51:43 2006 UTC revision 1.5 by pam-fi, Wed Oct 22 15:17:31 2008 UTC
# Line 14  Line 14 
14    
15  using namespace pamela;  using namespace pamela;
16  #include <iostream>  #include <iostream>
17    #include <math.h> // EMILIANO: needed to compile with ROOT > 5.16/x
18  using namespace std;  using namespace std;
19  /**  /**
20   * \brief Class to describe tracker calibration data.   * \brief Class to describe tracker calibration data.
# Line 32  class TrkCalib : public TObject{ Line 33  class TrkCalib : public TObject{
33    
34   private:   private:
35    
36     public:
37    
38      CalibTrk1Event* calib1;      CalibTrk1Event* calib1;
39    
  public:  
40    
41      TrkCalib();      TrkCalib();
42      ~TrkCalib();      ~TrkCalib();
43    
44    
45    //    void Reset();
46    
47      Int_t GetView(Int_t ipkt);      Int_t GetView(Int_t ipkt);
48    
49      Int_t   EvaluatePar(TString what, Int_t ipkt, Int_t ivk, Float_t* result);      Int_t   EvaluatePar(TString what, Int_t ipkt, Int_t ivk, Float_t* result);
# Line 54  class TrkCalib : public TObject{ Line 59  class TrkCalib : public TObject{
59      Float_t* Get(TString, Int_t, Int_t);      Float_t* Get(TString, Int_t, Int_t);
60      Float_t* Get(TString what, Int_t ipkt) { return Get(what,ipkt,0); };      Float_t* Get(TString what, Int_t ipkt) { return Get(what,ipkt,0); };
61    
62      TH1F* GetHisto(TString, Int_t, Int_t);      TH1F* GetHisto(TString, Int_t, Int_t, Int_t);
63      TH1F* GetHisto(TString what, Int_t ipkt) { return GetHisto(what,ipkt,0); };      TH1F* GetHisto(TString what, Int_t ipkt, Int_t ivk) { return GetHisto(what,ipkt,ivk,1); };
64        TH1F* GetHisto(TString what, Int_t ipkt) { return GetHisto(what,ipkt,0,1); };
65    
66      void HeaderDump(Int_t);      void HeaderDump(Int_t);
67    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23