|
void | analyze (const edm::Event &, const edm::EventSetup &) override |
|
| PixelPopConCalibChecker (const edm::ParameterSet &) |
|
| ~PixelPopConCalibChecker () override |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const noexcept final |
|
bool | wantsGlobalRuns () const noexcept final |
|
bool | wantsInputProcessBlocks () const noexcept final |
|
bool | wantsProcessBlocks () const noexcept final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const noexcept |
|
bool | wantsStreamRuns () const noexcept |
|
| ~EDAnalyzerBase () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESResolverIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzerBase | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
Description: Test analyzer for checking calib configuration objects written to db
Implementation: <Notes on="" implementation>="">
Definition at line 38 of file PixelPopConCalibChecker.cc.
Implements edm::one::EDAnalyzerBase.
Definition at line 71 of file PixelPopConCalibChecker.cc.
References _filename, _messageLevel, gainCalibToken_, SiPixelCalibConfiguration::getCalibrationMode(), SiPixelCalibConfiguration::getColumnPattern(), edm::EventSetup::getData(), SiPixelCalibConfiguration::getNTriggers(), SiPixelCalibConfiguration::getRowPattern(), SiPixelCalibConfiguration::getVCalValues(), iEvent, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and edm::EventID::run().
79 edm::LogPrint(
"PixelPopConCalibChecker") <<
"Comparing SiPixelCalibConfiguration object from database for run " 80 << eventID.
run() <<
" to calib.dat file at " <<
_filename << endl;
94 edm::LogPrint(
"PixelPopConCalibChecker") <<
"*** Checking calibration mode ***" << endl;
95 edm::LogPrint(
"PixelPopConCalibChecker") <<
" mode from DB: " << modeES << endl;
96 edm::LogPrint(
"PixelPopConCalibChecker") <<
" mode from file: " << modeFile << endl;
98 if (modeES != modeFile) {
101 edm::LogPrint(
"PixelPopConCalibChecker") <<
"Mismatch in calibration mode!" << endl;
102 edm::LogPrint(
"PixelPopConCalibChecker") <<
" " << modeES <<
" in database, " << modeFile <<
" in file" << endl;
110 edm::LogPrint(
"PixelPopConCalibChecker") <<
"*** Checking number of triggers ***" << endl;
111 edm::LogPrint(
"PixelPopConCalibChecker") <<
" NTriggers from DB: " << ntriggerES << endl;
112 edm::LogPrint(
"PixelPopConCalibChecker") <<
" NTriggers from file: " << ntriggerFile << endl;
114 if (ntriggerES != ntriggerFile) {
117 edm::LogPrint(
"PixelPopConCalibChecker") <<
"Mismatch in number of triggers!" << endl;
119 <<
" " << ntriggerES <<
" in database, " << ntriggerFile <<
" in file" << endl;
127 edm::LogPrint(
"PixelPopConCalibChecker") <<
"*** Checking vcal values ***" << endl;
128 edm::LogPrint(
"PixelPopConCalibChecker") <<
" vcal values from DB: ";
129 for (vector<short>::const_iterator
it = vcalES.begin();
it != vcalES.end(); ++
it)
132 edm::LogPrint(
"PixelPopConCalibChecker") <<
" vcal values from file: ";
133 for (vector<short>::const_iterator
it = vcalFile.begin();
it != vcalFile.end(); ++
it)
137 if (vcalES != vcalFile) {
140 edm::LogPrint(
"PixelPopConCalibChecker") <<
"Mismatch in vcal values!" << endl;
148 edm::LogPrint(
"PixelPopConCalibChecker") <<
"*** Checking column pattern values ***" << endl;
149 edm::LogPrint(
"PixelPopConCalibChecker") <<
" column pattern from DB: ";
150 for (vector<short>::const_iterator
it = colES.begin();
it != colES.end(); ++
it)
153 edm::LogPrint(
"PixelPopConCalibChecker") <<
" column pattern from file: ";
154 for (vector<short>::const_iterator
it = colFile.begin();
it != colFile.end(); ++
it)
158 if (colES != colFile) {
161 edm::LogPrint(
"PixelPopConCalibChecker") <<
"Mismatch in column pattern!" << endl;
169 edm::LogPrint(
"PixelPopConCalibChecker") <<
"*** Checking row pattern values ***" << endl;
170 edm::LogPrint(
"PixelPopConCalibChecker") <<
" row pattern from DB: ";
171 for (vector<short>::const_iterator
it = rowES.begin();
it != rowES.end(); ++
it)
174 edm::LogPrint(
"PixelPopConCalibChecker") <<
" row pattern from file: ";
175 for (vector<short>::const_iterator
it = rowFile.begin();
it != rowFile.end(); ++
it)
179 if (rowES != rowFile) {
182 edm::LogPrint(
"PixelPopConCalibChecker") <<
"Mismatch in row pattern!" << endl;
189 <<
"*** Calibration configuration in database and file match. Go forth and calibrate." << endl;
192 <<
"*** WARNING! Calibration configuration is database and file DO NOT match!" << endl;
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
std::vector< short > getColumnPattern() const
std::vector< short > getRowPattern() const
const std::vector< short > getVCalValues() const
This class implements the steps that are used in a scan over Threshold and CalDelay.
short getNTriggers() const
Log< level::Warning, true > LogPrint
const std::string _filename
std::string getCalibrationMode() const
const edm::ESGetToken< SiPixelCalibConfiguration, SiPixelCalibConfigurationRcd > gainCalibToken_