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) |
bool | 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 20 of file matrixSaver.cc.
std::vector< CLHEP::HepMatrix > matrixSaver::getConcreteMatrixVector | ( | std::string | inputFileName | ) |
Definition at line 172 of file matrixSaver.cc.
References cms::cuda::assert(), mps_fire::i, recoMuon::in, makeListRunsInFiles::inputFile, and InefficientDoubleROC::inputFileName.
CLHEP::HepGenMatrix * matrixSaver::getMatrix | ( | std::string | inputFileName | ) |
Definition at line 108 of file matrixSaver.cc.
References cms::cuda::assert(), DMR_cfg::cerr, recoMuon::in, makeListRunsInFiles::inputFile, InefficientDoubleROC::inputFileName, and makeMuonMisalignmentScenario::matrix.
std::vector< CLHEP::HepGenMatrix * > * matrixSaver::getMatrixVector | ( | std::string | inputFileName | ) |
Definition at line 133 of file matrixSaver.cc.
References cms::cuda::assert(), mps_fire::i, recoMuon::in, makeListRunsInFiles::inputFile, InefficientDoubleROC::inputFileName, and makeMuonMisalignmentScenario::matrix.
int matrixSaver::saveMatrix | ( | std::string | outputFileName, |
const CLHEP::HepGenMatrix * | saveMe | ||
) |
Definition at line 44 of file matrixSaver.cc.
References cms::cuda::assert(), MillePedeFileConverter_cfg::out, download_sqlite_cfg::outputFile, and makeListRunsInFiles::outputFileName.
int matrixSaver::saveMatrixVector | ( | std::string | outputFileName, |
const std::vector< CLHEP::HepGenMatrix *> & | saveMe | ||
) |
Definition at line 60 of file matrixSaver.cc.
References cms::cuda::assert(), corrVsCorr::filename, MillePedeFileConverter_cfg::out, and download_sqlite_cfg::outputFile.
bool matrixSaver::touch | ( | std::string | inputFileName | ) |
Definition at line 103 of file matrixSaver.cc.
References recoMuon::in, makeListRunsInFiles::inputFile, and InefficientDoubleROC::inputFileName.