6 #include <boost/regex.hpp> 7 #include <boost/format.hpp> 8 #include <boost/lexical_cast.hpp> 42 event.getByToken(token, handle);
48 template <
typename R,
typename T>
52 setup.get<
R>().
get(handle);
126 descriptions.
add(
"triggerBxVsOrbitMonitor", desc);
134 m_minLS( config.getUntrackedParameter<
int>(
"minLS" ) ),
135 m_maxLS( config.getUntrackedParameter<
int>(
"maxLS" ) ),
136 m_minBX( config.getUntrackedParameter<
int>(
"minBX" ) ),
137 m_maxBX( config.getUntrackedParameter<
int>(
"maxBX" ) ),
175 for (
unsigned int i = 0;
i < nLS; ++
i) {
183 for (
unsigned int i = 0;
i <
size; ++
i) {
187 m_orbit_bx.at(i)->GetYaxis()->SetTitle(
"orbit");
196 unsigned int bx =
event.bunchCrossing();
197 unsigned int orbit =
event.orbitNumber();
198 unsigned int ls =
event.id().luminosityBlock();
209 unsigned int type =
event.experimentType();
std::vector< TH2F * > m_orbit_bx
static const char *const s_tcds_trigger_types[]
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
#define DEFINE_FWK_MODULE(type)
virtual void analyze(edm::Event const &, edm::EventSetup const &) override
virtual void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
static const unsigned int s_orbit_range
def setup(process, global_tag, zero_tesla=False)
static const unsigned int s_bx_range
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
HLTConfigProvider m_hltConfig
std::vector< TH2F * > m_orbit_bx_all_byLS
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
const edm::EDGetTokenT< GlobalAlgBlkBxCollection > m_l1t_results
TriggerBxVsOrbitMonitor(edm::ParameterSet const &)
L1TUtmTriggerMenu const * m_l1tMenu
const edm::EDGetTokenT< edm::TriggerResults > m_hlt_results
void setCurrentFolder(const std::string &fullpath)
T const * product() const
MonitorElement * book2D(Args &&...args)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const std::string m_dqm_path
~TriggerBxVsOrbitMonitor()=default
std::shared_ptr< cms::Exception > whyFailed() const
TH2F * getTH2F(void) const
T const * product() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)