73 auto lumiNumber =
event.eventAuxiliary().luminosityBlock();
81 if (iovTestInfoFromESSource->
iovStartLumi_ != iov.first().luminosityBlockNumber() ||
82 iovTestInfoFromESSource->
iovEndLumi_ != iov.last().luminosityBlockNumber() ||
85 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 86 <<
" values read from ESSource do not agree with record";
89 if (iovTestInfoFromESProducer->
iovStartLumi_ != iov.first().luminosityBlockNumber() ||
90 iovTestInfoFromESProducer->
iovEndLumi_ != iov.last().luminosityBlockNumber() ||
93 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 94 <<
" values read from ESProducer do not agree with record";
103 <<
"ConcurrentIOVAnalyzer::analyze," 104 <<
" unexpected value for EventSetup acquire test.\n" 106 <<
" cacheIdentifier = " << cacheIdentifier <<
"\n";
113 <<
"ConcurrentIOVAnalyzer::analyze," 114 <<
" value for unique_ptr test from EventSetup does not match expected value";
120 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 121 <<
" value for optional test from EventSetup does not match expected value";
130 if (lumiNumber == 1) {
133 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 134 <<
" values read from ESProducer do not agree with expected values";
137 if (lumiNumber == 2) {
140 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 141 <<
" values read from ESProducer do not agree with expected values";
144 if (lumiNumber == 3) {
147 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 148 <<
" values read from ESProducer do not agree with expected values";
151 if (lumiNumber == 4) {
154 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 155 <<
" values read from ESProducer do not agree with expected values";
158 if (lumiNumber == 5) {
161 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 162 <<
" values read from ESProducer do not agree with expected values";
165 if (lumiNumber == 6) {
168 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 169 <<
" values read from ESProducer do not agree with expected values";
172 if (lumiNumber == 7) {
175 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 176 <<
" values read from ESProducer do not agree with expected values";
179 if (lumiNumber == 8) {
182 throw cms::Exception(
"TestFailure") <<
"ConcurrentIOVAnalyzer::analyze," 183 <<
" values read from ESProducer do not agree with expected values";
edm::ESGetToken< IOVTestInfo, ESTestRecordI > const esTokenFromESProducer_
unsigned long long cacheIdentifier() const
edm::ESGetToken< ESTestDataI, ESTestRecordI > esTokenOptionalTestValue_
edm::ESGetToken< IOVTestInfo, ESTestRecordI > const esTokenFromESSource_
unsigned int iovStartLumi_
std::vector< int > expectedESAcquireTestResults_
unsigned int iovIndex() const
unsigned long long cacheIdentifier_
bool checkExpectedValues_
int expectedUniquePtrTestValue_
ValidityInterval validityInterval() const
edm::ESGetToken< ESTestDataI, ESTestRecordI > esTokenUniquePtrTestValue_
int expectedOptionalTestValue_
edm::ESGetToken< ESTestDataI, ESTestRecordI > esTokenFromAcquireIntESProducer_