00001 // Kludgy class to hold misc flags and parameters that are run-time settable 00002 // just a convenient way of moving them about 00003 00004 // Interface Dependencies ---------------------------------------------- 00005 00006 #ifndef MDCFLAGHOLD_H 00007 #define MDCFLAGHOLD_H 00008 00009 #include "MdcTrkRecon/MdcSegParams.h" 00010 #include "MdcTrkRecon/MdcTrackParams.h" 00011 #include <vector> 00012 00013 // End Interface Dependencies ----------------------------------------- 00014 00015 // Class // 00016 class MdcFlagHold { 00017 public: 00018 void setDebug(int debugFlag); 00019 void setHist(int histFlag); 00020 int debugFlag() const {return m_debug;} 00021 00022 int plot; 00023 int plotSegs; 00024 int plotSegList; 00025 int plotTrackList; 00026 int plotTracks; 00027 int lHist; 00028 int findTracks; // for the moment, 2 => cosmic/prototype tracks 00029 int findSegs; 00030 MdcSegParams segPar; 00031 MdcTrackParams tkParTight; 00032 00033 void readPar(std::string inname); 00034 void printPar(); 00035 MdcFlagHold(); 00036 ~MdcFlagHold() {}; 00037 00038 private: 00039 int m_debug; 00040 }; 00041 00042 #endif 00043 00044 00045 00046 00047 00048 00049