|
|
#include <ESDaqInfoTask.h>
|
| ESDaqInfoTask (const edm::ParameterSet &ps) |
| Constructor. More...
|
|
| ~ESDaqInfoTask () override |
| Destructor. More...
|
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () 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 &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
| Analyze. More...
|
|
void | beginJob (void) override |
| BeginJob. More...
|
|
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup) override |
| BeginLuminosityBlock. More...
|
|
void | endJob (void) override |
| EndJob. More...
|
|
void | reset (void) |
| Reset. More...
|
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (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 ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
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) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
Definition at line 11 of file ESDaqInfoTask.h.
◆ DQMStore
◆ MonitorElement
◆ ESDaqInfoTask()
◆ ~ESDaqInfoTask()
ESDaqInfoTask::~ESDaqInfoTask |
( |
| ) |
|
|
override |
◆ analyze()
◆ beginJob()
void ESDaqInfoTask::beginJob |
( |
void |
| ) |
|
|
overrideprotectedvirtual |
◆ beginLuminosityBlock()
BeginLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 102 of file ESDaqInfoTask.cc.
105 for (
int x = 0;
x < 80; ++
x) {
106 for (
int y = 0;
y < 80; ++
y) {
114 for (
int i = 0;
i < 56;
i++) {
121 runInfoRec->get(sumFED);
123 std::vector<int> FedsInIds = sumFED->
m_fed_in;
125 float ESFedCount = 0.;
127 for (
unsigned int fedItr = 0; fedItr < FedsInIds.size(); ++fedItr) {
128 int fedID = FedsInIds[fedItr];
138 for (
int x = 0;
x < 80;
x++) {
139 for (
int y = 0;
y < 80;
y++) {
150 for (
int i = 0;
i < 56;
i++) {
161 LogWarning(
"ESDaqInfoTask") <<
"Cannot find any RunInfoRcd" << endl;
References mps_fire::i, RunInfo::m_fed_in, reset(), and edm::EventSetup::tryToGet().
◆ endJob()
void ESDaqInfoTask::endJob |
( |
void |
| ) |
|
|
overrideprotectedvirtual |
◆ getFEDNumber()
int ESDaqInfoTask::getFEDNumber |
( |
const int |
x, |
|
|
const int |
y |
|
) |
| |
|
inlineprivate |
Definition at line 58 of file ESDaqInfoTask.h.
59 int iz = (
x < 40) ? 1 : 2;
60 int ip = (
y >= 40) ? 1 : 2;
61 int ix = (
x < 40) ?
x :
x - 40;
62 int iy = (
y < 40) ?
y :
y - 40;
63 return (*es_mapping_).getFED(iz, ip, ix + 1, iy + 1);
References x, and y.
◆ reset()
void ESDaqInfoTask::reset |
( |
void |
| ) |
|
|
protected |
◆ dqmStore_
◆ es_mapping_
◆ ESFedRangeMax_
int ESDaqInfoTask::ESFedRangeMax_ |
|
private |
◆ ESFedRangeMin_
int ESDaqInfoTask::ESFedRangeMin_ |
|
private |
◆ ESOnFed_
bool ESDaqInfoTask::ESOnFed_[56] |
|
private |
◆ meESDaqActive_
◆ meESDaqActiveMap_
◆ meESDaqError_
◆ meESDaqFraction_
◆ mergeRuns_
bool ESDaqInfoTask::mergeRuns_ |
|
private |
◆ prefixME_
std::string ESDaqInfoTask::prefixME_ |
|
private |
MonitorElement * meESDaqError_
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
MonitorElement * meESDaqActive_[56]
std::vector< int > m_fed_in
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * meESDaqFraction_
std::optional< T > tryToGet() const
virtual void Reset()
Remove all data from the ME, keept the empty histogram with all its settings.
void setCurrentFolder(std::string const &fullpath) override
ESElectronicsMapper * es_mapping_
bool exists(std::string const ¶meterName) const
checks if a parameter exists
MonitorElement * meESDaqActiveMap_
int getFEDNumber(const int x, const int y)
T getParameter(std::string const &) const
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())