17 DetNames_ = pset.
getParameter<std::vector<std::string> >(
"DetectorType" );
21 for (
unsigned int detreq=0;detreq<DetNames_.size();detreq++)
52 if (dcsStatus->empty())
56 edm::LogError(
"DetStatus") <<
"Error! dcsStatus has size 0, accept in any case" ;
61 unsigned int curr_dcs=(*dcsStatus)[0].ready();
63 std::cout <<
"curr_dcs = " << curr_dcs << std::endl;
65 accepted=((DetMap_ & curr_dcs)== DetMap_);
67 accepted=((DetMap_ & curr_dcs)!= 0);
72 std::cout <<
"DCSStatus filter: requested map: " << DetMap_ <<
" dcs in event: " <<curr_dcs <<
" filter: " << accepted << std::endl;
87 edm::LogError(
"DetStatus") <<
"Error! can't get the product: scalersRawToDigi, accept in any case" ;
91 if (! applyfilter_) accepted=
true;
DetStatus(const edm::ParameterSet &)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
static const char * partitionName[]
#define DEFINE_FWK_MODULE(type)
bool filter(edm::Event &, edm::EventSetup const &) override
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
EventAuxiliary const & eventAuxiliary() const
volatile std::atomic< bool > shutdown_flag false
static const int partitionList[]