CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes
TPComparisonTask Class Reference

#include <TPComparisonTask.h>

Inheritance diagram for TPComparisonTask:
hcaldqm::DQTask DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > > hcaldqm::DQModule edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void globalEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 TPComparisonTask (edm::ParameterSet const &)
 
 ~TPComparisonTask () override
 
- Public Member Functions inherited from hcaldqm::DQTask
void analyze (edm::Event const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQTask (edm::ParameterSet const &)
 
std::shared_ptr< hcaldqm::CacheglobalBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) const override
 
void globalEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 ~DQTask () override
 
- Public Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >
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 ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () 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
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
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
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () 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
 
std::vector< ESProxyIndex > 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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (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)
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule () noexcept(false)
 

Public Attributes

 debug
 
 name
 
 runkeyName
 
 runkeyVal
 
 tag1
 
 tag2
 
 tpComparisonTask
 

Protected Member Functions

void _process (edm::Event const &, edm::EventSetup const &) override
 
void _resetMonitors (hcaldqm::UpdateFreq) override
 
- Protected Member Functions inherited from hcaldqm::DQTask
virtual int _getCalibType (edm::Event const &)
 
virtual bool _isApplicable (edm::Event const &)
 
- Protected Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
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)
 
template<Transition B>
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 (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
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 = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 

Protected Attributes

hcaldqm::Container2D _cEt_TTSubdet [4]
 
hcaldqm::Container2D _cEtall_TTSubdet
 
hcaldqm::ContainerSingle2D _cEtMsm
 
hcaldqm::Container2D _cEtMsm_FEDuTCA
 
hcaldqm::Container2D _cEtMsm_FEDVME
 
hcaldqm::Container2D _cFG_TTSubdet [4]
 
hcaldqm::ContainerSingle2D _cFGMsm
 
hcaldqm::Container2D _cFGMsm_FEDuTCA
 
hcaldqm::Container2D _cFGMsm_FEDVME
 
hcaldqm::Container2D _cMsn_FEDuTCA
 
hcaldqm::Container2D _cMsn_FEDVME
 
hcaldqm::ContainerSingle2D _cMsnuTCA
 
hcaldqm::ContainerSingle2D _cMsnVME
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmapuTCA
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmapVME
 
hcaldqm::filter::HashFilter _filter_uTCA
 
hcaldqm::filter::HashFilter _filter_VME
 
bool _skip1x1
 
edm::InputTag _tag1
 
edm::InputTag _tag2
 
edm::EDGetTokenT< HcalTrigPrimDigiCollection_tok1
 
edm::EDGetTokenT< HcalTrigPrimDigiCollection_tok2
 
std::vector< uint32_t > _vhashFEDs
 
- Protected Attributes inherited from hcaldqm::DQTask
ContainerI _cEvsPerLS
 
ContainerI _cEvsTotal
 
ContainerS _cProcessingTypeName
 
ContainerS _cRunKeyName
 
ContainerI _cRunKeyVal
 
edm::ESHandle< HcalDbService_dbService
 
const HcalElectronicsMap_emap = nullptr
 
int _procLSs
 
edm::InputTag _tagRaw
 
edm::EDGetTokenT< FEDRawDataCollection_tokRaw
 
std::vector< uint32_t > _vcdaqEids
 
ContainerXXX< uint32_t > _xQuality
 
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcdhcalChannelQualityToken_
 
edm::ESGetToken< HcalDbService, HcalDbRecordhcalDbServiceToken_
 
edm::ESGetToken< RunInfo, RunInfoRcdrunInfoToken_
 
- Protected Attributes inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >
edm::EDPutTokenT< DQMTokenrunToken_
 
- Protected Attributes inherited from hcaldqm::DQModule
int _currentLS
 
int _debug
 
int _evsPerLS
 
int _evsTotal
 
Logger _logger
 
int _maxLS
 
ModuleType _mtype
 
std::string _name
 
ProcessingType _ptype
 
std::string _runkeyName
 
int _runkeyVal
 
std::string _subsystem
 

Private Attributes

 _skip1x1
 

Additional Inherited Members

- Public Types inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

file: TPComparisonTask.h Author: Viktor Khristenko Date: 08.12.2015

Definition at line 20 of file TPComparisonTask.h.

Constructor & Destructor Documentation

◆ TPComparisonTask()

TPComparisonTask::TPComparisonTask ( edm::ParameterSet const &  ps)

Definition at line 6 of file TPComparisonTask.cc.

6  : DQTask(ps) {
7  // tags and tokens
8  _tag1 = ps.getUntrackedParameter<edm::InputTag>("tag1", edm::InputTag("hcalDigis"));
9  _tag2 = ps.getUntrackedParameter<edm::InputTag>("tag2", edm::InputTag("vmeDigis"));
10  _tok1 = consumes<HcalTrigPrimDigiCollection>(_tag1);
11  _tok2 = consumes<HcalTrigPrimDigiCollection>(_tag2);
12 
13  // tmp flags
14  _skip1x1 = ps.getUntrackedParameter<bool>("skip1x1", true);
15 }

References _skip1x1, _tag1, _tag2, _tok1, _tok2, edm::ParameterSet::getUntrackedParameter(), and HLT_FULL_cff::InputTag.

◆ ~TPComparisonTask()

TPComparisonTask::~TPComparisonTask ( )
inlineoverride

Definition at line 23 of file TPComparisonTask.h.

23 {}

Member Function Documentation

◆ _process()

void TPComparisonTask::_process ( edm::Event const &  e,
edm::EventSetup const &  es 
)
overrideprotectedvirtual

Implements hcaldqm::DQTask.

Definition at line 167 of file TPComparisonTask.cc.

167  {
170 
171  if (!e.getByToken(_tok1, coll1))
172  _logger.dqmthrow("Collection HcalTrigPrimDigiCollection isn't available" + _tag1.label() + " " + _tag1.instance());
173  if (!e.getByToken(_tok2, coll2))
174  _logger.dqmthrow("Collection HcalTrigPrimDigiCollection isn't available" + _tag2.label() + " " + _tag2.instance());
175 
176  // assume always coll1 is primary (uTCA) and coll2 is secondary(VME)
177  for (HcalTrigPrimDigiCollection::const_iterator it1 = coll1->begin(); it1 != coll1->end(); ++it1) {
178  // iterate thru utca collection
179  // get the same detid digi from vme collection
180  // if missing - fill vme missing
181  // else correlate
182  // tmp
183  if (_skip1x1)
184  if (it1->id().version() > 0)
185  continue;
186  // \tmp
187 
188  HcalTrigTowerDetId tid = it1->id();
192 
193  if (it2 == coll2->end()) {
194  // missing from VME collection
195  _cMsnVME.fill(tid);
196  if (_ptype != fOffline) { // hidefed2crate
197  _cMsn_FEDVME.fill(eid2);
198  }
199  for (int i = 0; i < it1->size(); i++) {
200  _cEtall_TTSubdet.fill(tid, it1->sample(i).compressedEt(), -2);
201  _cEt_TTSubdet[i].fill(tid, it1->sample(i).compressedEt(), -2);
202  }
203  } else
204  for (int i = 0; i < it1->size(); i++) {
205  _cEtall_TTSubdet.fill(tid, it1->sample(i).compressedEt(), it2->sample(i).compressedEt());
206  _cEt_TTSubdet[i].fill(tid, it1->sample(i).compressedEt(), it2->sample(i).compressedEt());
207  _cFG_TTSubdet[i].fill(tid, it1->sample(i).fineGrain(), it2->sample(i).fineGrain());
208  if (it1->sample(i).compressedEt() != it2->sample(i).compressedEt()) {
209  if (_ptype != fOffline) { // hidefed2crate
210  _cEtMsm_FEDuTCA.fill(eid1);
211  _cEtMsm_FEDVME.fill(eid2);
212  }
213  _cEtMsm.fill(tid);
214  }
215  if (it1->sample(i).fineGrain() != it2->sample(i).fineGrain()) {
216  if (_ptype != fOffline) { // hidefed2crate
217  _cFGMsm_FEDuTCA.fill(eid1);
218  _cFGMsm_FEDVME.fill(eid2);
219  }
220  _cFGMsm.fill(tid);
221  }
222  }
223  }
224  for (HcalTrigPrimDigiCollection::const_iterator it2 = coll2->begin(); it2 != coll2->end(); ++it2) {
225  // itearte thru VME
226  // find utca tp digi by detid
227  // check if present of missing
228  HcalTrigTowerDetId tid = it2->id();
229  if (_skip1x1)
230  if (tid.version() > 0)
231  continue;
232 
234  if (it1 == coll1->end()) {
236  if (_ptype != fOffline) { // hidefed2crate
237  _cMsn_FEDuTCA.fill(eid1);
238  }
239  _cMsnuTCA.fill(tid);
240  for (int i = 0; i < it2->size(); i++) {
241  _cEtall_TTSubdet.fill(tid, -2, it2->sample(i).compressedEt());
242  _cEt_TTSubdet[i].fill(tid, -2, it2->sample(i).compressedEt());
243  }
244  }
245  }
246 }

References _cEt_TTSubdet, _cEtall_TTSubdet, _cEtMsm, _cEtMsm_FEDuTCA, _cEtMsm_FEDVME, _cFG_TTSubdet, _cFGMsm, _cFGMsm_FEDuTCA, _cFGMsm_FEDVME, _cMsn_FEDuTCA, _cMsn_FEDVME, _cMsnuTCA, _cMsnVME, _ehashmapuTCA, _ehashmapVME, hcaldqm::DQModule::_logger, hcaldqm::DQModule::_ptype, _skip1x1, _tag1, _tag2, _tok1, _tok2, edm::SortedCollection< T, SORT >::begin(), Logger::dqmthrow(), MillePedeFileConverter_cfg::e, edm::SortedCollection< T, SORT >::end(), hcaldqm::Container2D::fill(), hcaldqm::ContainerSingle2D::fill(), edm::SortedCollection< T, SORT >::find(), hcaldqm::fOffline, mps_fire::i, HcalTrigTowerDetId::ieta(), edm::InputTag::instance(), HcalTrigTowerDetId::iphi(), edm::InputTag::label(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), and HcalTrigTowerDetId::version().

◆ _resetMonitors()

void TPComparisonTask::_resetMonitors ( hcaldqm::UpdateFreq  uf)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 165 of file TPComparisonTask.cc.

165 { DQTask::_resetMonitors(uf); }

◆ bookHistograms()

void TPComparisonTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 17 of file TPComparisonTask.cc.

19  {
21 
22  // GET WHAT YOU NEED
24  es.get<HcalDbRecord>().get(dbs);
26  es.get<HcalElectronicsMapRcd>().get("full", item);
27  _emap = item.product();
28  if (_ptype != fOffline) { // hidefed2crate
29  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
30  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
31  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
32  }
33  std::vector<uint32_t> vhashVME;
34  std::vector<uint32_t> vhashuTCA;
35  vhashVME.push_back(
37  vhashuTCA.push_back(HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
40 
41  // INTIALIZE CONTAINERS
42  for (unsigned int i = 0; i < 4; i++) {
44  "Et",
49  0);
51  "FG",
56  0);
57  }
59  "Et",
64  0);
65 
66  if (_ptype != fOffline) { // hidefed2crate
68  "Missing",
73  0);
75  "Missing",
80  0);
82  "EtMsm",
87  0);
89  "EtMsm",
94  0);
96  "FGMsm",
101  0);
103  "FGMsm",
108  0);
109  }
110 
112  "Missing",
116  0);
118  "Missing",
122  0);
124  "EtMsm",
128  0);
130  "FGMsm",
134  0);
135 
136  char aux[20];
137  for (unsigned int i = 0; i < 4; i++) {
138  sprintf(aux, "TS%d", i);
141  }
143  if (_ptype != fOffline) { // hidefed2crate
150  }
151 
156 
159  // _ehashmap.print();
160  // _cMsn_depth.book(ib);
161  // _cEtMsm_depth.book(ib);
162  // _cFGMsm_depth.book(ib);
163 }

