![]() |
Project
|
#include <boost/program_options.hpp>#include <algorithm>#include <ctime>#include <fstream>#include <iterator>#include <numeric>#include <regex>#include <set>#include <string>#include <vector>#include "CCDB/CcdbApi.h"#include "DataFormatsMCH/DsChannelId.h"#include "MCHConditions/DCSAliases.h"#include "MCHConstants/DetectionElements.h"#include "MCHGlobalMapping/DsIndex.h"#include "MCHGlobalMapping/Mapper.h"#include "MCHMappingInterface/Segmentation.h"#include "MCHRawElecMap/Mapper.h"Go to the source code of this file.
Typedefs | |
| using | BadChannelsVector = std::vector< o2::mch::DsChannelId > |
Functions | |
| std::string | ccdbPath (const std::string badChannelType) |
| std::set< uint64_t > | listTSWhenBadChannelsChange (const std::string ccdbUrl, const std::string badChannelType, uint64_t startTimestamp, uint64_t endTimestamp, bool verbose) |
| BadChannelsVector | queryBadChannels (const std::string ccdbUrl, const std::string badChannelType, uint64_t timestamp, bool verbose) |
| void | rejectDS (const o2::mch::raw::DsDetId &dsDetId, BadChannelsVector &bv) |
| void | rejectSolars (const std::vector< uint16_t > solarIds, BadChannelsVector &bv) |
| void | rejectDSs (const std::vector< uint16_t > dsIdxs, BadChannelsVector &bv) |
| void | rejectHVLVs (const std::vector< std::string > dcsAliases, BadChannelsVector &bv) |
| void | rejectDEs (const std::vector< uint16_t > deIds, BadChannelsVector &bv) |
| void | uploadBadChannels (const std::string ccdbUrl, const std::string badChannelType, uint64_t startTimestamp, uint64_t endTimestamp, BadChannelsVector &bv, bool makeDefault) |
| int | main (int argc, char **argv) |
| using BadChannelsVector = std::vector<o2::mch::DsChannelId> |
Definition at line 33 of file bad-channels-ccdb.cxx.
| std::string ccdbPath | ( | const std::string | badChannelType | ) |
Definition at line 35 of file bad-channels-ccdb.cxx.
| std::set< uint64_t > listTSWhenBadChannelsChange | ( | const std::string | ccdbUrl, |
| const std::string | badChannelType, | ||
| uint64_t | startTimestamp, | ||
| uint64_t | endTimestamp, | ||
| bool | verbose | ||
| ) |
Definition at line 40 of file bad-channels-ccdb.cxx.
Definition at line 252 of file bad-channels-ccdb.cxx.
| BadChannelsVector queryBadChannels | ( | const std::string | ccdbUrl, |
| const std::string | badChannelType, | ||
| uint64_t | timestamp, | ||
| bool | verbose | ||
| ) |
Definition at line 128 of file bad-channels-ccdb.cxx.
| void rejectDEs | ( | const std::vector< uint16_t > | deIds, |
| BadChannelsVector & | bv | ||
| ) |
Definition at line 207 of file bad-channels-ccdb.cxx.
| void rejectDS | ( | const o2::mch::raw::DsDetId & | dsDetId, |
| BadChannelsVector & | bv | ||
| ) |
Definition at line 159 of file bad-channels-ccdb.cxx.
| void rejectDSs | ( | const std::vector< uint16_t > | dsIdxs, |
| BadChannelsVector & | bv | ||
| ) |
Definition at line 181 of file bad-channels-ccdb.cxx.
| void rejectHVLVs | ( | const std::vector< std::string > | dcsAliases, |
| BadChannelsVector & | bv | ||
| ) |
Definition at line 193 of file bad-channels-ccdb.cxx.
| void rejectSolars | ( | const std::vector< uint16_t > | solarIds, |
| BadChannelsVector & | bv | ||
| ) |
Definition at line 171 of file bad-channels-ccdb.cxx.
| void uploadBadChannels | ( | const std::string | ccdbUrl, |
| const std::string | badChannelType, | ||
| uint64_t | startTimestamp, | ||
| uint64_t | endTimestamp, | ||
| BadChannelsVector & | bv, | ||
| bool | makeDefault | ||
| ) |
Definition at line 227 of file bad-channels-ccdb.cxx.