![]() |
Belle II Software development
|
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. | |
| void | printFEElectronics () |
| Get FEE params. | |
| void | importEDepToADC (std::string fileName) |
| Import edep-to-adc params. | |
| void | printEDepToADC () |
| Get edep-to-adc params. | |
| 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 | importBadBoards (std::string fileName) |
| Import badboards table to the data base. | |
| void | printBadBoards () |
| Get the badboard 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. | |
| void | printTimeWalk () |
| Get the time-walk coeff. | |
| 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 | importAlphaScaleFactors (std::string fileName) |
| Import alpha scale factors table to the database. | |
| void | printAlphaScaleFactors () |
| 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. | |
| 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. | |
| 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 21 of file CDCDatabaseImporter.h.
|
inline |
Default constructor.
Definition at line 28 of file CDCDatabaseImporter.h.
| CDCDatabaseImporter | ( | int | fexp, |
| int | frun, | ||
| int | lexp, | ||
| int | lrun ) |
Constructor.
Definition at line 63 of file CDCDatabaseImporter.cc.
|
inlinevirtual |
| void importADCDeltaPedestal | ( | ) |
Import ADC delta pedestal with all 0.
Definition at line 1071 of file CDCDatabaseImporter.cc.
| void importADCDeltaPedestal | ( | std::string | fileName | ) |
Import ADC delta pedestal table to the data base specifying the text data.
Definition at line 1025 of file CDCDatabaseImporter.cc.
| void importAlphaScaleFactors | ( | std::string | fileName | ) |
Import alpha scale factors table to the database.
Definition at line 735 of file CDCDatabaseImporter.cc.
| void importBadBoards | ( | std::string | fileName | ) |
Import badboards table to the data base.
Definition at line 292 of file CDCDatabaseImporter.cc.
| void importBadWire | ( | std::string | fileName | ) |
Import badwire table to the data base.
Definition at line 251 of file CDCDatabaseImporter.cc.
| void importCDCCrossTalkLibrary | ( | const std::string & | rootFileName | ) | const |
Import crosstalk library prepared in rootFileName.
Definition at line 1128 of file CDCDatabaseImporter.cc.
| void importCDClayerTimeCut | ( | const std::string & | jsonFileName | ) | const |
import CDClayerTimeCut
Definition at line 1251 of file CDCDatabaseImporter.cc.
| 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 1091 of file CDCDatabaseImporter.cc.
| void importChannelMap | ( | std::string | fileName | ) |
Import channel map to the data base.
Definition at line 119 of file CDCDatabaseImporter.cc.
| void importCorrToThreshold | ( | std::string | fileName | ) |
Import corrtothreshold to the data base.
Definition at line 366 of file CDCDatabaseImporter.cc.
| void importDisplacement | ( | std::string | fileName | ) |
Import displacement of wire position to the database.
Definition at line 784 of file CDCDatabaseImporter.cc.
| void importEDepToADC | ( | std::string | fileName | ) |
Import edep-to-adc params.
to the data base.
Definition at line 193 of file CDCDatabaseImporter.cc.
| void importFEElectronics | ( | std::string | fileName | ) |
Import FEE params.
to the data base.
Definition at line 158 of file CDCDatabaseImporter.cc.
| void importFFactor | ( | std::string | fileName | ) |
Import fudge factor table to the database.
Definition at line 694 of file CDCDatabaseImporter.cc.
| void importPropSpeed | ( | std::string | fileName | ) |
Import propspeed table to the database.
Definition at line 322 of file CDCDatabaseImporter.cc.
| void importSigma | ( | std::string | fileName | ) |
Import sigma table to the database.
Definition at line 575 of file CDCDatabaseImporter.cc.
| void importTimeWalk | ( | std::string | fileName | ) |
Import time-walk coeff.
table to the database.
Definition at line 405 of file CDCDatabaseImporter.cc.
| void importTimeZero | ( | std::string | fileName | ) |
Import t0 table to the data base.
Definition at line 72 of file CDCDatabaseImporter.cc.
| void importWirPosAlign | ( | std::string | fileName | ) |
Import wire alignment table to the database.
Definition at line 844 of file CDCDatabaseImporter.cc.
| void importXT | ( | std::string | fileName | ) |
Import xt table to the database.
Definition at line 447 of file CDCDatabaseImporter.cc.
| void printADCDeltaPedestal | ( | ) |
Get the ADC delta pedestal table from the database and print it.
Definition at line 1084 of file CDCDatabaseImporter.cc.
| void printAlphaScaleFactors | ( | ) |
Get the fudge factor table from the database and print it.
Definition at line 996 of file CDCDatabaseImporter.cc.
| void printBadBoards | ( | ) |
Get the badboard table from the database and print it.
Definition at line 960 of file CDCDatabaseImporter.cc.
| void printBadWire | ( | ) |
Get the badwire table from the database and print it.
Definition at line 954 of file CDCDatabaseImporter.cc.
| void printCDCCrossTalkLibrary | ( | ) | const |
Print the content of the crosstalk library.
Definition at line 1196 of file CDCDatabaseImporter.cc.
| void printCDClayerTimeCut | ( | ) | const |
Print content of CDClayerTimeCut.
Definition at line 1272 of file CDCDatabaseImporter.cc.
| void printCDCWireHitRequirements | ( | ) | const |
Get CDCWireHits cut values from the database and print them.
Definition at line 1117 of file CDCDatabaseImporter.cc.
| void printChannelMap | ( | ) |
Get the channel map from the database and print it.
Definition at line 909 of file CDCDatabaseImporter.cc.
| void printDisplacement | ( | ) |
Get the displacement of wire position from the database and print it.
Definition at line 1002 of file CDCDatabaseImporter.cc.
| void printEDepToADC | ( | ) |
Get edep-to-adc params.
from the database and print.
Definition at line 934 of file CDCDatabaseImporter.cc.
| void printFEElectronics | ( | ) |
Get FEE params.
from the database and print.
Definition at line 922 of file CDCDatabaseImporter.cc.
| void printFFactor | ( | ) |
Get the fudge factor table from the database and print it.
Definition at line 990 of file CDCDatabaseImporter.cc.
| void printPropSpeed | ( | ) |
Get the propspeed table from the database and print it.
Definition at line 966 of file CDCDatabaseImporter.cc.
| void printSigma | ( | ) |
Get the sigma table from the database and print it.
Definition at line 984 of file CDCDatabaseImporter.cc.
| void printTimeWalk | ( | ) |
Get the time-walk coeff.
table from the database and print it.
Definition at line 972 of file CDCDatabaseImporter.cc.
| void printTimeZero | ( | ) |
Get the t0 table from the database and print it.
Definition at line 940 of file CDCDatabaseImporter.cc.
| void printWirPosAlign | ( | ) |
Get the wire alignment table from the database and print it.
Definition at line 1012 of file CDCDatabaseImporter.cc.
| void printWirPosMisalign | ( | ) |
Get the wire misalignment table from the database and print it.
Definition at line 1018 of file CDCDatabaseImporter.cc.
| void printXT | ( | ) |
Get the xt table from the database and print it.
Definition at line 978 of file CDCDatabaseImporter.cc.
| void testCDCCrossTalkLibrary | ( | bool | spotChecks = false | ) | const |
Do some basic testing of the CDCCrossTalkLibrary.
Definition at line 1206 of file CDCDatabaseImporter.cc.
|
private |
|
private |
Offset of first layer in case some CDC layers are removed.
Definition at line 258 of file CDCDatabaseImporter.h.
|
private |
First run.
Definition at line 254 of file CDCDatabaseImporter.h.
|
private |
Last experiment.
Definition at line 255 of file CDCDatabaseImporter.h.
|
private |
Last run.
Definition at line 256 of file CDCDatabaseImporter.h.
|
private |
Number of sense wires in the CDC.
Definition at line 260 of file CDCDatabaseImporter.h.
|
private |
Offset of first super layer in case some CDC super layers are removed.
Definition at line 259 of file CDCDatabaseImporter.h.