AtmosphereParameters.cc
Go to the documentation of this file.
1 
8 #include <evt/AtmosphereParameters.h>
9 #include <utl/AugerException.h>
10 
11 using namespace evt;
12 using namespace std;
13 
14 
16  const vector<double>& a,
17  const vector<double>& b,
18  const vector<double>& c) :
19  fH(h),
20  fA(a),
21  fB(b),
22  fC(c)
23 {
24  const unsigned int n = fH.size();
25  if (n != fA.size() || n != fB.size() || n != fC.size())
26  throw utl::AugerException("AtmosphereParameters::AtmosphereParameters constructor arguments MUST have the same length");
27 }
28 
29 
30 // Configure (x)emacs for this file ...
31 // Local Variables:
32 // mode: c++
33 // compile-command: "make -C .. -k"
34 // End:
Base class for all exceptions used in the auger offline code.
std::vector< double > fA
std::vector< double > fH
std::vector< double > fB
std::vector< double > fC

, generated on Tue Sep 26 2023.