FairRoot/PandaRoot
PndFieldAdaptor.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 // File and Version Information:
3 // $Id$
4 //
5 // Description:
6 // Adapts a PndField to genfit GFAbsBFieldIfc
7 //
8 //
9 // Environment:
10 // Software developed for the PANDA Detector at FAIR.
11 //
12 // Author List:
13 // Sebastian Neubert TUM (original author)
14 //
15 // adapted by Alicia Sanchez for HYP purpose
16 //-----------------------------------------------------------
17 
18 #ifndef PNDFIELDADAPTOR_HH
19 #define PNDFIELDADAPTOR_HH
20 
21 // Base Class Headers ----------------
22 #include "GFAbsBField.h"
23 #include"TObject.h"
24 
25 // Collaborating Class Headers -------
26 #include <ostream> // remove if you do not need streaming op
27 
28 // Collaborating Class Declarations --
29 class FairField;
30 
31 
32 class PndFieldAdaptor : public GFAbsBField, public TObject {
33 public:
34 
35  // Constructors/Destructors ---------
37  PndFieldAdaptor(FairField* field);
38 
39  // Accessors -----------------------
40  TVector3 get(const TVector3&) const;
41 
42 
43 private:
44 
45  // Private Data Members ------------
46  FairField* fField;
47 
48  // Private Methods -----------------
49 
50  public:
52 
53 };
54 
55 #endif
56 
57 //--------------------------------------------------------------
58 // $Log$
59 //--------------------------------------------------------------
FairField * fField
ClassDef(PndFieldAdaptor, 1)
Generic Interface to magnetic fields in GENFIT.
Definition: GFAbsBField.h:35