References _cEt_TTSubdet, _cEtall_TTSubdet, _cEtMsm, _cEtMsm_FEDuTCA, _cEtMsm_FEDVME, _cFG_TTSubdet, _cFGMsm, _cFGMsm_FEDuTCA, _cFGMsm_FEDVME, _cMsn_FEDuTCA, _cMsn_FEDVME, _cMsnuTCA, _cMsnVME, _ehashmapuTCA, _ehashmapVME, hcaldqm::DQTask::_emap, _filter_uTCA, _filter_VME, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, printConversionInfo::aux, hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), bookHistograms(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, hcaldqm::hashfunctions::fElectronics, hcaldqm::quantity::fEtCorr_256, hcaldqm::hashfunctions::fFED, hcaldqm::quantity::fFG, hcaldqm::quantity::fFiberuTCATPFiberChuTCATP, hcaldqm::filter::fFilter, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, hcaldqm::quantity::fN, hcaldqm::fOffline, hcaldqm::quantity::fSLBSLBCh, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fSpigot, hcaldqm::electronicsmap::fT2EHashMap, hcaldqm::quantity::fTTieta, hcaldqm::quantity::fTTiphi, hcaldqm::hashfunctions::fTTSubdet, edm::EventSetup::get(), get, hcaldqm::utilities::getFEDList(), hcaldqm::utilities::getFEDuTCAList(), hcaldqm::utilities::getFEDVMEList(), mps_fire::i, cuy::ib, hcaldqm::filter::HashFilter::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), B2GTnPMonitor_cfi::item, alignCSCRings::r, hcaldqm::constants::SLOT_uTCA_MIN, hcaldqm::constants::SPIGOT_MIN, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ globalEndLuminosityBlock()

