save (read) CLHEP::HepMatrix to (from) text files More...
#include <matrixSaver.h>
Public Member Functions | |
std::vector< CLHEP::HepMatrix > | getConcreteMatrixVector (std::string inputFileName) |
CLHEP::HepGenMatrix * | getMatrix (std::string inputFileName) |
std::vector < CLHEP::HepGenMatrix * > * | getMatrixVector (std::string inputFileName) |
matrixSaver () | |
int | saveMatrix (std::string outputFileName, const CLHEP::HepGenMatrix *saveMe) |
int | saveMatrixVector (std::string outputFileName, const std::vector< CLHEP::HepGenMatrix * > &saveMe) |
int | touch (std::string inputFileName) |
~matrixSaver () | |
save (read) CLHEP::HepMatrix to (from) text files
Definition at line 22 of file matrixSaver.h.
matrixSaver::matrixSaver | ( | ) |
Definition at line 16 of file matrixSaver.cc.
matrixSaver::~matrixSaver | ( | ) |
Definition at line 22 of file matrixSaver.cc.
std::vector< CLHEP::HepMatrix > matrixSaver::getConcreteMatrixVector | ( | std::string | inputFileName | ) |
Definition at line 218 of file matrixSaver.cc.
References i, recoMuon::in, analyzePatCleaning_cfg::inputFile, and NULL.
CLHEP::HepGenMatrix * matrixSaver::getMatrix | ( | std::string | inputFileName | ) |
Definition at line 147 of file matrixSaver.cc.
References dtNoiseDBValidation_cfg::cerr, recoMuon::in, analyzePatCleaning_cfg::inputFile, makeMuonMisalignmentScenario::matrix, and NULL.
Referenced by getSavedMatrix().
std::vector< CLHEP::HepGenMatrix * > * matrixSaver::getMatrixVector | ( | std::string | inputFileName | ) |
Definition at line 174 of file matrixSaver.cc.
References i, recoMuon::in, analyzePatCleaning_cfg::inputFile, makeMuonMisalignmentScenario::matrix, and NULL.
int matrixSaver::saveMatrix | ( | std::string | outputFileName, |
const CLHEP::HepGenMatrix * | saveMe | ||
) |
Definition at line 58 of file matrixSaver.cc.
References dbtoconf::out, and download_sqlite_cfg::outputFile.
int matrixSaver::saveMatrixVector | ( | std::string | outputFileName, |
const std::vector< CLHEP::HepGenMatrix * > & | saveMe | ||
) |
Definition at line 80 of file matrixSaver.cc.
References NULL, dbtoconf::out, and download_sqlite_cfg::outputFile.
int matrixSaver::touch | ( | std::string | inputFileName | ) |
Definition at line 138 of file matrixSaver.cc.
References recoMuon::in, analyzePatCleaning_cfg::inputFile, and NULL.
Referenced by getSavedMatrix().