#include <RunLumiSelector.h>
Definition at line 14 of file RunLumiSelector.h.
RunLumiSelector::RunLumiSelector |
( |
| ) |
|
|
inline |
Definition at line 34 of file RunLumiSelector.h.
References edm::EventBase::id(), edm::EventID::luminosityBlock(), lumis_, run_regression::ret, and edm::EventID::run().
36 if ( !ignoreCut(
"RunLumi") ) {
37 bool goodLumi =
false;
38 for ( std::vector<edm::LuminosityBlockRange>::const_iterator lumisBegin =
lumis_.begin(),
39 lumisEnd =
lumis_.end(), ilumi = lumisBegin;
40 ilumi != lumisEnd; ++ilumi ) {
41 if ( ev.id().run() >= ilumi->startRun() && ev.id().run() <= ilumi->endRun() &&
42 ev.id().luminosityBlock() >= ilumi->startLumi() && ev.id().luminosityBlock() <= ilumi->endLumi() ) {
47 if ( goodLumi ) passCut(ret,
"RunLumi" );
49 passCut(ret,
"RunLumi");
std::vector< edm::LuminosityBlockRange > lumis_