00001 #ifndef ValidRecMdcKalTrack_H
00002 #define ValidRecMdcKalTrack_H
00003
00004 #include "GaudiKernel/AlgFactory.h"
00005 #include "GaudiKernel/Algorithm.h"
00006 #include "GaudiKernel/NTuple.h"
00007 #include "AIDA/IHistogram1D.h"
00008 #include "AIDA/IHistogramFactory.h"
00009 #include "GaudiKernel/IHistogramSvc.h"
00010
00011
00012 using AIDA::IHistogram1D;
00013
00014
00015 class ValidRecMdcKalTrackAlg : public Algorithm {
00016
00017 public:
00018
00019 ValidRecMdcKalTrackAlg(const std::string& name, ISvcLocator* pSvcLocator);
00020 StatusCode initialize();
00021 StatusCode execute();
00022 StatusCode finalize();
00023 void histDef(void);
00024
00025 private:
00026
00027 int _ntuple;
00028 NTuple::Tuple* m_nt1;
00029 NTuple::Tuple* m_nt2;
00030 NTuple::Tuple* m_nt3;
00031 NTuple::Tuple* m_nt4;
00032 NTuple::Tuple* m_nt5;
00033
00034
00035
00036 NTuple::Matrix<double> m_ndf,m_chisq,m_stat;
00037
00038 NTuple::Array<double> m_length,m_tof,m_nhits;
00039
00040 NTuple::Item<double> m_zptot,m_zptote,m_zptotmu,m_zptotk,m_zptotp;
00041
00042 NTuple::Item<double> m_zpt,m_zpte,m_zptmu,m_zptk,m_zptp;
00043
00044 NTuple::Item<double> m_fptot,m_fptote,m_fptotmu,m_fptotk,m_fptotp;
00045
00046 NTuple::Item<double> m_fpt,m_fpte,m_fptmu,m_fptk,m_fptp;
00047
00048 NTuple::Item<double> m_lptot,m_lptote,m_lptotmu,m_lptotk,m_lptotp;
00049
00050 NTuple::Item<double> m_lpt,m_lpte,m_lptmu,m_lptk,m_lptp;
00051
00052 NTuple::Item<double> m_zsigp,m_zsigpe,m_zsigpmu,m_zsigpk,m_zsigpp;
00053
00054 NTuple::Array<double> m_zhelix,m_zhelixe,m_zhelixmu,m_zhelixk,m_zhelixp;
00055
00056 NTuple::Array<double> m_fhelix,m_fhelixe,m_fhelixmu,m_fhelixk,m_fhelixp;
00057
00058 NTuple::Array<double> m_lhelix,m_lhelixe,m_lhelixmu,m_lhelixk,m_lhelixp;
00059
00060 NTuple::Array<double> m_zerror,m_zerrore,m_zerrormu,m_zerrork,m_zerrorp;
00061
00062 NTuple::Array<double> m_ferror,m_ferrore,m_ferrormu,m_ferrork,m_ferrorp;
00063
00064 NTuple::Array<double> m_lerror,m_lerrore,m_lerrormu,m_lerrork,m_lerrorp;
00065
00066
00067 };
00068
00069
00070 #endif
00071