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, and writeEcalDQMStatus::inputFile.
CLHEP::HepGenMatrix * matrixSaver::getMatrix | ( | std::string | inputFileName | ) |
Definition at line 108 of file matrixSaver.cc.
References cms::cuda::assert(), EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, recoMuon::in, writeEcalDQMStatus::inputFile, and makeMuonMisalignmentScenario::matrix.
Referenced by getSavedMatrix().
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, writeEcalDQMStatus::inputFile, 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(), submitPVResolutionJobs::out, and download_sqlite_cfg::outputFile.
int matrixSaver::saveMatrixVector | ( | std::string | outputFileName, |
const std::vector< CLHEP::HepGenMatrix * > & | saveMe | ||
) |
Definition at line 60 of file matrixSaver.cc.
References cms::cuda::assert(), submitPVResolutionJobs::out, and download_sqlite_cfg::outputFile.
bool matrixSaver::touch | ( | std::string | inputFileName | ) |
Definition at line 103 of file matrixSaver.cc.
References recoMuon::in, and writeEcalDQMStatus::inputFile.
Referenced by getSavedMatrix().