Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

BinData.h

Go to the documentation of this file.
00001 #ifndef BIN_DATA
00002 #define BIN_DATA 1
00003 #include <cmath>
00004 #include <vector>
00005 #include "CLHEP/Matrix/Matrix.h"
00006 
00007 //=================================================
00008 //
00009 // Bin Data
00010 //
00011 // Class to hold smearing matrix data
00012 // corresponding to an eta/pt/radius bin
00013 //==================================================
00014 
00015 
00016 namespace Atlfast {
00017 
00027 class BinData {
00028 
00029  public:
00031   BinData(const vector<double> xkal, 
00032           const vector<double> tail, 
00033           vector<double> frac, 
00034           vector<double> sig );
00038   void calculate(int option);
00042   HepMatrix* getMatrix(double random);
00043 
00044  private:
00046   HepMatrix    convert(vector<double>) ;
00048   void    rescale(vector<double>&, double);
00051   vector<double> m_ecxkal;
00054   vector<double> m_ectail;
00057   vector<double> m_efrac; 
00060   vector<double> m_esig;
00062   HepMatrix m_tail;
00064   HepMatrix m_gauss;
00065 
00066 };
00067 
00068 
00069 }
00070 #endif
00071 
00072 
00073 
00074 
00075 

Generated on Wed Jan 23 12:58:31 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001