Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

BfldValidate.h

Go to the documentation of this file.
00001 
00002 // $Id: BfldValidate.h,v 1.7 2005/08/26 19:14:53 rhatcher Exp $
00003 // 
00004 // BfldValidate
00005 // 
00006 // BfldValidate tests the Bfld structures
00007 //
00008 // Author:  R. Hatcher 2000.06.20
00009 //
00011 
00012 #ifndef BFLDVALIDATE_H
00013 #define BFLDVALIDATE_H
00014 
00015 #include "TObject.h"
00016 
00017 #include "BField/BField.h"
00018 #include "Conventions/Munits.h"
00019 #include "Validity/VldContext.h"
00020 
00021 class BfldValidate : public TObject {
00022 
00023  public:
00024 
00025    BfldValidate();
00026    virtual ~BfldValidate();
00027 
00028    void SetDetector(Detector::Detector_t detector 
00029                         = Detector::kNear);
00030 
00031    void TestLoanPool();
00032    void TestInterpMethods(Int_t coarseness = -1,
00033                           Float_t x = 22.5*Munits::cm,
00034                           Float_t y = 22.5*Munits::cm);
00035    void DrawMap(Int_t coarseness=-1, Int_t mapid=142, 
00036                 Float_t x0=0.*Munits::cm, Float_t y0=0.*Munits::cm,
00037                 Float_t half=420.*Munits::cm, Float_t spacing=5.*Munits::cm,
00038                 Int_t interpolant=1);
00039 
00040  protected:
00041 
00042    void PrintPair(const Char_t *tag, TVector3 &xyz, TVector3 &bxyz); 
00043    void DrawOutline(const Detector::Detector_t detector);
00044    void DrawNearOutline();
00045    void DrawFarOutline();
00046 
00047    Detector::Detector_t      fDetector;
00048    VldContext                fVldContext;
00049 
00050  private:
00051 
00052    ClassDef(BfldValidate,1)  // BfldValidate version 1
00053 };
00054 
00055 #endif // BFLDVALIDATE_H

Generated on Mon Feb 15 11:06:25 2010 for loon by  doxygen 1.3.9.1