void TPComparisonTask::globalEndLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 248 of file TPComparisonTask.cc.

249  {
250  // in the end always
251  DQTask::globalEndLuminosityBlock(lb, es);
252 }

Member Data Documentation

◆ _cEt_TTSubdet

hcaldqm::Container2D TPComparisonTask::_cEt_TTSubdet[4]
protected

hcaldqm::Containers

Definition at line 58 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEtall_TTSubdet

hcaldqm::Container2D TPComparisonTask::_cEtall_TTSubdet
protected

Definition at line 59 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEtMsm

hcaldqm::ContainerSingle2D TPComparisonTask::_cEtMsm
protected

Definition at line 77 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEtMsm_FEDuTCA

hcaldqm::Container2D TPComparisonTask::_cEtMsm_FEDuTCA
protected

Definition at line 72 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEtMsm_FEDVME

hcaldqm::Container2D TPComparisonTask::_cEtMsm_FEDVME
protected

Definition at line 71 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cFG_TTSubdet

hcaldqm::Container2D TPComparisonTask::_cFG_TTSubdet[4]
protected

Definition at line 62 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cFGMsm

hcaldqm::ContainerSingle2D TPComparisonTask::_cFGMsm
protected

Definition at line 78 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cFGMsm_FEDuTCA

hcaldqm::Container2D TPComparisonTask::_cFGMsm_FEDuTCA
protected

