//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Information: See EvtGen/COPYRIGHT // Copyright (C) 1998 Caltech, UCSB // // Module: cgFinder.cc // // Description: // // Modification history: // // August 11,2000 //------------------------------------------------------------------------ // // // #include "EvtGenBase/EvtPatches.hh" #include #include #include #include #include #include #include "EvtGenBase/EvtOrthogVector.hh" #include "EvtGenBase/EvtCGCoefSingle.hh" #include "EvtGenBase/EvtdFunction.hh" #include "EvtGenBase/EvtReport.hh" using std::endl; using std::fstream; int main(int argc, char* argv[]){ report(INFO,"EvtGen") << "First test the Vector..." << endl; std::vector tempT; tempT.push_back(1.0); report(INFO,"EvtGen") << tempT[0] << endl; tempT.push_back(2.2); report(INFO,"EvtGen") << tempT[0] << " " << tempT[1] << endl; tempT.push_back(3.0); report(INFO,"EvtGen") << tempT[0] << " " << tempT[1] << " "<< tempT[2] << endl; report(INFO,"EvtGen") << "EvtdFunction:"< vect0; for (i=0; i vect1; for (i=0; i vect2; for (i=0; i vect3; for (i=0; i vectors[4]={vect0,vect1,vect2,vect3}; EvtOrthogVector getOrth(dim,vectors); std::vector orth=getOrth.getOrthogVector(); report(INFO,"EvtGen") << "orth 0="<