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 22 of file matrixSaver.cc.
std::vector< CLHEP::HepMatrix > matrixSaver::getConcreteMatrixVector | ( | std::string | inputFileName | ) |
Definition at line 217 of file matrixSaver.cc.
References assert(), i, recoMuon::in, and analyzePatCleaning_cfg::inputFile.
CLHEP::HepGenMatrix * matrixSaver::getMatrix | ( | std::string | inputFileName | ) |
Definition at line 146 of file matrixSaver.cc.
References assert(), ecal_dqm_sourceclient-live_cfg::cerr, recoMuon::in, analyzePatCleaning_cfg::inputFile, and makeMuonMisalignmentScenario::matrix.
Referenced by getSavedMatrix().
std::vector< CLHEP::HepGenMatrix * > * matrixSaver::getMatrixVector | ( | std::string | inputFileName | ) |
Definition at line 173 of file matrixSaver.cc.
References assert(), i, recoMuon::in, analyzePatCleaning_cfg::inputFile, and makeMuonMisalignmentScenario::matrix.
int matrixSaver::saveMatrix | ( | std::string | outputFileName, |
const CLHEP::HepGenMatrix * | saveMe | ||
) |
Definition at line 58 of file matrixSaver.cc.
References assert(), GenerateHcalLaserBadRunList::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 assert(), GenerateHcalLaserBadRunList::out, and download_sqlite_cfg::outputFile.
bool matrixSaver::touch | ( | std::string | inputFileName | ) |
Definition at line 137 of file matrixSaver.cc.
References recoMuon::in, and analyzePatCleaning_cfg::inputFile.
Referenced by getSavedMatrix().