#include <RunLumiSelector.h>
Definition at line 17 of file RunLumiSelector.h.
RunLumiSelector::RunLumiSelector |
( |
| ) |
|
|
inline |
Definition at line 43 of file RunLumiSelector.h.
References edm::EventBase::id(), edm::EventID::luminosityBlock(), lumis_, runTheMatrix::ret, and edm::EventID::run().
45 if ( !ignoreCut(
"RunLumi") ) {
46 bool goodLumi =
false;
47 for ( std::vector<edm::LuminosityBlockRange>::const_iterator lumisBegin =
lumis_.begin(),
48 lumisEnd =
lumis_.end(), ilumi = lumisBegin;
49 ilumi != lumisEnd; ++ilumi ) {
50 if (
ev.id().run() >= ilumi->startRun() &&
ev.id().run() <= ilumi->endRun() &&
51 ev.id().luminosityBlock() >= ilumi->startLumi() &&
ev.id().luminosityBlock() <= ilumi->endLumi() ) {
56 if ( goodLumi ) passCut(ret,
"RunLumi" );
58 passCut(ret,
"RunLumi");
std::vector< edm::LuminosityBlockRange > lumis_
tuple ret
prodAgent to be discontinued