48 edm::LogError (
"HeavyIonUCCDQM") <<
"invalid collection: TriggerResults" <<
"\n";
52 bool hasFired =
false;
54 unsigned int numTriggers = trigNames.
size();
55 for(
unsigned int hltIndex=0; hltIndex<numTriggers; ++hltIndex ) {
56 if (trigNames.
triggerName(hltIndex).find(
triggerPath_) != std::string::npos && hltresults->wasrun(hltIndex) && hltresults->accept(hltIndex)){
61 if (!hasFired)
return;
T getParameter(std::string const &) const
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const
MonitorElement * h_SiPixelClusters
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
edm::EDGetTokenT< reco::CaloMETCollection > theCaloMet
Strings::size_type size() const
void analyze(edm::Event const &e, edm::EventSetup const &eSetup)
HeavyIonUCCDQM(const edm::ParameterSet &ps)
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > theSiPixelCluster
MonitorElement * book1D(Args &&...args)
static const char *const trigNames[]
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
std::string const & triggerName(unsigned int index) const
virtual ~HeavyIonUCCDQM()
MonitorElement * h_SumEt_SiPixelClusters
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override