#include <MarlinSteerCheck.h>
Public Member Functions | |
| MarlinSteerCheck (const char *steerFileName=NULL) | |
| ~MarlinSteerCheck () | |
| CMProcessor * | getMProcs () |
| ProcVec & | getAProcs () |
| ProcVec & | getIProcs () |
| int | existsProcessor (const std::string &type, const std::string &name="") |
| ColVec & | getLCIOCols () const |
| StringVec & | getLCIOFiles () |
| sSet & | getColsSet (const std::string &type, const std::string &name, CCProcessor *proc) |
| StringParameters * | getGlobalParameters () |
| void | dumpColErrors (unsigned int i, std::ostream &stream, bool separators=false) |
| int | addLCIOFile (const std::string &file) |
| void | remLCIOFile (const std::string &file) |
| void | changeLCIOFilePos (unsigned int pos, unsigned int newPos) |
| void | addProcessor (bool status, const std::string &name, const std::string &type, StringParameters *p=NULL) |
| void | remProcessor (unsigned int index, bool status) |
| void | activateProcessor (unsigned int index) |
| void | deactivateProcessor (unsigned int index) |
| void | changeProcessorPos (unsigned int pos, unsigned int newPos) |
| void | consistencyCheck () |
| bool | saveAsXMLFile (const std::string &file) |
| const std::string | getXMLFileRelPath () |
| const std::string | getXMLFileAbsPath () |
| const std::string | getXMLFileName () |
| const std::string | getXMLFile () |
| void | dump_information () |
| sSet & | getErrors () |
| sSet & | getPConditions () |
| const std::string | getCondition (unsigned int index) |
| void | addCondition (const std::string &condition) |
| void | repCondition (const std::string &oldCond, const std::string &newCond) |
| void | remCondition (const std::string &condition) |
Private Member Functions | |
| ColVec & | getProcCols (const ProcVec &v, const std::string &iotype) const |
| ColVec & | getAllCols () const |
| ProcVec & | getAllProcs () const |
| bool | parseXMLFile (const std::string &file) |
| CCProcessor * | popProc (ProcVec &v, CCProcessor *p) |
| ColVec & | findMatchingCols (ColVec &v, CCProcessor *srcProc, const std::string &type, const std::string &value="UNDEFINED", const std::string &name="UNDEFINED") |
Private Attributes | |
| sSet | _errors |
| IParser * | _parser |
| StringParameters * | _gparam |
| std::string | _steeringFile |
| std::string | _XMLFileName |
| std::string | _XMLFileAbsPath |
| std::string | _XMLFileRelPath |
| ProcVec | _aProc |
| ProcVec | _iProc |
| sColVecMap | _lcioCols |
| StringVec | _lcioFiles |
| sSet | _colValues |
| sSet | _pConditions |
| CMProcessor * | _marlinProcs |
|
|
Definition at line 30 of file MarlinSteerCheck.cc. References _errors, _gparam, _marlinProcs, _steeringFile, marlin::StringParameters::add(), parseXMLFile(), and EVENT::StringVec. |
|
|
Definition at line 106 of file MarlinSteerCheck.cc. |
|
|
Activate processor at the given index Definition at line 361 of file MarlinSteerCheck.cc. References _aProc, _iProc, marlin::CCProcessor::changeStatus(), consistencyCheck(), and popProc(). Referenced by parseXMLFile(). |
|
|
Add a new Condition Definition at line 731 of file MarlinSteerCheck.cc. References _pConditions. |
|
|
Add LCIO file and read all collections inside it Definition at line 166 of file MarlinSteerCheck.cc. References _errors, _lcioCols, _lcioFiles, ACTIVE, IO::LCReader::close(), marlin::ColVec, consistencyCheck(), findMatchingCols(), EVENT::LCEvent::getCollection(), EVENT::LCEvent::getCollectionNames(), EVENT::LCCollection::getTypeName(), IO::LCReader::open(), IO::LCReader::readNextEvent(), and EVENT::StringVec. Referenced by parseXMLFile(). |
|
||||||||||||||||||||
|
Add a new processor Definition at line 314 of file MarlinSteerCheck.cc. References _aProc, _iProc, and consistencyCheck(). Referenced by parseXMLFile(). |
|
||||||||||||
|
Change the LCIO File at the given index to the new given position Definition at line 279 of file MarlinSteerCheck.cc. References _lcioFiles, and EVENT::StringVec. |
|
||||||||||||
|
Change the active processor at the given index to the new given position Definition at line 402 of file MarlinSteerCheck.cc. References _aProc, consistencyCheck(), popProc(), and marlin::ProcVec. |
|
|
Performs a check at all active processors to search for unavailable collections Definition at line 430 of file MarlinSteerCheck.cc. References _aProc, marlin::CCProcessor::addDCol(), marlin::CCProcessor::addUCol(), marlin::CCProcessor::clearError(), COL_ERRORS, marlin::ColVec, findMatchingCols(), marlin::CCProcessor::getCols(), getLCIOCols(), INPUT, and OUTPUT. Referenced by activateProcessor(), addLCIOFile(), addProcessor(), changeProcessorPos(), deactivateProcessor(), parseXMLFile(), remLCIOFile(), and remProcessor(). |
|
|
Deactivate processor at the given index Definition at line 379 of file MarlinSteerCheck.cc. References _aProc, _iProc, marlin::CCProcessor::changeStatus(), consistencyCheck(), marlin::CCProcessor::getConditions(), and popProc(). |
|
|
Dumps all information read from the steering file to stdout Definition at line 974 of file MarlinSteerCheck.cc. References _aProc, _errors, _iProc, _steeringFile, dblue, ddunkel, dgreen, dhell, dred, dumpColErrors(), dunderline, dyellow, endcolor, getLCIOCols(), and getLCIOFiles(). Referenced by main(). |
|
||||||||||||||||
|
Writes the collection errors for the active processor with given index to the given stream Definition at line 1081 of file MarlinSteerCheck.cc. References _aProc, marlin::ColVec, dblue, dgreen, dhell, dred, dunderline, DUPLICATE, dyellow, endcolor, findMatchingCols(), getAllCols(), getLCIOCols(), getProcCols(), OUTPUT, marlin::sSet, and UNAVAILABLE. Referenced by dump_information(). |
|
||||||||||||
|
Check if a processor of the given type with the given name already exists Returns 0 if the processor does not exist Returns 1 if the processor exists and is active Returns 2 if the processor exists and is inactive Definition at line 346 of file MarlinSteerCheck.cc. |
|
||||||||||||||||||||||||
|
Definition at line 664 of file MarlinSteerCheck.cc. References marlin::ColVec, and marlin::CCProcessor::getType(). Referenced by addLCIOFile(), consistencyCheck(), dumpColErrors(), and getColsSet(). |
|
|
Definition at line 785 of file MarlinSteerCheck.cc. References _aProc, _iProc, marlin::ColVec, getLCIOCols(), getProcCols(), and OUTPUT. Referenced by dumpColErrors(), and getColsSet(). |
|
|
Definition at line 711 of file MarlinSteerCheck.cc. References _aProc, _iProc, and marlin::ProcVec. |
|
|
Returns the Active Processors Definition at line 86 of file MarlinSteerCheck.h. References marlin::ProcVec. |
|
||||||||||||||||
|
Returns a list of all available Collections for a given type, name and processor (to use in a ComboBox) Definition at line 119 of file MarlinSteerCheck.cc. References _aProc, _colValues, ACTIVE, marlin::ColVec, findMatchingCols(), getAllCols(), marlin::CCProcessor::getCols(), getLCIOCols(), INPUT, marlin::CCProcessor::isActive(), OUTPUT, and marlin::sSet. |
|
|
Returns the condition for a given index Definition at line 722 of file MarlinSteerCheck.cc. References _pConditions. |
|
|
Returns a set with all the errors found after performing a consistency check Definition at line 159 of file MarlinSteerCheck.h. References marlin::sSet. |
|
|
Returns the Global Parameters Definition at line 107 of file MarlinSteerCheck.h. |
|
|
Returns the Inactive Processors Definition at line 89 of file MarlinSteerCheck.h. References marlin::ProcVec. |
|
|
Returns the collections read from LCIO files Definition at line 762 of file MarlinSteerCheck.cc. References _lcioCols, and marlin::ColVec. Referenced by consistencyCheck(), dump_information(), dumpColErrors(), getAllCols(), and getColsSet(). |
|
|
Returns the names of the LCIO files found in the global section Definition at line 101 of file MarlinSteerCheck.h. References EVENT::StringVec. Referenced by dump_information(), and saveAsXMLFile(). |
|
|
Returns the Marlin Processors Definition at line 83 of file MarlinSteerCheck.h. |
|
|
Returns a set with all the processor's conditions Definition at line 162 of file MarlinSteerCheck.h. References marlin::sSet. |
|
||||||||||||
|
Definition at line 774 of file MarlinSteerCheck.cc. References marlin::ColVec. Referenced by dumpColErrors(), and getAllCols(). |
|
|
Definition at line 153 of file MarlinSteerCheck.h. |
|
|
Definition at line 147 of file MarlinSteerCheck.h. |
|
|
Definition at line 150 of file MarlinSteerCheck.h. |
|
|
Definition at line 144 of file MarlinSteerCheck.h. |
|
|
||||||||||||
|
Definition at line 692 of file MarlinSteerCheck.cc. References marlin::ProcVec. Referenced by activateProcessor(), changeProcessorPos(), deactivateProcessor(), and remProcessor(). |
|
|
Returns the condition for a given index Definition at line 747 of file MarlinSteerCheck.cc. References _aProc, _pConditions, and marlin::CCProcessor::getConditions(). |
|
|
Remove LCIO file and all collections associated to it Definition at line 256 of file MarlinSteerCheck.cc. References _lcioCols, _lcioFiles, and consistencyCheck(). |
|
||||||||||||
|
Remove processor with the given status at the given index Definition at line 328 of file MarlinSteerCheck.cc. References _aProc, _iProc, consistencyCheck(), and popProc(). |
|
||||||||||||
|
Replace a Condition Definition at line 735 of file MarlinSteerCheck.cc. References _aProc, _pConditions, and marlin::CCProcessor::getConditions(). |
|
|
Saves the data to an XML file with the given name Returns false if error occured Definition at line 800 of file MarlinSteerCheck.cc. References _aProc, _gparam, _iProc, getLCIOFiles(), marlin::StringParameters::getStringKeys(), marlin::StringParameters::getStringVals(), and EVENT::StringVec. Referenced by main(). |
|
|
Definition at line 221 of file MarlinSteerCheck.h. Referenced by activateProcessor(), addProcessor(), changeProcessorPos(), consistencyCheck(), deactivateProcessor(), dump_information(), dumpColErrors(), existsProcessor(), getAllCols(), getAllProcs(), getColsSet(), parseXMLFile(), remCondition(), remProcessor(), repCondition(), and saveAsXMLFile(). |
|
|
Definition at line 226 of file MarlinSteerCheck.h. Referenced by getColsSet(). |
|
|
Definition at line 205 of file MarlinSteerCheck.h. Referenced by addLCIOFile(), dump_information(), MarlinSteerCheck(), and parseXMLFile(). |
|
|
Definition at line 214 of file MarlinSteerCheck.h. Referenced by MarlinSteerCheck(), parseXMLFile(), saveAsXMLFile(), and ~MarlinSteerCheck(). |
|
|
Definition at line 222 of file MarlinSteerCheck.h. Referenced by activateProcessor(), addProcessor(), deactivateProcessor(), dump_information(), existsProcessor(), getAllCols(), getAllProcs(), parseXMLFile(), remProcessor(), and saveAsXMLFile(). |
|
|
Definition at line 223 of file MarlinSteerCheck.h. Referenced by addLCIOFile(), getLCIOCols(), and remLCIOFile(). |
|
|
Definition at line 224 of file MarlinSteerCheck.h. Referenced by addLCIOFile(), changeLCIOFilePos(), and remLCIOFile(). |
|
|
Definition at line 230 of file MarlinSteerCheck.h. Referenced by MarlinSteerCheck(). |
|
|
Definition at line 213 of file MarlinSteerCheck.h. Referenced by parseXMLFile(), and ~MarlinSteerCheck(). |
|
|
Definition at line 228 of file MarlinSteerCheck.h. Referenced by addCondition(), getCondition(), parseXMLFile(), remCondition(), and repCondition(). |
|
|
Definition at line 216 of file MarlinSteerCheck.h. Referenced by dump_information(), MarlinSteerCheck(), and parseXMLFile(). |
|
|
Definition at line 218 of file MarlinSteerCheck.h. |
|
|
Definition at line 217 of file MarlinSteerCheck.h. |
|
|
Definition at line 219 of file MarlinSteerCheck.h. |
1.3.9.1