![]() |
Belle II Software
release-08-02-04
|
TOP database importer. More...
#include <TOPDatabaseImporter.h>
Public Member Functions | |
| TOPDatabaseImporter () | |
| Default constructor. | |
| virtual | ~TOPDatabaseImporter () |
| Destructor. | |
| void | importSampleTimeCalibration (std::string fileNames, int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| Import sample time calibration constants to database Output of TOPTimeBaseCalibrator (root files with histograms) More... | |
| void | importLocalT0Calibration (std::string fileNames, int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| Import channel-by-channel T0 calibration constants to database The input is the root file with ntuple produced by TOPLaserCalibrator. More... | |
| void | importChannelT0 (std::string fileName, int expNo, int firstRun, int lastRun) |
| Import channel T0 calibration constants The input is a root file with 1D histograms (one per slot, named "channelT0_slot*") More... | |
| void | importAsicShifts_BS13d (double s0, double s1, double s2, double s3, int expNo, int firstRun, int lastRun) |
| Import ASIC shifts of BS13d. More... | |
| void | importModuleT0Calibration (std::string fileName, int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| Import module T0 calibration constants to database The input is the text file. More... | |
| void | importModuleT0 (std::string fileName, int expNo, int firstRun, int lastRun) |
| Import module T0 calibration constants The input is a root file with 1D histogram (name is "moduleT0") More... | |
| void | importOfflineCommonT0Calibration (std::string fileName, int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| Import common T0 calibration constants derived form the offline data reprocessing to database The input is a root file containing a tree (one per run). More... | |
| void | importCommonT0 (double value, double error, int expNo, int firstRun, int lastRun, bool roughlyCalibrated=false) |
| Import common T0 calibration constants. More... | |
| void | printSampleTimeCalibrationInfo () |
| Prints sample time calibration info about constants stored in database. | |
| void | printSampleTimeCalibration () |
| Print sample time calibration constants stored in database. | |
| void | importChannelMask (std::string fileName, int expNo, int firstRun, int lastRun) |
| Import channel mask from a root file (given as 1D histograms, one per slot). More... | |
| void | generateFakeChannelMask (double fractionDead, double fractionHot, int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| Generate and import a (random, fake) channel mask for testing. More... | |
| void | importPmtQEData (std::string fileName, std::string treeName="qePmtData", int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| Import PMT Quantum Efficiency data to database. More... | |
| void | importPmtGainData (std::string fileName, std::string treeName="gainPmtData", int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| Import PMT gain parameters data to database. More... | |
| void | importPmtInstallationData (std::string fileName, std::string treeName="installationPmtData", int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| Import PMT installation data to database. More... | |
| void | importPmtObsoleteData (std::string fileName, std::string treeName="obsPmtData", int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| Import PMT specifications from Hamamatsu (not to be used!) More... | |
| void | importPmtTTSPar (std::string fileName, std::string treeName="ttsPmtPar", int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| Import gaussians fitting the TTS distributions. More... | |
| void | importPmtTTSHisto (std::string fileName, std::string treeName="ttsPmtHisto", int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| Import histograms used for PMT TTS determination. More... | |
| void | importPmtPulseHeightFitResult (std::string fileName, int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| Import fit results of pulse height disribution for channel gain and threshold efficiency. More... | |
| void | exportPmtTTSHisto (std::string outFileName="RetrievedHistos.root") |
| Example of exporting TTS histograms. More... | |
| void | importFrontEndSettings (int lookback, int readoutWin, int extraWin, int offset, int expNo, int firstRun, int lastRun) |
| Import front-end settings. More... | |
| void | importDummyCalModuleAlignment (int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| import a dummy payload of TOPCalModuleAlignment DB objects More... | |
| void | importDummyCalModuleT0 (int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| import a dummy payload of TOPCalCalModuleT0 DB objects More... | |
| void | importDummyCalChannelT0 (int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| import a dummy payload of TOPCalChannelT0 DB objects More... | |
| void | importDummyCalTimebase (int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| import a dummy payload of TOPCalTimebase DB objects More... | |
| void | importDummyCalChannelNoise (int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| import a dummy payload of TOPCalChannelNoise DB objects More... | |
| void | importDummyCalChannelPulseHeight (int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| import a dummy payload of TOPCalChannelPulseHeight DB objects More... | |
| void | importDummyCalChannelRQE (int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| import a dummy payload of TOPCalChannelRQE DB objects More... | |
| void | importDummyCalChannelThresholdEff (int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| import a dummy payload of TOPCalChannelThresholdEff DB objects More... | |
| void | importDummyCalChannelThreshold (int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| import a dummy payload of TOPCalChannelThreshold DB objects More... | |
| void | importDummyCalCommonT0 (int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| import a dummy payload of TOPCalCommonT0 DB objects More... | |
| void | importDummyCalIntegratedCharge (int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| import a dummy payload of TOPCalIntegratedCharge DB objects More... | |
| void | importDummyCalAsicShift (int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| import a dummy payload of TOPCalAsicShift DB objects More... | |
| void | correctTOPPmtQE () |
| correct QE values in database for the reflection on window surface be sure that you run the function only once! see: BII-4230 | |
| void | importTimeWalk (PyObject *list, double a, double b, int firstExp=0, int firstRun=0, int lastExp=-1, int lastRun=-1) |
| payload TOPCalTimeWalk import parameters for time-walk correction and electronic time resolution tuning More... | |
| void | importTest (int runNumber, double syncTimeBase) |
| for testing purposes only! - will be removed ... | |
| void | importTest () |
| for testing purposes only! - will be removed ... | |
TOP database importer.
This module writes data to database or retrieves them from database. More functions will come with future...
Definition at line 26 of file TOPDatabaseImporter.h.