// Author: Sangsu Ryu // Revision: Sangsu Ryu Mar/17/2001 // Makes event(PHCompositeNode*) return true // Sangsu Ryu Apr/01/2001 // Adds a member "enablehist" #ifndef __MMVDRECO_HH__ #define __MMVDRECO_HH__ #include "PHModule.h" //#include "headerWrapper.h" #include "PdbMvdMap.hh" #include "PdbMvdCalib.hh" #include "MvdDatabaseNew.hh" class MvdReco; /** * main STAF style module for MVD reconstruction. * This module maintains its own copies * par of type MvdParameter, geopar of type MvdGeoParameter, bgeometry of type * MvbGeometry and cgeometry of type MvcGeometry. Everytime this moudle is * called this set of parameters is initialized. All objects in this module use * this set of parameters to initialize themselves if they have them as their * data members. * Call to mvd.Generate(dMvdDCM, mvdclumps, bbcvertex) unpacks Mvd DCM data into * raw hit Mvd information, generates clusters and returns it in mvdclumps of * type MvdClumps and finds vertex using vertex information from Bbc(bbcvertex of * MvdBbcVertex). * Then this module ends with dumping to Mvd output tables followed by * histogramming which is not working properly and has to be replaced by ROOT * macros eventually. * Detailed Documentation: * \URL{http://www.phenix.bnl.gov/WWW/software/luxor/} * @author Jeonghwan Park, Sangsu Ryu \URL{ryu@p2hp2.lanl.gov} * @version 1.0 */ class mMvdReco : public PHModule{ public: mMvdReco(PHBoolean=false); ~mMvdReco(); virtual PHBoolean event(PHCompositeNode*){return true;} virtual PHBoolean event( PHCompositeNode*, MvdDatabaseNew*, MvdDatabaseNew*, MvdDatabaseNew*); void set_enablehist(PHBoolean flag=true){enablehist=flag;} PHBoolean get_enablehist()const{return enablehist;} private: //void histogram( const MvdReco& ,headerWrapper*); void histogram( const MvdReco&); PHBoolean enablehist; }; #endif /* __MMVDRECO_HH__ */