Changeset 719 in Sophya for trunk


Ignore:
Timestamp:
Feb 6, 2000, 4:06:55 PM (26 years ago)
Author:
ercodmgr
Message:

Introoduction adaptateur XNTuple pour SOPHYA, Reza 7 Fev 2000

Location:
trunk/SophyaPI/PIext
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/nomhistadapter.cc

    r584 r719  
    318318}
    319319
    320 #ifdef SANS_EVOLPLANCK
    321320//-------------------------------------------------------------------------
    322321// Class Adaptateur d'objet (Pour NamedObjMgr) d'objet XNTuple
     
    352351mNt->Write(pos,0,tag);
    353352#else
    354 string s = typeid(*mObj).name();
    355 cout << "NOMAdapter_XNTuple::SavePPF() - Error : Not supported for " << s << endl;
     353ObjFileIO<XNTuple> fio(mNt);
     354fio.Write(pos, nom);
    356355#endif
    357356}
     
    372371}
    373372
    374 #endif  // SANS_EVOLPLANCK
    375 
     373
  • trunk/SophyaPI/PIext/nomhistadapter.h

    r495 r719  
    1313#include "ntuple.h"
    1414
    15 #ifdef SANS_EVOLPLANCK
    1615#include "xntuple.h"
    17 #endif
    1816
    1917//-------------------------------------------------------------------------
     
    118116};
    119117
    120 #ifdef SANS_EVOLPLANCK
    121118//-------------------------------------------------------------------------
    122119// Class Adaptateur d'objet (Pour NamedObjMgr) d'objet XNTuple
     
    141138};
    142139
    143 #endif  // SANS_EVOLPLANCK
    144140
    145141
  • trunk/SophyaPI/PIext/nomtmatvecadapter.cc

    r585 r719  
    211211#pragma define_template NOMAdapter_TMatrix<r_4>
    212212#pragma define_template NOMAdapter_TMatrix<r_8>
    213 #pragma define_template NOMAdapter_TMatrix< complex<float> >
    214 #pragma define_template NOMAdapter_TMatrix< complex<double> >
     213#pragma define_template NOMAdapter_TMatrix< complex<r_4> >
     214#pragma define_template NOMAdapter_TMatrix< complex<r_8> >
    215215//#pragma define_template NTupInt_TMatrix<uint_2>
    216216//#pragma define_template NTupInt_TMatrix<int_2>
     
    218218#pragma define_template NTupInt_TMatrix<r_4>
    219219#pragma define_template NTupInt_TMatrix<r_8>
    220 #pragma define_template NTupInt_TMatrix< complex<float> >
    221 #pragma define_template NTupInt_TMatrix< complex<double> >
     220#pragma define_template NTupInt_TMatrix< complex<r_4> >
     221#pragma define_template NTupInt_TMatrix< complex<r_8> >
    222222#endif
    223223
     
    228228template class NOMAdapter_TMatrix<r_4>;
    229229template class NOMAdapter_TMatrix<r_8>;
    230 template class NOMAdapter_TMatrix< complex<float> >;
    231 template class NOMAdapter_TMatrix< complex<double> >;
     230template class NOMAdapter_TMatrix< complex<r_4> >;
     231template class NOMAdapter_TMatrix< complex<r_8> >;
    232232// template class NTupInt_TMatrix<uint_2>;
    233233// template class NTupInt_TMatrix<int_2>;
     
    235235template class NTupInt_TMatrix<r_4>;
    236236template class NTupInt_TMatrix<r_8>;
    237 template class NTupInt_TMatrix< complex<float> >;
    238 template class NTupInt_TMatrix< complex<double> >;
     237template class NTupInt_TMatrix< complex<r_4> >;
     238template class NTupInt_TMatrix< complex<r_8> >;
    239239#endif
  • trunk/SophyaPI/PIext/piinit.cc

    r670 r719  
    3939  serv->RegisterClass(new Histo2D, new NOMAdapter_Histo2D );
    4040  serv->RegisterClass(new NTuple, new NOMAdapter_NTuple );
    41 #ifdef SANS_EVOLPLANCK
     41
    4242  serv->RegisterClass(new XNTuple, new NOMAdapter_XNTuple );
    4343  char* varenv=NULL;
    4444  if ( (varenv=getenv("PEIDA_TMP")) == NULL )   varenv=getenv("TMPDIR") ;
    4545  if (varenv)  XNTuple::SetSwapPath(varenv);
    46 #endif
    4746
    4847  serv->RegisterClass(new GeneralFitData, new NOMAdapter_GeneralFitData );
     
    5857  serv->RegisterClass(new TVector<r_8>, new NOMAdapter_TMatrix<r_8> );
    5958  serv->RegisterClass(new TMatrix<r_8>, new NOMAdapter_TMatrix<r_8> );
    60   serv->RegisterClass(new TVector<complex<float> >, new NOMAdapter_TMatrix<complex<float> > );
    61   serv->RegisterClass(new TMatrix<complex<float> >, new NOMAdapter_TMatrix<complex<float> > );
    62   serv->RegisterClass(new TVector<complex<double> >, new NOMAdapter_TMatrix<complex<double> > );
    63   serv->RegisterClass(new TMatrix<complex<double> >, new NOMAdapter_TMatrix<complex<double> > );
     59  serv->RegisterClass(new TVector<complex<r_4> >, new NOMAdapter_TMatrix<complex<r_4> > );
     60  serv->RegisterClass(new TMatrix<complex<r_4> >, new NOMAdapter_TMatrix<complex<r_4> > );
     61  serv->RegisterClass(new TVector<complex<r_8> >, new NOMAdapter_TMatrix<complex<r_8> > );
     62  serv->RegisterClass(new TMatrix<complex<r_8> >, new NOMAdapter_TMatrix<complex<r_8> > );
    6463#endif
    6564
Note: See TracChangeset for help on using the changeset viewer.