Belle II Software  release-05-01-25
ARICHDatabaseImporter.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Manca Mrvar, Thomas Kuhr, Luka Santel, Leonid Burmistrov *
7  * Rok Pestotnik *
8  * *
9  * This software is provided "as is" without any warranty. *
10  **************************************************************************/
11 #ifndef ARICHDATABASEIMPORTER_H
12 #define ARICHDATABASEIMPORTER_H
13 
14 #include <TGraph.h>
15 #include <TH1.h>
16 #include <TH2F.h>
17 #include <TH3F.h>
18 #include <TTimeStamp.h>
19 #include <map>
20 #include <tuple>
21 #include <vector>
22 #include <iostream>
23 #include <string>
24 #include <framework/database/IntervalOfValidity.h>
25 #include <arich/dbobjects/tessellatedSolidStr.h>
26 
27 namespace Belle2 {
33 
37  class ARICHDatabaseImporter {
38 
39  public:
44  m_inputFilesFebTest(), m_iov(0, 0, -1, -1) {};
45 
49  ARICHDatabaseImporter(const std::vector<std::string>& inputFilesHapdQA, const std::vector<std::string>& inputFilesAsicRoot,
50  const std::vector<std::string>& inputFilesAsicTxt, const std::vector<std::string>& inputFilesHapdQE,
51  const std::vector<std::string>& inputFilesFebTest);
52 
53 
54  ARICHDatabaseImporter(int experiment, int run);
55 
56 
60  virtual ~ARICHDatabaseImporter() {};
61 
62  void SetIOV(int experimentLow, int runLow, int experimentHigh , int runHigh);
63 
64  void setExperimentAndRun(int experiment, int run);
65 
66  // classes used in simulation/reconstruction software
67 
72 
77 
78 
82  void printSimulationPar();
83 
90  void importModulesInfo();
91 
95  void printModulesInfo();
96 
100  void setHAPDQE(unsigned modID, double qe = 0.27, bool import = false);
101 
105  void importGlobalAlignment();
106 
110  void importMirrorAlignment();
111 
116 
120  void importMergerCoolingGeo();
121 
125  tessellatedSolidStr readTessellatedSolidVerticesFromDATfile(const std::string& inDATfile);
126 
133  void importChannelMask();
134 
140  void importChannelMask(TH1* h);
141 
142 
146  void printChannelMask(bool makeHist = false);
147 
151  void importChannelMapping();
152 
156  void printChannelMapping();
157 
162  void importFEMappings();
163 
167  void printMergerMapping();
168 
172  void printCopperMapping();
173 
177  void printReconstructionPar();
178 
182  void printGeometryConfig();
183 
190  void dumpQEMap(bool simple = false);
191 
195  void dumpHvMappings();
196 
200  void printFEMappings();
201 
205  void dumpMergerMapping(bool sn = true);
206 
210  void dumpModuleNumbering();
211 
217  void dumpAerogelOpticalProperties(std::string outRootFileName = "ARICH_AerogelOpticalProperties.root");
218 
223 
227  void importGeometryConfig();
228 
232  void importAeroTilesInfo();
233 
237  void importAeroRayleighScatteringFit(std::string commentSingleWord = "");
238 
242  int getAeroTileRing(int slot);
243 
247  int getAeroTileColumn(int slot);
248 
252  void printAeroTileInfo();
253 
257  void printGlobalAlignment();
258 
262  void printMirrorAlignment();
263 
268 
269  // DAQ classes
270 
274  void importBiasMappings();
275 
279  void importHvMappings();
280 
285 
289  void printBiasMappings();
290 
294  void printHvMappings();
295 
300 
305  void printNominalBiasVoltageForChannel(std::vector<int> channel);
306 
313  void printHapdPositionFromCrateSlot(int crate, int slot, int channelID);
314 
320  int getFebDaqSlot(unsigned febSlot);
321 
322 
323  // classes used in conditions DB
324 
328  void importAerogelInfo(TString coreNameSuffix = "");
329 
333  void exportAerogelInfo(int verboseLevel = 0);
334 
338  void importAerogelMap();
339 
343  void exportAerogelMap();
344 
349 
354 
358  void importHapdQA();
359 
363  void exportHapdQA();
364 
368  void importAsicInfo();
369 
373  void importAsicInfoRoot();
374 
378  void exportAsicInfo();
379 
384  TTimeStamp timedate(std::string enddate);
385 
391  TTimeStamp getAsicDate(const std::string& asicSerial, const std::string& type);
392 
396  std::vector<int> channelsList(std::string badCH);
397 
401  void importFebTest();
402 
406  void importFebTestRoot();
407 
411  std::tuple<std::string, float, float, float> getFebLVtestData(int serial, int lvRun);
412 
416  std::tuple<std::string, float> getFebHVtestData(int serial, int hvRun);
417 
421  std::vector<int> getDeadChFEB(const std::string& dna);
422 
427  TTimeStamp timedate2(std::string time);
428 
432  std::pair<std::vector<float>, std::vector<float>> getSlopes(int serialNum, const std::string& runSCAN);
433 
437  std::vector<std::pair<float, float>> getFwhm(int serialNum, const std::string& runSCAN);
438 
442  std::vector<TH3F*> getFebTestHistograms(const std::string& dna, const std::string& run, int febposition);
443 
447  TH2F* getFebTestPulse(const std::string& dna, const std::string& run, int febposition);
448 
452  void exportFebTest();
453 
457  void importHapdChipInfo();
458 
462  void exportHapdChipInfo();
463 
467  void importHapdInfo();
468 
472  std::vector<int> channelsListHapd(std::string chlist, std::string chipDelay);
473 
480  int getChannelPosition(const std::string& XY, const std::string& chip_2d, int chipnum);
481 
491  TGraph* getGraphGainCurrent(const std::string& bomb_aval, const std::string& g_i, const std::string& chip_label, int i, float* HV,
492  float* gain_current);
493 
501  TH2F* getBiasGraph(const std::string& chip_2d, const std::string& voltage_current, int* chipnum, float* bias_v_i);
502 
506  void exportHapdInfo();
507 
511  void importHapdQE();
512 
516  void exportHapdQE();
517 
522  void printBiasVoltagesForHapdChip(const std::string& serialNumber);
523 
528  void printMyParams(const std::string& aeroSerialNumber);
529 
534  std::map<std::string, float> getAerogelParams(const std::string& aeroSerialNumber);
535 
539  void importFEBoardInfo();
540 
544  void exportFEBoardInfo();
545 
549  void importModuleTest(const std::string& mypath, const std::string& HVtest);
550 
554  void exportModuleTest(const std::string& HVtest);
555 
559  void importSensorModuleInfo();
560 
564  void importSensorModuleMap();
565 
569  void exportSensorModuleMap();
570  void exportSensorModuleMapInfo(int number);
571 
575  void importMagnetTest();
576 
580  void exportMagnetTest();
581 
585  void exportAll();
586 
587 
588  private:
589 
590  std::vector<std::string> m_inputFilesHapdQA;
591  std::vector<std::string> m_inputFilesAsicRoot;
592  std::vector<std::string> m_inputFilesAsicTxt;
593  std::vector<std::string> m_inputFilesHapdQE;
594  std::vector<std::string> m_inputFilesFebTest;
596  IntervalOfValidity m_iov;
597 
603  template <typename Container_t>
604  inline auto printContainer(const Container_t& rContainer, std::ostream& rStream = std::cout) noexcept -> void
605  {
606  if (rContainer.empty())
607  return void();
608 
609  rStream << rContainer.front();
610  for (auto i = 1ul; i < rContainer.size(); ++i)
611  rStream << " - " << rContainer[i];
612  rStream << '\n';
613  }
614 
615  };
616 
618 } // Belle2 namespace
619 #endif
Belle2::ARICHDatabaseImporter::dumpQEMap
void dumpQEMap(bool simple=false)
Dumps 2D QE map of full detector surface from the database into root file (from ARICHModulesInfo)
Definition: ARICHDatabaseImporter.cc:1135
Belle2::IntervalOfValidity
A class that describes the interval of experiments/runs for which an object in the database is valid.
Definition: IntervalOfValidity.h:35
Belle2::ARICHDatabaseImporter::importAeroRayleighScatteringFit
void importAeroRayleighScatteringFit(std::string commentSingleWord="")
Import optical information of aerogel tiles into database.
Definition: ARICHDatabaseImporter.cc:1239
Belle2::ARICHDatabaseImporter::m_inputFilesFebTest
std::vector< std::string > m_inputFilesFebTest
Input root files from FEB test (coarse/fine offset settings, test pulse)
Definition: ARICHDatabaseImporter.h:603
Belle2::tessellatedSolidStr
Structure which holds apexes of the tessellation volumes.
Definition: tessellatedSolidStr.h:36
Belle2::ARICHDatabaseImporter::importHapdChipInfo
void importHapdChipInfo()
Import ARICH HAPD chip data in the database.
Definition: ARICHDatabaseImporter.cc:2263
Belle2::ARICHDatabaseImporter::importHvMappings
void importHvMappings()
Imports mappings of power supply to high voltage cables.
Definition: ARICHDatabaseImporter.cc:799
Belle2::ARICHDatabaseImporter::channelsListHapd
std::vector< int > channelsListHapd(std::string chlist, std::string chipDelay)
Get lists of problematic HAPD channels.
Definition: ARICHDatabaseImporter.cc:2518
Belle2::ARICHDatabaseImporter::printMirrorAlignment
void printMirrorAlignment()
Prints mirror alignment constants.
Definition: ARICHDatabaseImporter.cc:725
Belle2::ARICHDatabaseImporter::getGraphGainCurrent
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.
Definition: ARICHDatabaseImporter.cc:2531
Belle2::ARICHDatabaseImporter::importMergerCoolingGeo
void importMergerCoolingGeo()
Import Merger cooling bodies geometry.
Definition: ARICHDatabaseImporter.cc:327
Belle2::ARICHDatabaseImporter::printGeometryConfig
void printGeometryConfig()
Prints geometry configuration parameters from the database.
Definition: ARICHDatabaseImporter.cc:1017
Belle2::ARICHDatabaseImporter::getBiasGraph
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.
Definition: ARICHDatabaseImporter.cc:2583
Belle2::ARICHDatabaseImporter::printBiasVoltagesForHapdChip
void printBiasVoltagesForHapdChip(const std::string &serialNumber)
Export ARICH HAPD chip info data from the database and calculate bias voltages for one HAPD.
Definition: ARICHDatabaseImporter.cc:2687
Belle2::ARICHDatabaseImporter::getDeadChFEB
std::vector< int > getDeadChFEB(const std::string &dna)
Returns list of dead channels on FEB.
Definition: ARICHDatabaseImporter.cc:2079
Belle2::ARICHDatabaseImporter::importFebTest
void importFebTest()
Import ARICH FEB test data in the database.
Definition: ARICHDatabaseImporter.cc:1822
Belle2::ARICHDatabaseImporter::importSimulationParams
void importSimulationParams()
Import simulation parameters from the xml file (QE curve, etc.)
Definition: ARICHDatabaseImporter.cc:470
Belle2::ARICHDatabaseImporter::importFEMappings
void importFEMappings()
Imports mappings of FE electronics from the xml file (ARICH-FrontEndMapping.xml) to the database Mapp...
Definition: ARICHDatabaseImporter.cc:529
Belle2::ARICHDatabaseImporter::printHapdPositionFromCrateSlot
void printHapdPositionFromCrateSlot(int crate, int slot, int channelID)
Prints HAPD position (sector, ring, azimuth) and merger connection (merger, feb slot) from the databa...
Definition: ARICHDatabaseImporter.cc:961
Belle2::ARICHDatabaseImporter::exportAerogelInfoEventDep
void exportAerogelInfoEventDep()
Export intrarun dependant ARICH aerogel data from the database.
Definition: ARICHDatabaseImporter.cc:1500
Belle2::ARICHDatabaseImporter::importMirrorAlignment
void importMirrorAlignment()
Import mirror alignment parameters from ARICH-MirrorAlignment.xml.
Definition: ARICHDatabaseImporter.cc:218
Belle2::ARICHDatabaseImporter::ARICHDatabaseImporter
ARICHDatabaseImporter()
Default constructor.
Definition: ARICHDatabaseImporter.h:52
Belle2::ARICHDatabaseImporter::exportAsicInfo
void exportAsicInfo()
Export ARICH ASICs data from the database.
Definition: ARICHDatabaseImporter.cc:1809
Belle2::ARICHDatabaseImporter::printGlobalAlignment
void printGlobalAlignment()
Prints global alignment constants.
Definition: ARICHDatabaseImporter.cc:719
Belle2::ARICHDatabaseImporter::importModulesInfo
void importModulesInfo()
Import HAPD modules info from the xml file and database (2D QE maps) Goes through the list of install...
Definition: ARICHDatabaseImporter.cc:123
Belle2::ARICHDatabaseImporter::importAeroTilesInfo
void importAeroTilesInfo()
Import optical information of aerogel tiles into database.
Definition: ARICHDatabaseImporter.cc:646
Belle2::ARICHDatabaseImporter::exportAerogelInfo
void exportAerogelInfo(int verboseLevel=0)
Export ARICH aerogel data from the database.
Definition: ARICHDatabaseImporter.cc:1325
Belle2::ARICHDatabaseImporter::importAerogelInfo
void importAerogelInfo(TString coreNameSuffix="")
Import ARICH aerogel data in the database.
Definition: ARICHDatabaseImporter.cc:1284
Belle2::ARICHDatabaseImporter::getFebTestPulse
TH2F * getFebTestPulse(const std::string &dna, const std::string &run, int febposition)
Returns TH2F histogram of pulse test.
Definition: ARICHDatabaseImporter.cc:2227
Belle2::ARICHDatabaseImporter::timedate
TTimeStamp timedate(std::string enddate)
Convert date (ASICs) to TTimeStamp.
Definition: ARICHDatabaseImporter.cc:1779
Belle2::ARICHDatabaseImporter::exportHapdQA
void exportHapdQA()
Export ARICH HAPD QA data from the database.
Definition: ARICHDatabaseImporter.cc:1632
Belle2::ARICHDatabaseImporter::printMyParams
void printMyParams(const std::string &aeroSerialNumber)
Example that shows how to use data from the database.
Definition: ARICHDatabaseImporter.cc:2734
Belle2::ARICHDatabaseImporter::importAsicInfo
void importAsicInfo()
Import ARICH ASICs data in the database.
Definition: ARICHDatabaseImporter.cc:1643
Belle2::ARICHDatabaseImporter::readTessellatedSolidVerticesFromDATfile
tessellatedSolidStr readTessellatedSolidVerticesFromDATfile(const std::string &inDATfile)
reads merger cooling bodies geometry from dat files
Definition: ARICHDatabaseImporter.cc:351
Belle2::ARICHDatabaseImporter::printFEMappings
void printFEMappings()
Prints electronics mappings for all modules (merger ID + SN, merger port, copper, finnese)
Definition: ARICHDatabaseImporter.cc:1086
Belle2::ARICHDatabaseImporter::importHapdQE
void importHapdQE()
Import HAPD quantum efficiency in the database.
Definition: ARICHDatabaseImporter.cc:2627
Belle2::ARICHDatabaseImporter::importBiasMappings
void importBiasMappings()
Imports mappings of power supply to bias cables and cables to HAPDs and nominal values of bias voltag...
Definition: ARICHDatabaseImporter.cc:739
Belle2::ARICHDatabaseImporter::getFwhm
std::vector< std::pair< float, float > > getFwhm(int serialNum, const std::string &runSCAN)
Returns lists of FWHM values&sigmas.
Definition: ARICHDatabaseImporter.cc:2143
Belle2::ARICHDatabaseImporter::timedate2
TTimeStamp timedate2(std::string time)
Convert date (FEB) to TTimeStamp.
Definition: ARICHDatabaseImporter.cc:2096
Belle2::ARICHDatabaseImporter::exportSensorModuleMap
void exportSensorModuleMap()
Export module sensor map and info classes from database.
Definition: ARICHDatabaseImporter.cc:3180
Belle2::ARICHDatabaseImporter::exportHapdQE
void exportHapdQE()
Export HAPD quantum efficiency from the database.
Definition: ARICHDatabaseImporter.cc:2670
Belle2::ARICHDatabaseImporter::exportMagnetTest
void exportMagnetTest()
Export results of magnet test.
Definition: ARICHDatabaseImporter.cc:3273
Belle2::ARICHDatabaseImporter::exportAerogelMap
void exportAerogelMap()
Export ARICH aerogel map in the database.
Definition: ARICHDatabaseImporter.cc:1421
Belle2::ARICHDatabaseImporter::printAeroTileInfo
void printAeroTileInfo()
Prints mapping of aerogel tiles and their optical properties.
Definition: ARICHDatabaseImporter.cc:713
Belle2::ARICHDatabaseImporter::printMergerMapping
void printMergerMapping()
Prints merger to FEB mappings from the database.
Definition: ARICHDatabaseImporter.cc:1030
Belle2::ARICHDatabaseImporter::dumpModuleNumbering
void dumpModuleNumbering()
Dumps module numbering scheme into root file (module position on the detector plane -> module number)
Definition: ARICHDatabaseImporter.cc:1123
Belle2::ARICHDatabaseImporter::exportFEBoardInfo
void exportFEBoardInfo()
Export module test results.
Definition: ARICHDatabaseImporter.cc:2836
Belle2::ARICHDatabaseImporter::m_inputFilesHapdQA
std::vector< std::string > m_inputFilesHapdQA
Input root files for HAPD QA.
Definition: ARICHDatabaseImporter.h:599
Belle2::ARICHDatabaseImporter::dumpMergerMapping
void dumpMergerMapping(bool sn=true)
Dumps module - merger mapping into root file.
Definition: ARICHDatabaseImporter.cc:1072
Belle2::ARICHDatabaseImporter::printSimulationPar
void printSimulationPar()
Print simulation parameters from the database (QE curve, etc.)
Definition: ARICHDatabaseImporter.cc:1011
Belle2::ARICHDatabaseImporter::importFEBoardInfo
void importFEBoardInfo()
Import module test results.
Definition: ARICHDatabaseImporter.cc:2764
Belle2::ARICHDatabaseImporter::exportModuleTest
void exportModuleTest(const std::string &HVtest)
Export module test results.
Definition: ARICHDatabaseImporter.cc:3050
Belle2::ARICHDatabaseImporter::m_inputFilesHapdQE
std::vector< std::string > m_inputFilesHapdQE
Input root files for HAPD quantum efficiency.
Definition: ARICHDatabaseImporter.h:602
Belle2::ARICHDatabaseImporter::getAeroTileRing
int getAeroTileRing(int slot)
Get aerogel ring number from global indetifier.
Definition: ARICHDatabaseImporter.cc:690
Belle2::ARICHDatabaseImporter::setHAPDQE
void setHAPDQE(unsigned modID, double qe=0.27, bool import=false)
Example function for importing HAPD QE to database class (ARICHModulesInfo)
Belle2::ARICHDatabaseImporter::printReconstructionPar
void printReconstructionPar()
Prints reconstruction parameters.
Definition: ARICHDatabaseImporter.cc:1048
Belle2::ARICHDatabaseImporter::m_inputFilesAsicRoot
std::vector< std::string > m_inputFilesAsicRoot
Input root files for ASICs.
Definition: ARICHDatabaseImporter.h:600
Belle2::ARICHDatabaseImporter::getAerogelParams
std::map< std::string, float > getAerogelParams(const std::string &aeroSerialNumber)
Function that returns refractive index, thickness and transmission length of aerogel.
Definition: ARICHDatabaseImporter.cc:2743
Belle2::ARICHDatabaseImporter::printBiasMappings
void printBiasMappings()
Prints mappings of power supply to bias cables and cables to HAPDs and nominal values of bias voltage...
Definition: ARICHDatabaseImporter.cc:886
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ARICHDatabaseImporter::channelsList
std::vector< int > channelsList(std::string badCH)
Get lists of problematic ASIC channels.
Definition: ARICHDatabaseImporter.cc:1797
Belle2::ARICHDatabaseImporter::dumpHvMappings
void dumpHvMappings()
Dumps detector map of HAPD modules to HV cable channels.
Definition: ARICHDatabaseImporter.cc:904
Belle2::ARICHDatabaseImporter::importAeroTilesAlignment
void importAeroTilesAlignment()
Import aerogel tiles alignment parameters from ARICH-AeroTilesAlignment.xml.
Definition: ARICHDatabaseImporter.cc:248
Belle2::ARICHDatabaseImporter::printNominalBiasVoltageForChannel
void printNominalBiasVoltageForChannel(std::vector< int > channel)
Prints nominal bias voltage for channel on power supply from the database.
Definition: ARICHDatabaseImporter.cc:923
Belle2::ARICHDatabaseImporter::getFebHVtestData
std::tuple< std::string, float > getFebHVtestData(int serial, int hvRun)
Returns data from high voltage test.
Definition: ARICHDatabaseImporter.cc:2065
Belle2::ARICHDatabaseImporter::~ARICHDatabaseImporter
virtual ~ARICHDatabaseImporter()
Destructor.
Definition: ARICHDatabaseImporter.h:69
Belle2::ARICHDatabaseImporter::dumpAerogelOpticalProperties
void dumpAerogelOpticalProperties(std::string outRootFileName="ARICH_AerogelOpticalProperties.root")
Dumps aerogel tile properties (aerogel optical properties - AOP) into root file with arich/utility/AR...
Definition: ARICHDatabaseImporter.cc:1168
Belle2::ARICHDatabaseImporter::importGlobalAlignment
void importGlobalAlignment()
Import global alignment parameters from ARICH-GlobalAlignment.xml.
Definition: ARICHDatabaseImporter.cc:202
Belle2::ARICHDatabaseImporter::getFebTestHistograms
std::vector< TH3F * > getFebTestHistograms(const std::string &dna, const std::string &run, int febposition)
Returns TH3F histograms - offset settings.
Definition: ARICHDatabaseImporter.cc:2161
Belle2::ARICHDatabaseImporter::printCopperMapping
void printCopperMapping()
Prints Copper to merger mappings from the database.
Definition: ARICHDatabaseImporter.cc:1036
Belle2::ARICHDatabaseImporter::printChannelMask
void printChannelMask(bool makeHist=false)
Print channel mask of all HAPD modules from the database (lightweight class for sim/rec)
Definition: ARICHDatabaseImporter.cc:1055
Belle2::ARICHDatabaseImporter::importCosmicTestGeometry
void importCosmicTestGeometry()
Import parameters of the cosmic test geometry configuration.
Definition: ARICHDatabaseImporter.cc:601
Belle2::ARICHDatabaseImporter::importGeometryConfig
void importGeometryConfig()
Import geometry configuration parameters to the database.
Definition: ARICHDatabaseImporter.cc:589
Belle2::ARICHDatabaseImporter::getFebDaqSlot
int getFebDaqSlot(unsigned febSlot)
Returns feb daq position from feb slot.
Definition: ARICHDatabaseImporter.cc:996
Belle2::ARICHDatabaseImporter::importHapdInfo
void importHapdInfo()
Import ARICH HAPD data in the database.
Definition: ARICHDatabaseImporter.cc:2433
Belle2::ARICHDatabaseImporter::getAsicDate
TTimeStamp getAsicDate(const std::string &asicSerial, const std::string &type)
Get date for ASIC measurement.
Definition: ARICHDatabaseImporter.cc:1750
Belle2::ARICHDatabaseImporter::getFebLVtestData
std::tuple< std::string, float, float, float > getFebLVtestData(int serial, int lvRun)
Returns data from low voltage test.
Definition: ARICHDatabaseImporter.cc:2044
Belle2::ARICHDatabaseImporter::exportHapdInfo
void exportHapdInfo()
Export ARICH HAPD info and chip info data from the database.
Definition: ARICHDatabaseImporter.cc:2605
Belle2::ARICHDatabaseImporter::importFebTestRoot
void importFebTestRoot()
Import large histograms from ARICH FEB test data in the database.
Definition: ARICHDatabaseImporter.cc:1960
Belle2::ARICHDatabaseImporter::getSlopes
std::pair< std::vector< float >, std::vector< float > > getSlopes(int serialNum, const std::string &runSCAN)
Returns lists of slopes (fine & rough)
Definition: ARICHDatabaseImporter.cc:2121
Belle2::ARICHDatabaseImporter::importHapdQA
void importHapdQA()
Import ARICH HAPD QA data in the database.
Definition: ARICHDatabaseImporter.cc:1552
Belle2::ARICHDatabaseImporter::printHvMappings
void printHvMappings()
Prints mappings of power supply to HV cables and cables to HAPDs from the database.
Definition: ARICHDatabaseImporter.cc:896
Belle2::ARICHDatabaseImporter::printModulesInfo
void printModulesInfo()
Print HAPD modules info from the database (lightweight class for sim/rec=)
Definition: ARICHDatabaseImporter.cc:1042
Belle2::ARICHDatabaseImporter::importChannelMask
void importChannelMask()
Import channel mask for all HAPD modules from the database (list of dead channels) Goes through the l...
Definition: ARICHDatabaseImporter.cc:276
Belle2::ARICHDatabaseImporter::getChannelPosition
int getChannelPosition(const std::string &XY, const std::string &chip_2d, int chipnum)
Get position of channel on HAPD.
Definition: ARICHDatabaseImporter.cc:2544
Belle2::ARICHDatabaseImporter::getAeroTileColumn
int getAeroTileColumn(int slot)
Get aerogel ring number from global indetifier.
Definition: ARICHDatabaseImporter.cc:701
Belle2::ARICHDatabaseImporter::importAerogelMap
void importAerogelMap()
Import ARICH aerogel map in the database.
Definition: ARICHDatabaseImporter.cc:1386
Belle2::ARICHDatabaseImporter::importAsicInfoRoot
void importAsicInfoRoot()
Import large histograms from ARICH ASICs data in the database.
Definition: ARICHDatabaseImporter.cc:1691
Belle2::ARICHDatabaseImporter::importAerogelInfoEventDep
void importAerogelInfoEventDep()
Import intrarun dependant ARICH aerogel data in the database.
Definition: ARICHDatabaseImporter.cc:1438
Belle2::ARICHDatabaseImporter::m_inputFilesAsicTxt
std::vector< std::string > m_inputFilesAsicTxt
Input txt files for ASICs.
Definition: ARICHDatabaseImporter.h:601
Belle2::ARICHDatabaseImporter::importMagnetTest
void importMagnetTest()
Import results of magnet test.
Definition: ARICHDatabaseImporter.cc:3225
Belle2::ARICHDatabaseImporter::printContainer
auto printContainer(const Container_t &rContainer, std::ostream &rStream=std::cout) noexcept -> void
printContainer used for debugging purposes...
Definition: ARICHDatabaseImporter.h:613
Belle2::ARICHDatabaseImporter::exportHapdChipInfo
void exportHapdChipInfo()
Export ARICH HAPD chip data from the database.
Definition: ARICHDatabaseImporter.cc:2421
Belle2::ARICHDatabaseImporter::importSensorModuleMap
void importSensorModuleMap()
Import module sensor map classes.
Definition: ARICHDatabaseImporter.cc:3139
Belle2::ARICHDatabaseImporter::importChannelMapping
void importChannelMapping()
Imports HAPD (asic) channel mappings from the xml file.
Definition: ARICHDatabaseImporter.cc:507
Belle2::ARICHDatabaseImporter::printAeroTilesAlignment
void printAeroTilesAlignment()
Prints aerogel tiles alignment constants.
Definition: ARICHDatabaseImporter.cc:731
Belle2::ARICHDatabaseImporter::importSensorModuleInfo
void importSensorModuleInfo()
Import module sensor info classes.
Definition: ARICHDatabaseImporter.cc:3080
Belle2::ARICHDatabaseImporter::importModuleTest
void importModuleTest(const std::string &mypath, const std::string &HVtest)
Import module test results.
Definition: ARICHDatabaseImporter.cc:2850
Belle2::ARICHDatabaseImporter::importNominalBiasVoltages
void importNominalBiasVoltages()
Imports mappings of nominal values of bias voltages.
Definition: ARICHDatabaseImporter.cc:859
Belle2::ARICHDatabaseImporter::importReconstructionParams
void importReconstructionParams()
Import reconstruction parameters (for now only initializes "default" values and imports)
Definition: ARICHDatabaseImporter.cc:459
XY
Point.
Definition: TRGCDCHoughMapping.cc:17
Belle2::ARICHDatabaseImporter::exportFebTest
void exportFebTest()
Export ARICH FEB test data from the database.
Definition: ARICHDatabaseImporter.cc:2249
Belle2::ARICHDatabaseImporter::printChannelMapping
void printChannelMapping()
Prints HAPD (asic) channel mapping from the database.
Definition: ARICHDatabaseImporter.cc:1024
Belle2::ARICHDatabaseImporter::printNominalBiasVoltages
void printNominalBiasVoltages()
Prints mappings of nominal values of bias voltages from the database.
Definition: ARICHDatabaseImporter.cc:917
Belle2::ARICHDatabaseImporter::exportAll
void exportAll()
Export all the data.
Definition: ARICHDatabaseImporter.cc:3293