///////////////////////////////////////////////////////////////////// // // Simple test routine: print the Lorentz vector of the Eflows. // // Author : C. Delaere // // Date: 2001-08-08 // // ///////////////////////////////////////////////////////////////////// #include #include "AlephExManager.h" #include "AlephCollection.h" #include #include "AlToolBox.h" #include "AlBjet.h" extern ofstream fout; /////////////////////////////////////////////////////////////////////// // User Init /////////////////////////////////////////////////////////////////////// void AlephExManager::UserInit() {} /////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// // User Event /////////////////////////////////////////////////////////////////////// void AlephExManager::UserEvent(AlphaBanks& EventInfo) { // get pointers to the objects used in the analysis AlephCollection theEflows=EventInfo.EflwPV(); // loop on the collection and print some values for(AlephCollection::iterator ieflw = theEflows.begin(); ieflw < theEflows.end(); ieflw++) cout << "P = (" << (*ieflw)->QX() << "," << (*ieflw)->QY() << "," << (*ieflw)->QZ() << ") E = " << (*ieflw)->QE() << endl; } /////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// // User Term /////////////////////////////////////////////////////////////////////// void AlephExManager::UserTerm() {}