![]() |
Belle II Software development
|
ARICH database importer. More...
#include <ARICHDatabaseImporter.h>
Public Member Functions | |
ARICHDatabaseImporter () | |
Default constructor. | |
ARICHDatabaseImporter (const std::vector< std::string > &inputFilesHapdQA, const std::vector< std::string > &inputFilesAsicRoot, const std::vector< std::string > &inputFilesAsicTxt, const std::vector< std::string > &inputFilesHapdQE, const std::vector< std::string > &inputFilesFebTest) | |
Constructor. | |
ARICHDatabaseImporter (int experiment, int run) | |
Constructor from experiment and run number. | |
virtual | ~ARICHDatabaseImporter () |
Destructor. | |
void | SetIOV (int experimentLow, int runLow, int experimentHigh, int runHigh) |
Set Interval of Validity. | |
void | setExperimentAndRun (int experiment, int run) |
Set experiment and run number. | |
void | importSimulationParams () |
Import simulation parameters from the xml file (QE curve, etc.) | |
void | importReconstructionParams () |
Import reconstruction parameters (for now only initializes "default" values and imports) | |
void | printSimulationPar (bool dump=false) |
Print simulation parameters from the database (QE curve, etc.) | |
void | importModulesInfo () |
Import HAPD modules info from the xml file and database (2D QE maps) Goes through the list of installed modules in ARICH-InstalledModules.xml, finds corresponding 2D QE maps in the database and imports lightweight ARICHModulesInfo class (which is used in sim/rec) into database. | |
void | printModulesInfo (bool dump=false) |
Print HAPD modules info from the database (lightweight class for sim/rec=) | |
void | setHAPDQE (unsigned modID, double qe=0.27, bool import=false) |
Example function for importing HAPD QE to database class (ARICHModulesInfo) | |
void | importGlobalAlignment () |
Import global alignment parameters from ARICH-GlobalAlignment.xml. | |
void | importMirrorAlignment () |
Import mirror alignment parameters from ARICH-MirrorAlignment.xml. | |
void | importAeroTilesAlignment () |
Import aerogel tiles alignment parameters from ARICH-AeroTilesAlignment.xml. | |
void | importMergerCoolingGeo () |
Import Merger cooling bodies geometry. | |
tessellatedSolidStr | readTessellatedSolidVerticesFromDATfile (const std::string &inDATfile) |
reads merger cooling bodies geometry from dat files | |
void | importChannelMask () |
Import channel mask for all HAPD modules from the database (list of dead channels) Goes through the list of installed modules in ARICH-InstalledModules.xml, finds corresponding lists of dead channels in the database and imports lightweight ARICHChannelMask class (which is used in sim/rec) into database. | |
void | importChannelMask (TH1 *h) |
Import channel mask from the calibration histogram ( list of dead and hot channels ) to ARICHChannelMask class into database. | |
void | printChannelMask (bool makeHist=false, bool dump=false) |
Print channel mask of all HAPD modules from the database (lightweight class for sim/rec) | |
void | importChannelMapping () |
Imports HAPD (asic) channel mappings from the xml file. | |
void | printChannelMapping (bool dump=false) |
Prints HAPD (asic) channel mapping from the database. | |
void | importFEMappings () |
Imports mappings of FE electronics from the xml file (ARICH-FrontEndMapping.xml) to the database Mapping of modules to mergers and mergers to coppers. | |
void | printMergerMapping (bool dump=false) |
Prints merger to FEB mappings from the database. | |
void | printCopperMapping (bool dump=false) |
Prints Copper to merger mappings from the database. | |
void | printReconstructionPar (bool dump=false) |
Prints reconstruction parameters. | |
void | printGeometryConfig (bool dump=false) |
Prints geometry configuration parameters from the database. | |
void | dumpQEMap (bool simple=false) |
Dumps 2D QE map of full detector surface from the database into root file (from ARICHModulesInfo) | |
void | dumpHvMappings () |
Dumps detector map of HAPD modules to HV cable channels. | |
void | printFEMappings () |
Prints electronics mappings for all modules (merger ID + SN, merger port, copper, finnese) | |
void | dumpMergerMapping (bool sn=true) |
Dumps module - merger mapping into root file. | |
void | dumpModuleNumbering () |
Dumps module numbering scheme into root file (module position on the detector plane -> module number) | |
void | dumpAerogelOpticalProperties (std::string outRootFileName="ARICH_AerogelOpticalProperties.root") |
Dumps aerogel tile properties (aerogel optical properties - AOP) into root file with arich/utility/ARICHAerogelHist histos. | |
void | importCosmicTestGeometry () |
Import parameters of the cosmic test geometry configuration. | |
void | importGeometryConfig () |
Import geometry configuration parameters to the database. | |
void | importAeroTilesInfo () |
Import optical information of aerogel tiles into database. | |
void | importAeroRayleighScatteringFit (std::string commentSingleWord="") |
Import optical information of aerogel tiles into database. | |
int | getAeroTileRing (int slot) |
Get aerogel ring number from global indetifier. | |
int | getAeroTileColumn (int slot) |
Get aerogel ring number from global indetifier. | |
void | printAeroTileInfo (bool dump=false) |
Prints mapping of aerogel tiles and their optical properties. | |
void | printGlobalAlignment (bool dump=false) |
Prints global alignment constants. | |
void | printMirrorAlignment (bool dump=false) |
Prints mirror alignment constants. | |
void | printAeroTilesAlignment (bool dump=false) |
Prints aerogel tiles alignment constants. | |
void | importBiasMappings () |
Imports mappings of power supply to bias cables and cables to HAPDs and nominal values of bias voltages. | |
void | importHvMappings () |
Imports mappings of power supply to high voltage cables. | |
void | importNominalBiasVoltages () |
Imports mappings of nominal values of bias voltages. | |
void | printBiasMappings (bool dump=false) |
Prints mappings of power supply to bias cables and cables to HAPDs and nominal values of bias voltages from the database. | |
void | printHvMappings (bool dump=false) |
Prints mappings of power supply to HV cables and cables to HAPDs from the database. | |
void | printNominalBiasVoltages (bool dump=false) |
Prints mappings of nominal values of bias voltages from the database. | |
void | printNominalBiasVoltageForChannel (std::vector< int > channel) |
Prints nominal bias voltage for channel on power supply from the database. | |
void | printHapdPositionFromCrateSlot (int crate, int slot, int channelID) |
Prints HAPD position (sector, ring, azimuth) and merger connection (merger, feb slot) from the database. | |
int | getFebDaqSlot (unsigned febSlot) |
Returns feb daq position from feb slot. | |
void | importAerogelInfo (TString coreNameSuffix="") |
Import ARICH aerogel data in the database. | |
void | exportAerogelInfo (int verboseLevel=0) |
Export ARICH aerogel data from the database. | |
void | importAerogelMap () |
Import ARICH aerogel map in the database. | |
void | exportAerogelMap () |
Export ARICH aerogel map in the database. | |
void | importAerogelInfoEventDep () |
Import intrarun dependant ARICH aerogel data in the database. | |
void | exportAerogelInfoEventDep () |
Export intrarun dependant ARICH aerogel data from the database. | |
void | importHapdQA () |
Import ARICH HAPD QA data in the database. | |
void | exportHapdQA () |
Export ARICH HAPD QA data from the database. | |
void | importAsicInfo () |
Import ARICH ASICs data in the database. | |
void | importAsicInfoRoot () |
Import large histograms from ARICH ASICs data in the database. | |
void | exportAsicInfo () |
Export ARICH ASICs data from the database. | |
TTimeStamp | timedate (std::string enddate) |
Convert date (ASICs) to TTimeStamp. | |
TTimeStamp | getAsicDate (const std::string &asicSerial, const std::string &type) |
Get date for ASIC measurement. | |
std::vector< int > | channelsList (std::string badCH) |
Get lists of problematic ASIC channels. | |
void | importFebTest () |
Import ARICH FEB test data in the database. | |
void | importFebTestRoot () |
Import large histograms from ARICH FEB test data in the database. | |
std::tuple< std::string, float, float, float > | getFebLVtestData (int serial, int lvRun) |
Returns data from low voltage test. | |
std::tuple< std::string, float > | getFebHVtestData (int serial, int hvRun) |
Returns data from high voltage test. | |
std::vector< int > | getDeadChFEB (const std::string &dna) |
Returns list of dead channels on FEB. | |
TTimeStamp | timedate2 (std::string time) |
Convert date (FEB) to TTimeStamp. | |
std::pair< std::vector< float >, std::vector< float > > | getSlopes (int serialNum, const std::string &runSCAN) |
Returns lists of slopes (fine & rough) | |
std::vector< std::pair< float, float > > | getFwhm (int serialNum, const std::string &runSCAN) |
Returns lists of FWHM values&sigmas. | |
std::vector< TH3F * > | getFebTestHistograms (const std::string &dna, const std::string &run, int febposition) |
Returns TH3F histograms - offset settings. | |
TH2F * | getFebTestPulse (const std::string &dna, const std::string &run, int febposition) |
Returns TH2F histogram of pulse test. | |
void | exportFebTest () |
Export ARICH FEB test data from the database. | |
void | importHapdChipInfo () |
Import ARICH HAPD chip data in the database. | |
void | exportHapdChipInfo () |
Export ARICH HAPD chip data from the database. | |
void | importHapdInfo () |
Import ARICH HAPD data in the database. | |
std::vector< int > | channelsListHapd (std::string chlist, std::string chipDelay) |
Get lists of problematic HAPD channels. | |
int | getChannelPosition (const std::string &XY, const std::string &chip_2d, int chipnum) |
Get position of channel on HAPD. | |
TGraph * | getGraphGainCurrent (const std::string &bomb_aval, const std::string &g_i, const std::string &chip_label, int i, float *HV, float *gain_current) |
Get graphs for bombardment and avalanche gain and current. | |
TH2F * | getBiasGraph (const std::string &chip_2d, const std::string &voltage_current, int *chipnum, float *bias_v_i) |
Get histograms for bias voltage and current. | |
void | exportHapdInfo () |
Export ARICH HAPD info and chip info data from the database. | |
void | importHapdQE () |
Import HAPD quantum efficiency in the database. | |
void | exportHapdQE () |
Export HAPD quantum efficiency from the database. | |
void | printBiasVoltagesForHapdChip (const std::string &serialNumber) |
Export ARICH HAPD chip info data from the database and calculate bias voltages for one HAPD. | |
void | printMyParams (const std::string &aeroSerialNumber) |
Example that shows how to use data from the database. | |
std::map< std::string, float > | getAerogelParams (const std::string &aeroSerialNumber) |
Function that returns refractive index, thickness and transmission length of aerogel. | |
void | importFEBoardInfo () |
Import module test results. | |
void | exportFEBoardInfo () |
Export module test results. | |
void | importModuleTest (const std::string &mypath, const std::string &HVtest) |
Import module test results. | |
void | exportModuleTest (const std::string &HVtest) |
Export module test results. | |
void | importSensorModuleInfo () |
Import module sensor info classes. | |
void | importSensorModuleMap () |
Import module sensor map classes. | |
void | exportSensorModuleMap () |
Export module sensor map classes from database. | |
void | exportSensorModuleMapInfo (int number) |
Export module sensor map info classes from database. | |
void | importMagnetTest () |
Import results of magnet test. | |
void | exportMagnetTest () |
Export results of magnet test. | |
void | exportAll () |
Export all the data. | |
Private Member Functions | |
template<typename Container_t > | |
auto | printContainer (const Container_t &rContainer, std::ostream &rStream=std::cout) noexcept -> void |
printContainer used for debugging purposes... | |
Private Attributes | |
std::vector< std::string > | m_inputFilesHapdQA |
Input root files for HAPD QA. | |
std::vector< std::string > | m_inputFilesAsicRoot |
Input root files for ASICs. | |
std::vector< std::string > | m_inputFilesAsicTxt |
Input txt files for ASICs. | |
std::vector< std::string > | m_inputFilesHapdQE |
Input root files for HAPD quantum efficiency. | |
std::vector< std::string > | m_inputFilesFebTest |
Input root files from FEB test (coarse/fine offset settings, test pulse) | |
IntervalOfValidity | m_iov |
interval of validity | |
ARICH database importer.
This module writes data to database.
Definition at line 34 of file ARICHDatabaseImporter.h.
|
inline |
Default constructor.
Definition at line 40 of file ARICHDatabaseImporter.h.
ARICHDatabaseImporter | ( | const std::vector< std::string > & | inputFilesHapdQA, |
const std::vector< std::string > & | inputFilesAsicRoot, | ||
const std::vector< std::string > & | inputFilesAsicTxt, | ||
const std::vector< std::string > & | inputFilesHapdQE, | ||
const std::vector< std::string > & | inputFilesFebTest | ||
) |
Constructor.
Definition at line 83 of file ARICHDatabaseImporter.cc.
ARICHDatabaseImporter | ( | int | experiment, |
int | run | ||
) |
Constructor from experiment and run number.
Definition at line 99 of file ARICHDatabaseImporter.cc.
|
inlinevirtual |
vector< int > channelsList | ( | std::string | badCH | ) |
Get lists of problematic ASIC channels.
Definition at line 1896 of file ARICHDatabaseImporter.cc.
std::vector< int > channelsListHapd | ( | std::string | chlist, |
std::string | chipDelay | ||
) |
Get lists of problematic HAPD channels.
Definition at line 2617 of file ARICHDatabaseImporter.cc.
void dumpAerogelOpticalProperties | ( | std::string | outRootFileName = "ARICH_AerogelOpticalProperties.root" | ) |
Dumps aerogel tile properties (aerogel optical properties - AOP) into root file with arich/utility/ARICHAerogelHist histos.
outRootFileName | string with output name |
Definition at line 1267 of file ARICHDatabaseImporter.cc.
void dumpHvMappings | ( | ) |
Dumps detector map of HAPD modules to HV cable channels.
Definition at line 950 of file ARICHDatabaseImporter.cc.
void dumpMergerMapping | ( | bool | sn = true | ) |
Dumps module - merger mapping into root file.
Definition at line 1171 of file ARICHDatabaseImporter.cc.
void dumpModuleNumbering | ( | ) |
Dumps module numbering scheme into root file (module position on the detector plane -> module number)
Definition at line 1222 of file ARICHDatabaseImporter.cc.
void dumpQEMap | ( | bool | simple = false | ) |
Dumps 2D QE map of full detector surface from the database into root file (from ARICHModulesInfo)
simple | false for proper histogram with bin for each channel, true for simpler plot with point for each channel (smaller file, faster) for simple option, draw TGraph2D with "pcolz" option and set view to "top" |
Definition at line 1234 of file ARICHDatabaseImporter.cc.
void exportAerogelInfo | ( | int | verboseLevel = 0 | ) |
Export ARICH aerogel data from the database.
Definition at line 1424 of file ARICHDatabaseImporter.cc.
void exportAerogelInfoEventDep | ( | ) |
Export intrarun dependant ARICH aerogel data from the database.
-> Example for intrarun dependat data!
Definition at line 1599 of file ARICHDatabaseImporter.cc.
void exportAerogelMap | ( | ) |
Export ARICH aerogel map in the database.
Definition at line 1520 of file ARICHDatabaseImporter.cc.
void exportAll | ( | ) |
Export all the data.
Definition at line 3392 of file ARICHDatabaseImporter.cc.
void exportAsicInfo | ( | ) |
Export ARICH ASICs data from the database.
Definition at line 1908 of file ARICHDatabaseImporter.cc.
void exportFEBoardInfo | ( | ) |
Export module test results.
Definition at line 2935 of file ARICHDatabaseImporter.cc.
void exportFebTest | ( | ) |
Export ARICH FEB test data from the database.
Definition at line 2348 of file ARICHDatabaseImporter.cc.
void exportHapdChipInfo | ( | ) |
Export ARICH HAPD chip data from the database.
Definition at line 2520 of file ARICHDatabaseImporter.cc.
void exportHapdInfo | ( | ) |
Export ARICH HAPD info and chip info data from the database.
Definition at line 2704 of file ARICHDatabaseImporter.cc.
void exportHapdQA | ( | ) |
Export ARICH HAPD QA data from the database.
Definition at line 1731 of file ARICHDatabaseImporter.cc.
void exportHapdQE | ( | ) |
Export HAPD quantum efficiency from the database.
Definition at line 2769 of file ARICHDatabaseImporter.cc.
void exportMagnetTest | ( | ) |
Export results of magnet test.
Definition at line 3372 of file ARICHDatabaseImporter.cc.
void exportModuleTest | ( | const std::string & | HVtest | ) |
Export module test results.
Definition at line 3149 of file ARICHDatabaseImporter.cc.
void exportSensorModuleMap | ( | ) |
Export module sensor map classes from database.
Definition at line 3279 of file ARICHDatabaseImporter.cc.
void exportSensorModuleMapInfo | ( | int | number | ) |
Export module sensor map info classes from database.
Definition at line 3301 of file ARICHDatabaseImporter.cc.
std::map< std::string, float > getAerogelParams | ( | const std::string & | aeroSerialNumber | ) |
Function that returns refractive index, thickness and transmission length of aerogel.
aeroSerialNumber | aerogel serial number |
Definition at line 2842 of file ARICHDatabaseImporter.cc.
int getAeroTileColumn | ( | int | slot | ) |
Get aerogel ring number from global indetifier.
Definition at line 699 of file ARICHDatabaseImporter.cc.
int getAeroTileRing | ( | int | slot | ) |
Get aerogel ring number from global indetifier.
Definition at line 688 of file ARICHDatabaseImporter.cc.
TTimeStamp getAsicDate | ( | const std::string & | asicSerial, |
const std::string & | type | ||
) |
Get date for ASIC measurement.
asicSerial | - serial number of asic |
type | - gain or offset |
Definition at line 1849 of file ARICHDatabaseImporter.cc.
TH2F * getBiasGraph | ( | const std::string & | chip_2d, |
const std::string & | voltage_current, | ||
int * | chipnum, | ||
float * | bias_v_i | ||
) |
Get histograms for bias voltage and current.
chip_2d | - chip label |
voltage_current | - voltage or current |
chipnum | - channel number |
bias_v_i | - bias voltage/current |
Definition at line 2682 of file ARICHDatabaseImporter.cc.
int getChannelPosition | ( | const std::string & | XY, |
const std::string & | chip_2d, | ||
int | chipnum | ||
) |
Get position of channel on HAPD.
XY | - choose X/Y coordinate |
chip_2d | - chip label |
chipnum | - channel number |
Definition at line 2643 of file ARICHDatabaseImporter.cc.
std::vector< int > getDeadChFEB | ( | const std::string & | dna | ) |
Returns list of dead channels on FEB.
Definition at line 2178 of file ARICHDatabaseImporter.cc.
int getFebDaqSlot | ( | unsigned | febSlot | ) |
Returns feb daq position from feb slot.
febSlot | feb slot number on merger |
Definition at line 1048 of file ARICHDatabaseImporter.cc.
std::tuple< std::string, float > getFebHVtestData | ( | int | serial, |
int | hvRun | ||
) |
Returns data from high voltage test.
Definition at line 2164 of file ARICHDatabaseImporter.cc.
std::tuple< std::string, float, float, float > getFebLVtestData | ( | int | serial, |
int | lvRun | ||
) |
Returns data from low voltage test.
Definition at line 2143 of file ARICHDatabaseImporter.cc.
std::vector< TH3F * > getFebTestHistograms | ( | const std::string & | dna, |
const std::string & | run, | ||
int | febposition | ||
) |
Returns TH3F histograms - offset settings.
Definition at line 2260 of file ARICHDatabaseImporter.cc.
TH2F * getFebTestPulse | ( | const std::string & | dna, |
const std::string & | run, | ||
int | febposition | ||
) |
Returns TH2F histogram of pulse test.
Definition at line 2326 of file ARICHDatabaseImporter.cc.
std::vector< std::pair< float, float > > getFwhm | ( | int | serialNum, |
const std::string & | runSCAN | ||
) |
Returns lists of FWHM values&sigmas.
Definition at line 2242 of file ARICHDatabaseImporter.cc.
TGraph * getGraphGainCurrent | ( | const std::string & | bomb_aval, |
const std::string & | g_i, | ||
const std::string & | chip_label, | ||
int | i, | ||
float * | HV, | ||
float * | gain_current | ||
) |
Get graphs for bombardment and avalanche gain and current.
bomb_aval | - bombardment or avalanche |
g_i | - gain or current |
chip_label | - chip label |
i | - number of entries |
HV | - voltage |
gain_current | - gain/current |
Definition at line 2630 of file ARICHDatabaseImporter.cc.
std::pair< std::vector< float >, std::vector< float > > getSlopes | ( | int | serialNum, |
const std::string & | runSCAN | ||
) |
Returns lists of slopes (fine & rough)
Definition at line 2220 of file ARICHDatabaseImporter.cc.
void importAerogelInfo | ( | TString | coreNameSuffix = "" | ) |
Import ARICH aerogel data in the database.
Definition at line 1383 of file ARICHDatabaseImporter.cc.
void importAerogelInfoEventDep | ( | ) |
Import intrarun dependant ARICH aerogel data in the database.
-> Example for intrarun dependat data!
Definition at line 1537 of file ARICHDatabaseImporter.cc.
void importAerogelMap | ( | ) |
Import ARICH aerogel map in the database.
Definition at line 1485 of file ARICHDatabaseImporter.cc.
void importAeroRayleighScatteringFit | ( | std::string | commentSingleWord = "" | ) |
Import optical information of aerogel tiles into database.
Definition at line 1338 of file ARICHDatabaseImporter.cc.
void importAeroTilesAlignment | ( | ) |
Import aerogel tiles alignment parameters from ARICH-AeroTilesAlignment.xml.
Definition at line 246 of file ARICHDatabaseImporter.cc.
void importAeroTilesInfo | ( | ) |
Import optical information of aerogel tiles into database.
Definition at line 644 of file ARICHDatabaseImporter.cc.
void importAsicInfo | ( | ) |
Import ARICH ASICs data in the database.
Definition at line 1742 of file ARICHDatabaseImporter.cc.
void importAsicInfoRoot | ( | ) |
Import large histograms from ARICH ASICs data in the database.
Definition at line 1790 of file ARICHDatabaseImporter.cc.
void importBiasMappings | ( | ) |
Imports mappings of power supply to bias cables and cables to HAPDs and nominal values of bias voltages.
Definition at line 761 of file ARICHDatabaseImporter.cc.
void importChannelMapping | ( | ) |
Imports HAPD (asic) channel mappings from the xml file.
Definition at line 505 of file ARICHDatabaseImporter.cc.
void importChannelMask | ( | ) |
Import channel mask for all HAPD modules from the database (list of dead channels) Goes through the list of installed modules in ARICH-InstalledModules.xml, finds corresponding lists of dead channels in the database and imports lightweight ARICHChannelMask class (which is used in sim/rec) into database.
Definition at line 274 of file ARICHDatabaseImporter.cc.
void importChannelMask | ( | TH1 * | h | ) |
Import channel mask from the calibration histogram ( list of dead and hot channels ) to ARICHChannelMask class into database.
h | TH1F root histogram with 420*144 bins |
Definition at line 421 of file ARICHDatabaseImporter.cc.
void importCosmicTestGeometry | ( | ) |
Import parameters of the cosmic test geometry configuration.
Definition at line 599 of file ARICHDatabaseImporter.cc.
void importFEBoardInfo | ( | ) |
Import module test results.
Definition at line 2863 of file ARICHDatabaseImporter.cc.
void importFebTest | ( | ) |
Import ARICH FEB test data in the database.
Definition at line 1921 of file ARICHDatabaseImporter.cc.
void importFebTestRoot | ( | ) |
Import large histograms from ARICH FEB test data in the database.
Definition at line 2059 of file ARICHDatabaseImporter.cc.
void importFEMappings | ( | ) |
Imports mappings of FE electronics from the xml file (ARICH-FrontEndMapping.xml) to the database Mapping of modules to mergers and mergers to coppers.
Definition at line 527 of file ARICHDatabaseImporter.cc.
void importGeometryConfig | ( | ) |
Import geometry configuration parameters to the database.
Definition at line 587 of file ARICHDatabaseImporter.cc.
void importGlobalAlignment | ( | ) |
Import global alignment parameters from ARICH-GlobalAlignment.xml.
Definition at line 200 of file ARICHDatabaseImporter.cc.
void importHapdChipInfo | ( | ) |
Import ARICH HAPD chip data in the database.
Definition at line 2362 of file ARICHDatabaseImporter.cc.
void importHapdInfo | ( | ) |
Import ARICH HAPD data in the database.
Definition at line 2532 of file ARICHDatabaseImporter.cc.
void importHapdQA | ( | ) |
Import ARICH HAPD QA data in the database.
Definition at line 1651 of file ARICHDatabaseImporter.cc.
void importHapdQE | ( | ) |
Import HAPD quantum efficiency in the database.
Definition at line 2726 of file ARICHDatabaseImporter.cc.
void importHvMappings | ( | ) |
Imports mappings of power supply to high voltage cables.
Definition at line 821 of file ARICHDatabaseImporter.cc.
void importMagnetTest | ( | ) |
Import results of magnet test.
Definition at line 3324 of file ARICHDatabaseImporter.cc.
void importMergerCoolingGeo | ( | ) |
Import Merger cooling bodies geometry.
Definition at line 325 of file ARICHDatabaseImporter.cc.
void importMirrorAlignment | ( | ) |
Import mirror alignment parameters from ARICH-MirrorAlignment.xml.
Definition at line 216 of file ARICHDatabaseImporter.cc.
void importModulesInfo | ( | ) |
Import HAPD modules info from the xml file and database (2D QE maps) Goes through the list of installed modules in ARICH-InstalledModules.xml, finds corresponding 2D QE maps in the database and imports lightweight ARICHModulesInfo class (which is used in sim/rec) into database.
Definition at line 121 of file ARICHDatabaseImporter.cc.
void importModuleTest | ( | const std::string & | mypath, |
const std::string & | HVtest | ||
) |
Import module test results.
Definition at line 2949 of file ARICHDatabaseImporter.cc.
void importNominalBiasVoltages | ( | ) |
Imports mappings of nominal values of bias voltages.
Definition at line 881 of file ARICHDatabaseImporter.cc.
void importReconstructionParams | ( | ) |
Import reconstruction parameters (for now only initializes "default" values and imports)
Definition at line 457 of file ARICHDatabaseImporter.cc.
void importSensorModuleInfo | ( | ) |
Import module sensor info classes.
Definition at line 3179 of file ARICHDatabaseImporter.cc.
void importSensorModuleMap | ( | ) |
Import module sensor map classes.
Definition at line 3238 of file ARICHDatabaseImporter.cc.
void importSimulationParams | ( | ) |
Import simulation parameters from the xml file (QE curve, etc.)
Definition at line 468 of file ARICHDatabaseImporter.cc.
void printAeroTileInfo | ( | bool | dump = false | ) |
Prints mapping of aerogel tiles and their optical properties.
dump | if true, dumps payload to localdb |
Definition at line 711 of file ARICHDatabaseImporter.cc.
void printAeroTilesAlignment | ( | bool | dump = false | ) |
Prints aerogel tiles alignment constants.
dump | if true, dumps payload to localdb |
Definition at line 747 of file ARICHDatabaseImporter.cc.
void printBiasMappings | ( | bool | dump = false | ) |
Prints mappings of power supply to bias cables and cables to HAPDs and nominal values of bias voltages from the database.
dump | if true, dumps payload to localdb |
Definition at line 908 of file ARICHDatabaseImporter.cc.
void printBiasVoltagesForHapdChip | ( | const std::string & | serialNumber | ) |
Export ARICH HAPD chip info data from the database and calculate bias voltages for one HAPD.
serialNumber | HAPD serial number |
Definition at line 2786 of file ARICHDatabaseImporter.cc.
void printChannelMapping | ( | bool | dump = false | ) |
Prints HAPD (asic) channel mapping from the database.
dump | if true, dumps payload to localdb |
Definition at line 1087 of file ARICHDatabaseImporter.cc.
void printChannelMask | ( | bool | makeHist = false , |
bool | dump = false |
||
) |
Print channel mask of all HAPD modules from the database (lightweight class for sim/rec)
makeHist | if true, creates histogram with dead channels |
dump | if true, dumps payload to localdb |
Definition at line 1148 of file ARICHDatabaseImporter.cc.
|
inlineprivatenoexcept |
printContainer used for debugging purposes...
rContainer | |
rStream |
Definition at line 629 of file ARICHDatabaseImporter.h.
void printCopperMapping | ( | bool | dump = false | ) |
Prints Copper to merger mappings from the database.
dump | if true, dumps payload to localdb |
Definition at line 1111 of file ARICHDatabaseImporter.cc.
void printFEMappings | ( | ) |
Prints electronics mappings for all modules (merger ID + SN, merger port, copper, finnese)
Definition at line 1185 of file ARICHDatabaseImporter.cc.
void printGeometryConfig | ( | bool | dump = false | ) |
Prints geometry configuration parameters from the database.
dump | if true, dumps payload to localdb |
Definition at line 1075 of file ARICHDatabaseImporter.cc.
void printGlobalAlignment | ( | bool | dump = false | ) |
Prints global alignment constants.
dump | if true, dumps payload to localdb |
Definition at line 723 of file ARICHDatabaseImporter.cc.
void printHapdPositionFromCrateSlot | ( | int | crate, |
int | slot, | ||
int | channelID | ||
) |
Prints HAPD position (sector, ring, azimuth) and merger connection (merger, feb slot) from the database.
crate | crate on power supply |
slot | slot on power supply |
channelID | channel number on power supply |
Definition at line 1013 of file ARICHDatabaseImporter.cc.
void printHvMappings | ( | bool | dump = false | ) |
Prints mappings of power supply to HV cables and cables to HAPDs from the database.
dump | if true, dumps payload to localdb |
Definition at line 932 of file ARICHDatabaseImporter.cc.
void printMergerMapping | ( | bool | dump = false | ) |
Prints merger to FEB mappings from the database.
dump | if true, dumps payload to localdb |
Definition at line 1099 of file ARICHDatabaseImporter.cc.
void printMirrorAlignment | ( | bool | dump = false | ) |
Prints mirror alignment constants.
dump | if true, dumps payload to localdb |
Definition at line 735 of file ARICHDatabaseImporter.cc.
void printModulesInfo | ( | bool | dump = false | ) |
Print HAPD modules info from the database (lightweight class for sim/rec=)
dump | if true, dumps payload to localdb |
Definition at line 1123 of file ARICHDatabaseImporter.cc.
void printMyParams | ( | const std::string & | aeroSerialNumber | ) |
Example that shows how to use data from the database.
aeroSerialNumber | aerogel serial number |
Definition at line 2833 of file ARICHDatabaseImporter.cc.
void printNominalBiasVoltageForChannel | ( | std::vector< int > | channel | ) |
Prints nominal bias voltage for channel on power supply from the database.
channel | vector of values crate, slot and channel on power supply |
Definition at line 975 of file ARICHDatabaseImporter.cc.
void printNominalBiasVoltages | ( | bool | dump = false | ) |
Prints mappings of nominal values of bias voltages from the database.
dump | if true, dumps payload to localdb |
Definition at line 963 of file ARICHDatabaseImporter.cc.
void printReconstructionPar | ( | bool | dump = false | ) |
Prints reconstruction parameters.
dump | if true, dumps payload to localdb |
Definition at line 1135 of file ARICHDatabaseImporter.cc.
void printSimulationPar | ( | bool | dump = false | ) |
Print simulation parameters from the database (QE curve, etc.)
dump | if true, dumps payload to localdb |
Definition at line 1063 of file ARICHDatabaseImporter.cc.
tessellatedSolidStr readTessellatedSolidVerticesFromDATfile | ( | const std::string & | inDATfile | ) |
reads merger cooling bodies geometry from dat files
Definition at line 349 of file ARICHDatabaseImporter.cc.
void setExperimentAndRun | ( | int | experiment, |
int | run | ||
) |
Set experiment and run number.
Definition at line 113 of file ARICHDatabaseImporter.cc.
void SetIOV | ( | int | experimentLow, |
int | runLow, | ||
int | experimentHigh, | ||
int | runHigh | ||
) |
Set Interval of Validity.
Definition at line 107 of file ARICHDatabaseImporter.cc.
TTimeStamp timedate | ( | std::string | enddate | ) |
Convert date (ASICs) to TTimeStamp.
enddate | - time as string |
Definition at line 1878 of file ARICHDatabaseImporter.cc.
TTimeStamp timedate2 | ( | std::string | time | ) |
Convert date (FEB) to TTimeStamp.
time | - time as string |
Definition at line 2195 of file ARICHDatabaseImporter.cc.
|
private |
Input root files for ASICs.
Definition at line 616 of file ARICHDatabaseImporter.h.
|
private |
Input txt files for ASICs.
Definition at line 617 of file ARICHDatabaseImporter.h.
|
private |
Input root files from FEB test (coarse/fine offset settings, test pulse)
Definition at line 619 of file ARICHDatabaseImporter.h.
|
private |
Input root files for HAPD QA.
Definition at line 615 of file ARICHDatabaseImporter.h.
|
private |
Input root files for HAPD quantum efficiency.
Definition at line 618 of file ARICHDatabaseImporter.h.
|
private |
interval of validity
Definition at line 621 of file ARICHDatabaseImporter.h.