Definition at line 74 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cFGMsm_FEDVME

hcaldqm::Container2D TPComparisonTask::_cFGMsm_FEDVME
protected

Definition at line 73 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cMsn_FEDuTCA

hcaldqm::Container2D TPComparisonTask::_cMsn_FEDuTCA
protected

Definition at line 66 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cMsn_FEDVME

hcaldqm::Container2D TPComparisonTask::_cMsn_FEDVME
protected

Definition at line 65 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cMsnuTCA

hcaldqm::ContainerSingle2D TPComparisonTask::_cMsnuTCA
protected

Definition at line 68 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cMsnVME

hcaldqm::ContainerSingle2D TPComparisonTask::_cMsnVME
protected

Definition at line 67 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _ehashmapuTCA

hcaldqm::electronicsmap::ElectronicsMap TPComparisonTask::_ehashmapuTCA
protected

Definition at line 43 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _ehashmapVME

hcaldqm::electronicsmap::ElectronicsMap TPComparisonTask::_ehashmapVME
protected

Definition at line 44 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _filter_uTCA

hcaldqm::filter::HashFilter TPComparisonTask::_filter_uTCA
protected

Definition at line 51 of file TPComparisonTask.h.

Referenced by bookHistograms().

◆ _filter_VME

hcaldqm::filter::HashFilter TPComparisonTask::_filter_VME
protected

Definition at line 50 of file TPComparisonTask.h.

Referenced by bookHistograms().

◆ _skip1x1 [1/2]

TPComparisonTask._skip1x1
private

Definition at line 16 of file TPComparisonTask.py.

◆ _skip1x1 [2/2]

bool TPComparisonTask::_skip1x1
protected

