![]() |
Belle II Software
release-08-02-04
|
CDC database importer. More...
#include <CDCDatabaseImporter.h>
Public Member Functions | |
| CDCDatabaseImporter () | |
| Default constructor. | |
| CDCDatabaseImporter (int fexp, int frun, int lexp, int lrun) | |
| Constructor. | |
| virtual | ~CDCDatabaseImporter () |
| Destructor. | |
| void | importChannelMap (std::string fileName) |
| Import channel map to the data base. | |
| void | printChannelMap () |
| Get the channel map from the database and print it. | |
| void | importFEElectronics (std::string fileName) |
| Import FEE params. More... | |
| void | printFEElectronics () |
| Get FEE params. More... | |
| void | importEDepToADC (std::string fileName) |
| Import edep-to-adc params. More... | |
| void | printEDepToADC () |
| Get edep-to-adc params. More... | |
| void | importCorrToThreshold (std::string fileName) |
| Import corrtothreshold to the data base. | |
| void | printCorrToThreshold () |
| Get corrtothreshold from the database and print. | |
| void | importTimeZero (std::string fileName) |
| Import t0 table to the data base. | |
| void | printTimeZero () |
| Get the t0 table from the database and print it. | |
| void | importADCDeltaPedestal (std::string fileName) |
| Import ADC delta pedestal table to the data base specifying the text data. | |
| void | importADCDeltaPedestal () |
| Import ADC delta pedestal with all 0. | |
| void | printADCDeltaPedestal () |
| Get the ADC delta pedestal table from the database and print it. | |
| void | importBadWire (std::string fileName) |
| Import badwire table to the data base. | |
| void | printBadWire () |
| Get the badwire table from the database and print it. | |
| void | importPropSpeed (std::string fileName) |
| Import propspeed table to the database. | |
| void | printPropSpeed () |
| Get the propspeed table from the database and print it. | |
| void | importTimeWalk (std::string fileName) |
| Import time-walk coeff. More... | |
| void | printTimeWalk () |
| Get the time-walk coeff. More... | |
| void | importXT (std::string fileName) |
| Import xt table to the database. | |
| void | printXT () |
| Get the xt table from the database and print it. | |
| void | importSigma (std::string fileName) |
| Import sigma table to the database. | |
| void | printSigma () |
| Get the sigma table from the database and print it. | |
| void | importFFactor (std::string fileName) |
| Import fudge factor table to the database. | |
| void | printFFactor () |
| Get the fudge factor table from the database and print it. | |
| void | importDisplacement (std::string fileName) |
| Import displacement of wire position to the database. | |
| void | printDisplacement () |
| Get the displacement of wire position from the database and print it. | |
| void | importWirPosAlign (std::string fileName) |
| Import wire alignment table to the database. | |
| void | printWirPosAlign () |
| Get the wire alignment table from the database and print it. | |
| void | importWirPosMisalign (std::string fileName) |
| Import wire misalignment table to the database. | |
| void | printWirPosMisalign () |
| Get the wire misalignment table from the database and print it. | |
| void | importCDCWireHitRequirements (const std::string &jsonFileName) const |
| Import CDCWireHits cut values to the database. More... | |
| void | printCDCWireHitRequirements () const |
| Get CDCWireHits cut values from the database and print them. | |
| void | importCDCCrossTalkLibrary (const std::string &rootFileName) const |
| Import crosstalk library prepared in rootFileName. | |
| void | printCDCCrossTalkLibrary () const |
| Print the content of the crosstalk library. | |
| void | testCDCCrossTalkLibrary (bool spotChecks=false) const |
| Do some basic testing of the CDCCrossTalkLibrary. | |
| void | importCDClayerTimeCut (const std::string &jsonFileName) const |
| import CDClayerTimeCut | |
| void | printCDClayerTimeCut () const |
| Print content of CDClayerTimeCut. | |
Private Attributes | |
| int | m_firstExperiment |
| CDC geometory parameter. More... | |
| int | m_firstRun |
| First run. | |
| int | m_lastExperiment |
| Last experiment. | |
| int | m_lastRun |
| Last run. | |
| ushort | m_firstLayerOffset = 0 |
| Offset of first layer in case some CDC layers are removed. | |
| ushort | m_superLayerOffset = 0 |
| Offset of first super layer in case some CDC super layers are removed. | |
| ushort | m_nSenseWires = 14336 |
| Number of sense wires in the CDC. | |
CDC database importer.
Definition at line 22 of file CDCDatabaseImporter.h.
| void importCDCWireHitRequirements | ( | const std::string & | jsonFileName | ) | const |
Import CDCWireHits cut values to the database.
The cut values are read from a json file. An example of legal json file can be found at cdc/data/CDCWireHitRequirements_example.json In the json file, upper values of -1 stand for unbounded.
Definition at line 999 of file CDCDatabaseImporter.cc.
| void importEDepToADC | ( | std::string | fileName | ) |
| void importFEElectronics | ( | std::string | fileName | ) |
| void importTimeWalk | ( | std::string | fileName | ) |
Import time-walk coeff.
table to the database.
Definition at line 373 of file CDCDatabaseImporter.cc.
| void printEDepToADC | ( | ) |
Get edep-to-adc params.
from the database and print.
Definition at line 854 of file CDCDatabaseImporter.cc.
| void printFEElectronics | ( | ) |
| void printTimeWalk | ( | ) |
Get the time-walk coeff.
table from the database and print it.
Definition at line 886 of file CDCDatabaseImporter.cc.
|
private |