|
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
|
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
|
std::shared_ptr< l1s::Empty > | globalBeginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) const final |
| DQM Client Diagnostic should be performed here: More...
|
|
void | globalEndLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
|
| L1Scalers (const edm::ParameterSet &ps) |
|
| ~L1Scalers () override |
|
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) override |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
| DQMOneEDAnalyzer () |
|
void | endRun (edm::Run const &, edm::EventSetup const &) final |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) final |
|
virtual bool | getCanSaveByLumi () |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
const EDProducer & | operator= (const EDProducer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const noexcept final |
|
bool | wantsGlobalRuns () const noexcept final |
|
bool | wantsInputProcessBlocks () const noexcept final |
|
bool | wantsProcessBlocks () const noexcept final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const noexcept |
|
bool | wantsStreamRuns () const noexcept |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
std::vector< bool > const & | recordProvenanceList () const |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
TypeLabelList const & | typeLabelList () const |
| used by the fwk to register the list of products of this module More...
|
|
| ~ProducerBase () noexcept(false) override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESResolverIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef dqm::reco::DQMStore | DQMStore |
|
typedef dqm::reco::MonitorElement | MonitorElement |
|
typedef EDProducerBase | ModuleType |
|
template<typename T > |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
|
template<Transition Tr = Transition::Event> |
auto | produces (std::string instanceName) noexcept |
| declare what type of product will make and with which optional label More...
|
|
template<Transition B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<BranchType B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces () |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<Transition Tr = Transition::Event> |
auto | produces () noexcept |
|
ProducesCollector | producesCollector () |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
edm::EDPutTokenT< DQMToken > | runToken_ |
|
Definition at line 19 of file L1Scalers.h.
empty DecisionWord
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< l1s::Empty > >.
Definition at line 193 of file L1Scalers.cc.
References algoBxDiff_, algoBxDiffLumi_, algoSelected_, L1GtfeWord::bxNr(), bxNum_, cscBxDiff_, cscBxDiffLumi_, L1GlobalTriggerReadoutRecord::decisionWord(), denomBit_, denomIsTech_, change_name::diff, dtBxDiff_, dtBxDiffLumi_, MillePedeFileConverter_cfg::e, earliestAlgo_, earliestDenom_, earliestTech_, dqm::impl::MonitorElement::Fill(), L1MuGMTReadoutCollection::getRecords(), L1GlobalTriggerReadoutRecord::gtfeWord(), mps_fire::i, edm::HandleBase::isValid(), dqmiolumiharvest::j, l1AlgoCounter_, l1Correlations_, l1GmtDataSource_, l1GtDataSource_, l1scalers_, l1scalersBx_, l1techScalers_, l1techScalersBx_, l1TtCounter_, LogDebug, nev_, edm::Handle< T >::product(), rateAlgoCounter_, rateTtCounter_, rpcbBxDiff_, rpcbBxDiffLumi_, rpcfBxDiff_, rpcfBxDiffLumi_, submitPVValidationJobs::t, techBxDiff_, techBxDiffLumi_, L1GlobalTriggerReadoutRecord::technicalTriggerWord(), techSelected_, tfBit_, tfIsTech_, and parallelization::uint.
196 LogDebug(
"Status") <<
"L1Scalers::analyze event " <<
nev_;
205 LogDebug(
"Product") <<
"can't find L1GlobalTriggerReadoutRecord";
208 int gtfeBx = gtfeWord.
bxNr();
211 bool tfBitGood =
false;
215 for (
int iebx = 0; iebx <= 4; iebx++) {
219 if (!gtDecisionWord.empty()) {
221 for (
uint i = 0;
i < gtDecisionWord.size(); ++
i) {
222 if (gtDecisionWord[
i]) {
229 for (
uint i = 0;
i < gtDecisionWord.size(); ++
i) {
230 if (gtDecisionWord[
i]) {
233 for (
uint j =
i + 1;
j < gtDecisionWord.size(); ++
j) {
234 if (gtDecisionWord[
j]) {
249 for (
uint i = 0;
i < tw.size(); ++
i) {
256 for (
uint i = 0;
i < tw.size(); ++
i) {
288 if (!gmtCollection.
isValid()) {
289 edm::LogInfo(
"DataNotFound") <<
"can't find L1MuGMTReadoutCollection with label";
293 int bx1st[4] = {9, 9, 9, 9};
297 for (
int iebx = 0; iebx <= 4; iebx++) {
301 bool denomBitGood =
false;
313 if (!gtDecisionWord.empty()) {
334 if (!gtDecisionWord.empty()) {
350 std::vector<L1MuGMTReadoutRecord> gmt_records = gmtrc->
getRecords();
352 std::vector<L1MuGMTReadoutRecord>::const_iterator RRItr;
354 for (RRItr = gmt_records.begin(); RRItr != gmt_records.end(); RRItr++) {
355 std::vector<L1MuRegionalCand> INPCands[4] = {
356 RRItr->getDTBXCands(), RRItr->getBrlRPCCands(), RRItr->getCSCCands(), RRItr->getFwdRPCCands()};
357 std::vector<L1MuRegionalCand>::const_iterator INPItr;
358 int BxInEvent = RRItr->getBxInEvent();
361 for (
int i = 0;
i < 4;
i++) {
362 for (INPItr = INPCands[
i].
begin(); INPItr != INPCands[
i].end(); ++INPItr) {
363 if (!INPItr->empty()) {
365 bx1st[
i] = BxInEvent + 2;
MonitorElement * l1scalers_
std::vector< MonitorElement * > techBxDiff_
std::vector< MonitorElement * > algoBxDiffLumi_
std::vector< MonitorElement * > algoBxDiff_
MonitorElement * rpcfBxDiffLumi_
T const * product() const
const DecisionWord & decisionWord(int bxInEventValue) const
const L1GtfeWord gtfeWord() const
get / set GTFE word (record) in the GT readout record
MonitorElement * rpcbBxDiffLumi_
MonitorElement * dtBxDiffLumi_
std::vector< int > earliestTech_
MonitorElement * cscBxDiff_
MonitorElement * l1techScalers_
std::vector< bool > DecisionWord
typedefs
MonitorElement * l1scalersBx_
MonitorElement * l1TtCounter_
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
std::vector< MonitorElement * > techBxDiffLumi_
const TechnicalTriggerWord & technicalTriggerWord(int bxInEventValue) const
std::vector< unsigned int > algoSelected_
MonitorElement * l1Correlations_
std::vector< unsigned int > techSelected_
MonitorElement * rpcbBxDiff_
Log< level::Info, false > LogInfo
MonitorElement * dtBxDiff_
std::vector< L1MuGMTReadoutRecord > const & getRecords() const
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > l1GtDataSource_
unsigned int rateAlgoCounter_
const cms_uint16_t bxNr() const
get/set bunch cross number as counted in the GTFE board
std::vector< int > earliestAlgo_
edm::EDGetTokenT< L1MuGMTReadoutCollection > l1GmtDataSource_
MonitorElement * l1techScalersBx_
MonitorElement * l1AlgoCounter_
MonitorElement * rpcfBxDiff_
unsigned int rateTtCounter_
MonitorElement * cscBxDiffLumi_
Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< l1s::Empty > >.
Definition at line 71 of file L1Scalers.cc.
References algoBxDiff_, algoBxDiffLumi_, algoSelected_, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookInt(), bxNum_, cscBxDiff_, cscBxDiffLumi_, denomBit_, denomIsTech_, dtBxDiff_, dtBxDiffLumi_, folderName_, l1AlgoCounter_, l1Correlations_, l1scalers_, l1scalersBx_, l1techScalers_, l1techScalersBx_, l1TtCounter_, MAX_LUMI_BIN, MAX_LUMI_SEG, nLumiBlock_, rpcbBxDiff_, rpcbBxDiffLumi_, rpcfBxDiff_, rpcfBxDiffLumi_, dqm::implementation::NavigatorBase::setCurrentFolder(), contentValuesCheck::ss, techBxDiff_, techBxDiffLumi_, techSelected_, and parallelization::uint.
73 l1scalers_ = iBooker.
book1D(
"l1AlgoBits",
"L1 Algorithm Bits", 128, -0.5, 127.5);
75 "L1 Algorithm Bits vs " 96 "Bits vs Bunch Number",
103 bxNum_ = iBooker.
book1D(
"bxNum",
"Bunch number from GTFE", 3600, -0.5, 3599.5);
112 std::stringstream sdenom;
124 std::stringstream
ss;
126 algoBxDiff_.push_back(iBooker.
book1D(
"BX_diff_algo" +
ss.str(),
"BX_diff_algo" +
ss.str(), 9, -4, 5));
128 "BX_diff_algo" +
ss.str(),
138 std::stringstream
ss;
140 techBxDiff_.push_back(iBooker.
book1D(
"BX_diff_tech" +
ss.str(),
"BX_diff_tech" +
ss.str(), 9, -4, 5));
142 "BX_diff_tech" +
ss.str(),
153 std::stringstream ss1;
155 dtBxDiff_ = iBooker.
book1D(
"BX_diff_DT" + ss1.str(),
"BX_diff_DT" + ss1.str(), 9, -4, 5);
157 "BX_diffvslumi_DT" + ss1.str(),
164 cscBxDiff_ = iBooker.
book1D(
"BX_diff_CSC" + ss1.str(),
"BX_diff_CSC" + ss1.str(), 9, -4, 5);
166 "BX_diffvslumi_CSC" + ss1.str(),
173 rpcbBxDiff_ = iBooker.
book1D(
"BX_diff_RPCb" + ss1.str(),
"BX_diff_RPCb" + ss1.str(), 9, -4, 5);
175 "BX_diffvslumi_RPCb" + ss1.str(),
182 rpcfBxDiff_ = iBooker.
book1D(
"BX_diff_RPCf" + ss1.str(),
"BX_diff_RPCf" + ss1.str(), 9, -4, 5);
184 "BX_diffvslumi_RPCf" + ss1.str(),
MonitorElement * l1scalers_
std::vector< MonitorElement * > techBxDiff_
std::vector< MonitorElement * > algoBxDiffLumi_
std::vector< MonitorElement * > algoBxDiff_
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * rpcfBxDiffLumi_
MonitorElement * rpcbBxDiffLumi_
MonitorElement * dtBxDiffLumi_
MonitorElement * cscBxDiff_
MonitorElement * l1techScalers_
MonitorElement * l1scalersBx_
MonitorElement * l1TtCounter_
std::vector< MonitorElement * > techBxDiffLumi_
std::vector< unsigned int > algoSelected_
MonitorElement * l1Correlations_
std::vector< unsigned int > techSelected_
MonitorElement * rpcbBxDiff_
MonitorElement * dtBxDiff_
MonitorElement * nLumiBlock_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * bookInt(TString const &name, FUNC onbooking=NOOP())
MonitorElement * l1techScalersBx_
MonitorElement * l1AlgoCounter_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * rpcfBxDiff_
MonitorElement * cscBxDiffLumi_