Definition at line 40 of file TPComparisonTask.h.

Referenced by _process(), and TPComparisonTask().

◆ _tag1

edm::InputTag TPComparisonTask::_tag1
protected

Definition at line 34 of file TPComparisonTask.h.

Referenced by _process(), and TPComparisonTask().

◆ _tag2

edm::InputTag TPComparisonTask::_tag2
protected

Definition at line 35 of file TPComparisonTask.h.

Referenced by _process(), and TPComparisonTask().

◆ _tok1

edm::EDGetTokenT<HcalTrigPrimDigiCollection> TPComparisonTask::_tok1
protected

Definition at line 36 of file TPComparisonTask.h.

Referenced by _process(), and TPComparisonTask().

◆ _tok2

edm::EDGetTokenT<HcalTrigPrimDigiCollection> TPComparisonTask::_tok2
protected

Definition at line 37 of file TPComparisonTask.h.

Referenced by _process(), and TPComparisonTask().

◆ _vhashFEDs

std::vector<uint32_t> TPComparisonTask::_vhashFEDs
protected

Definition at line 47 of file TPComparisonTask.h.

◆ debug

TPComparisonTask.debug

◆ name

TPComparisonTask.name

Definition at line 7 of file TPComparisonTask.py.

Referenced by ElectronMVAID.ElectronMVAID.__call__(), FWLite.ElectronMVAID.__call__(), dirstructure.Directory.__create_pie_image(), DisplayManager.DisplayManager.__del__(), dqm_interfaces.DirID.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dirstructure.Comparison.__make_image(), core.autovars.NTupleVariable.__repr__(), core.autovars.NTupleObjectType.__repr__(), core.autovars.NTupleObject.__repr__(), core.autovars.NTupleCollection.__repr__(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), config.Service.__setattr__(), config.CFG.__str__(), counter.Counter.__str__(), average.Average.__str__(), FWLite.WorkingPoints._reformat_cut_definitions(), core.autovars.NTupleObjectType.addSubObjects(), core.autovars.NTupleObjectType.addVariables(), core.autovars.NTupleObjectType.allVars(), dataset.CMSDataset.buildListOfFiles(), dataset.LocalDataset.buildListOfFiles(), dataset.CMSDataset.buildListOfFilesDBS(), dirstructure.Directory.calcStats(), validation.Sample.digest(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), DisplayManager.DisplayManager.Draw(), TreeCrawler.Package.dump(), core.autovars.NTupleVariable.fillBranch(), core.autovars.NTupleObject.fillBranches(), core.autovars.NTupleCollection.fillBranchesScalar(), core.autovars.NTupleCollection.fillBranchesVector(), core.autovars.NTupleCollection.get_cpp_declaration(), core.autovars.NTupleCollection.get_cpp_wrapper_class(), core.autovars.NTupleCollection.get_py_wrapper_class(), utils.StatisticalTest.get_status(), production_tasks.Task.getname(), dataset.CMSDataset.getPrimaryDatasetEntries(), dataset.PrivateDataset.getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase.initialize(), personalPlayback.Applet.log(), core.autovars.NTupleVariable.makeBranch(), core.autovars.NTupleObject.makeBranches(), core.autovars.NTupleCollection.makeBranchesScalar(), core.autovars.NTupleCollection.makeBranchesVector(), dirstructure.Directory.print_report(), dataset.BaseDataset.printInfo(), dataset.Dataset.printInfo(), production_tasks.MonitorJobs.run(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), counter.Counter.write(), and average.Average.write().

◆ runkeyName

TPComparisonTask.runkeyName

Definition at line 10 of file TPComparisonTask.py.

◆ runkeyVal

TPComparisonTask.runkeyVal

Definition at line 9 of file TPComparisonTask.py.

◆ tag1

TPComparisonTask.tag1

Definition at line 12 of file TPComparisonTask.py.

◆ tag2

TPComparisonTask.tag2

Definition at line 13 of file TPComparisonTask.py.

◆ tpComparisonTask

TPComparisonTask.tpComparisonTask

Definition at line 4 of file TPComparisonTask.py.

