CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

GenericFunctions/Airy.hh
Go to the documentation of this file.
1 // -*- C++ -*-
2 // $Id:
3 // Airy Functions Ai and Bi
4 #ifndef Airy_h
5 #define Airy_h 1
7 namespace Genfun {
8 
13  class Airy : public AbsFunction {
14 
16 
17  public:
18 
19  enum Type {Ai, Bi};
20 
21  // Constructor: Use this one and you will get a Airy function Ai or Bi
22  Airy (Type type);
23 
24  // Copy constructor
25  Airy(const Airy &right);
26 
27  // Destructor
28  virtual ~Airy();
29 
30  // Retreive function value
31  virtual double operator ()(double argument) const;
32  virtual double operator ()(const Argument & a) const {return operator() (a[0]);}
33 
34  private:
35 
36  // It is illegal to assign an adjustable constant
37  const Airy & operator=(const Airy &right);
38 
39  // The type and order of the Airy function
40  Type _type;
41 
42  };
43 
44 } // namespace Genfun
45 
46 
47 #include "CLHEP/GenericFunctions/Airy.icc"
48 #endif
a
@ a
Definition: testCategories.cc:125
AbsFunction.hh
Genfun::Airy::Airy
Airy(Type type)
Genfun::Airy::Ai
@ Ai
Definition: CLHEP/GenericFunctions/Airy.hh:19
Genfun::Airy::Type
Type
Definition: CLHEP/GenericFunctions/Airy.hh:19
type
Signatures of Hep3Vector::rotate For equivalent ZOOM axis There is no harm in leaving this axis CLHEP has implemented a first forming an identity then rotating that by axis and I leave the CLHEP code alone people are of course free to use the ZOOM originated method with signature which I believe will be faster Return types for rotateZ CLHEP and PhysicsVectors each have these three and they are identical except that the ZOOM version returns a reference to while in CLHEP they return void Having methods that alter an object return a reference to that object is convenient for certain chained and costs nothing I don t wish to potentially break ZOOM user code for no good so I have made these CLHEP method conform to this convention There are a couple of other CLHEP rotate and which use the void return type
Definition: minorMergeIssues.doc:113
Genfun::Airy::~Airy
virtual ~Airy()
Genfun::Argument
Definition: CLHEP/GenericFunctions/Argument.hh:17
Genfun::Airy::Bi
@ Bi
Definition: CLHEP/GenericFunctions/Airy.hh:19
Genfun::Airy::operator()
virtual double operator()(double argument) const
FUNCTION_OBJECT_DEF
#define FUNCTION_OBJECT_DEF(classname)
Definition: CLHEP/GenericFunctions/AbsFunction.hh:144
Genfun
Definition: CLHEP/GenericFunctions/Abs.hh:14
Genfun::Airy
Definition: CLHEP/GenericFunctions/Airy.hh:13