61 auto lumiNumber =
event.eventAuxiliary().luminosityBlock();
69 if (iovTestInfoFromESSource->
iovStartLumi_ != iov.first().luminosityBlockNumber() ||
70 iovTestInfoFromESSource->
iovEndLumi_ != iov.last().luminosityBlockNumber() ||
73 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 74 <<
" values read from ESSource do not agree with record";
77 if (iovTestInfoFromESProducer->
iovStartLumi_ != iov.first().luminosityBlockNumber() ||
78 iovTestInfoFromESProducer->
iovEndLumi_ != iov.last().luminosityBlockNumber() ||
81 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 82 <<
" values read from ESProducer do not agree with record";
91 <<
"ConcurrentIOVAnalyzer::analyze," 92 <<
" unexpected value for EventSetup acquire test.\n" 94 <<
" cacheIdentifier = " << cacheIdentifier <<
"\n";
103 if (lumiNumber == 1) {
106 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 107 <<
" values read from ESProducer do not agree with expected values";
110 if (lumiNumber == 2) {
113 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 114 <<
" values read from ESProducer do not agree with expected values";
117 if (lumiNumber == 3) {
120 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 121 <<
" values read from ESProducer do not agree with expected values";
124 if (lumiNumber == 4) {
127 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 128 <<
" values read from ESProducer do not agree with expected values";
131 if (lumiNumber == 5) {
134 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 135 <<
" values read from ESProducer do not agree with expected values";
138 if (lumiNumber == 6) {
141 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 142 <<
" values read from ESProducer do not agree with expected values";
145 if (lumiNumber == 7) {
148 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 149 <<
" values read from ESProducer do not agree with expected values";
152 if (lumiNumber == 8) {
155 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 156 <<
" values read from ESProducer do not agree with expected values";
edm::ESGetToken< IOVTestInfo, ESTestRecordI > const esTokenFromESProducer_
unsigned long long cacheIdentifier() const
edm::ESGetToken< IOVTestInfo, ESTestRecordI > const esTokenFromESSource_
unsigned int iovStartLumi_
std::vector< int > expectedESAcquireTestResults_
unsigned int iovIndex() const
unsigned long long cacheIdentifier_
bool checkExpectedValues_
ValidityInterval validityInterval() const
edm::ESGetToken< ESTestDataI, ESTestRecordI > esTokenFromAcquireIntESProducer_