hcaldqm::quantity::fFiberuTCATPFiberChuTCATP
Definition: ElectronicsQuantity.h:42
mps_fire.i
i
Definition: mps_fire.py:428
HcalElectronicsMapRcd
Definition: HcalElectronicsMapRcd.h:8
hcaldqm::Container2D::initialize
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: Container2D.cc:25
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
TPComparisonTask::_skip1x1
bool _skip1x1
Definition: TPComparisonTask.h:40
hcaldqm::electronicsmap::ElectronicsMap::lookup
uint32_t lookup(DetId const &)
Definition: ElectronicsMap.cc:122
bookHistograms
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
TPComparisonTask::_tag2
edm::InputTag _tag2
Definition: TPComparisonTask.h:35
TPComparisonTask::_cMsn_FEDVME
hcaldqm::Container2D _cMsn_FEDVME
Definition: TPComparisonTask.h:65
edm::InputTag::instance
std::string const & instance() const
Definition: InputTag.h:37
HcalTrigTowerDetId::ieta
int ieta() const
get the tower ieta
Definition: HcalTrigTowerDetId.h:54
hcaldqm::quantity::fSlotuTCA
Definition: ElectronicsQuantity.h:21
hcaldqm::quantity::ValueQuantity
Definition: ValueQuantity.h:309
hcaldqm::hashfunctions::fElectronics
Definition: HashFunctions.h:145
hcaldqm::quantity::fTTiphi
Definition: TrigTowerQuantity.h:14
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89287
hcaldqm::electronicsmap::ElectronicsMap::initialize
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
Definition: ElectronicsMap.cc:6
TPComparisonTask::_cMsnVME
hcaldqm::ContainerSingle2D _cMsnVME
Definition: TPComparisonTask.h:67
hcaldqm::constants::SPIGOT_MIN
const int SPIGOT_MIN
Definition: Constants.h:118
TPComparisonTask::_cFG_TTSubdet
hcaldqm::Container2D _cFG_TTSubdet[4]
Definition: TPComparisonTask.h:62
TPComparisonTask::_cEtMsm_FEDVME
hcaldqm::Container2D _cEtMsm_FEDVME
Definition: TPComparisonTask.h:71
hcaldqm::constants::SLOT_uTCA_MIN
const int SLOT_uTCA_MIN
Definition: Constants.h:105
hcaldqm::constants::FIBER_uTCA_MIN1
const int FIBER_uTCA_MIN1
Definition: Constants.h:126
TPComparisonTask::_cFGMsm
hcaldqm::ContainerSingle2D _cFGMsm
Definition: TPComparisonTask.h:78
TPComparisonTask::_cEtall_TTSubdet
hcaldqm::Container2D _cEtall_TTSubdet
Definition: TPComparisonTask.h:59
TPComparisonTask::_tag1
edm::InputTag _tag1
Definition: TPComparisonTask.h:34
hcaldqm::hashfunctions::fFED
Definition: HashFunctions.h:136
hcaldqm::DQModule::_ptype
ProcessingType _ptype
Definition: DQModule.h:43
TPComparisonTask::_tok2
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tok2
Definition: TPComparisonTask.h:37
edm::Handle
Definition: AssociativeIterator.h:50
hcaldqm::utilities::getFEDList
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:83
hcaldqm::electronicsmap::fT2EHashMap
Definition: ElectronicsMap.h:26
TPComparisonTask::_ehashmapuTCA
hcaldqm::electronicsmap::ElectronicsMap _ehashmapuTCA
Definition: TPComparisonTask.h:43
hcaldqm::ContainerSingle2D::fill
virtual void fill(int, int)
Definition: ContainerSingle2D.cc:105
TPComparisonTask::_cEtMsm
hcaldqm::ContainerSingle2D _cEtMsm
Definition: TPComparisonTask.h:77
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
TPComparisonTask::_cMsnuTCA
hcaldqm::ContainerSingle2D _cMsnuTCA
Definition: TPComparisonTask.h:68
TPComparisonTask::_cEt_TTSubdet
hcaldqm::Container2D _cEt_TTSubdet[4]
Definition: TPComparisonTask.h:58
TPComparisonTask::_cEtMsm_FEDuTCA
hcaldqm::Container2D _cEtMsm_FEDuTCA
Definition: TPComparisonTask.h:72
hcaldqm::quantity::fTTieta
Definition: TrigTowerQuantity.h:15
TPComparisonTask::_filter_uTCA
hcaldqm::filter::HashFilter _filter_uTCA
Definition: TPComparisonTask.h:51
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
TPComparisonTask::_ehashmapVME
hcaldqm::electronicsmap::ElectronicsMap _ehashmapVME
Definition: TPComparisonTask.h:44
hcaldqm::constants::CRATE_uTCA_MIN
const int CRATE_uTCA_MIN
Definition: Constants.h:98
hcaldqm::filter::HashFilter::initialize
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:17
hcaldqm::constants::FIBER_VME_MIN
const int FIBER_VME_MIN
Definition: Constants.h:123
edm::ESHandle< HcalDbService >
HcalElectronicsId
Readout chain identification for Hcal.
Definition: HcalElectronicsId.h:32
hcaldqm::quantity::fEtCorr_256
Definition: ValueQuantity.h:43
hcaldqm::DQModule::_name
std::string _name
Definition: DQModule.h:41
hcaldqm::constants::FIBERCH_MIN
const int FIBERCH_MIN
Definition: Constants.h:132
HcalTrigTowerDetId::version
int version() const
get the version code for the trigger tower
Definition: HcalTrigTowerDetId.h:60
TPComparisonTask::_tok1
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tok1
Definition: TPComparisonTask.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
hcaldqm::quantity::fN
Definition: ValueQuantity.h:11
Logger::dqmthrow
void dqmthrow(std::string const &msg) const
Definition: Logger.h:12
hcaldqm::hashfunctions::fTTSubdet
Definition: HashFunctions.h:148
hcaldqm::Container2D::book
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:558
hcaldqm::Container2D::fill
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
TPComparisonTask::_cFGMsm_FEDVME
hcaldqm::Container2D _cFGMsm_FEDVME
Definition: TPComparisonTask.h:73
hcaldqm::quantity::fFG
Definition: ValueQuantity.h:26
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
hcaldqm::DQModule::_logger
Logger _logger
Definition: DQModule.h:54
printConversionInfo.aux
aux
Definition: printConversionInfo.py:19
TPComparisonTask::_filter_VME
hcaldqm::filter::HashFilter _filter_VME
Definition: TPComparisonTask.h:50
cuy.ib
ib
Definition: cuy.py:662
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
hcaldqm::quantity::fSpigot
Definition: ElectronicsQuantity.h:23
TPComparisonTask::_cMsn_FEDuTCA
hcaldqm::Container2D _cMsn_FEDuTCA
Definition: TPComparisonTask.h:66
get
#define get
hcaldqm::DQModule::_subsystem
std::string _subsystem
Definition: DQModule.h:48
alignCSCRings.r
r
Definition: alignCSCRings.py:93
edm::SortedCollection::find
iterator find(key_type k)
Definition: SortedCollection.h:240
hcaldqm::quantity::ElectronicsQuantity
Definition: ElectronicsQuantity.h:333
HcalTrigTowerDetId::iphi
int iphi() const
get the tower iphi
Definition: HcalTrigTowerDetId.h:56
hcaldqm::quantity::TrigTowerQuantity
Definition: TrigTowerQuantity.h:70
hcaldqm::DQTask::_emap
const HcalElectronicsMap * _emap
Definition: DQTask.h:80
hcaldqm::ContainerSingle2D::book
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerSingle2D.cc:68
hcaldqm::utilities::getFEDVMEList
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:101
hcaldqm::quantity::fSLBSLBCh
Definition: ElectronicsQuantity.h:37
HcalDbRecord
Definition: HcalDbRecord.h:30
TPComparisonTask::_cFGMsm_FEDuTCA
hcaldqm::Container2D _cFGMsm_FEDuTCA
Definition: TPComparisonTask.h:74
hcaldqm::ContainerSingle2D::initialize
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: ContainerSingle2D.cc:46
hcaldqm::DQTask::DQTask
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:8
hcaldqm::utilities::getFEDuTCAList
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:121
edm::InputTag
Definition: InputTag.h:15
hcaldqm::constants::CRATE_VME_MIN
const int CRATE_VME_MIN
Definition: Constants.h:93
hcaldqm::filter::fFilter
Definition: HashFilter.h:19
hcaldqm::fOffline
Definition: DQModule.h:26
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
HcalTrigTowerDetId
Definition: HcalTrigTowerDetId.h:14