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
 
 EDProducer (const EDProducer &)=delete
 
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
 
const EDProduceroperator= (const EDProducer &)=delete
 
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::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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, 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::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
 
edm::ESGetToken< HcalDbService, HcalDbRecordhcalDbServiceToken_
 
- 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 hcaldqm::DQTask
static void fillPSetDescription (edm::ParameterSetDescription &des)
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from hcaldqm::DQModule
static void fillPSetDescription (edm::ParameterSetDescription &desc)
 

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.

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

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 165 of file TPComparisonTask.cc.

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

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 163 of file TPComparisonTask.cc.

163 { 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 18 of file TPComparisonTask.cc.

20  {
22 
23  // GET WHAT YOU NEED
25  _emap = dbs->getHcalMapping();
26  if (_ptype != fOffline) { // hidefed2crate
27  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
28  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
29  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
30  }
31  std::vector<uint32_t> vhashVME;
32  std::vector<uint32_t> vhashuTCA;
33  vhashVME.push_back(
35  vhashuTCA.push_back(HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
38 
39  // INTIALIZE CONTAINERS
40  for (unsigned int i = 0; i < 4; i++) {
42  "Et",
47  0);
49  "FG",
54  0);
55  }
57  "Et",
62  0);
63 
64  if (_ptype != fOffline) { // hidefed2crate
66  "Missing",
71  0);
73  "Missing",
78  0);
80  "EtMsm",
85  0);
87  "EtMsm",
92  0);
94  "FGMsm",
99  0);
101  "FGMsm",
106  0);
107  }
108 
110  "Missing",
114  0);
116  "Missing",
120  0);
122  "EtMsm",
126  0);
128  "FGMsm",
132  0);
133 
134  char aux[20];
135  for (unsigned int i = 0; i < 4; i++) {
136  sprintf(aux, "TS%d", i);
139  }
141  if (_ptype != fOffline) { // hidefed2crate
148  }
149 
154 
157  // _ehashmap.print();
158  // _cMsn_depth.book(ib);
159  // _cEtMsm_depth.book(ib);
160  // _cFGMsm_depth.book(ib);
161 }

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, hcaldqm::utilities::getFEDList(), hcaldqm::utilities::getFEDuTCAList(), hcaldqm::utilities::getFEDVMEList(), edm::EventSetup::getHandle(), HcalDbService::getHcalMapping(), hcalDbServiceToken_, mps_fire::i, cuy::ib, hcaldqm::filter::HashFilter::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), 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 246 of file TPComparisonTask.cc.

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

Member Data Documentation

◆ _cEt_TTSubdet

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

hcaldqm::Containers

Definition at line 59 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEtall_TTSubdet

hcaldqm::Container2D TPComparisonTask::_cEtall_TTSubdet
protected

Definition at line 60 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEtMsm

hcaldqm::ContainerSingle2D TPComparisonTask::_cEtMsm
protected

Definition at line 78 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEtMsm_FEDuTCA

hcaldqm::Container2D TPComparisonTask::_cEtMsm_FEDuTCA
protected

Definition at line 73 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cEtMsm_FEDVME

hcaldqm::Container2D TPComparisonTask::_cEtMsm_FEDVME
protected

Definition at line 72 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cFG_TTSubdet

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

Definition at line 63 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cFGMsm

hcaldqm::ContainerSingle2D TPComparisonTask::_cFGMsm
protected

Definition at line 79 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cFGMsm_FEDuTCA

hcaldqm::Container2D TPComparisonTask::_cFGMsm_FEDuTCA
protected

Definition at line 75 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cFGMsm_FEDVME

hcaldqm::Container2D TPComparisonTask::_cFGMsm_FEDVME
protected

Definition at line 74 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cMsn_FEDuTCA

hcaldqm::Container2D TPComparisonTask::_cMsn_FEDuTCA
protected

Definition at line 67 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cMsn_FEDVME

hcaldqm::Container2D TPComparisonTask::_cMsn_FEDVME
protected

Definition at line 66 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cMsnuTCA

hcaldqm::ContainerSingle2D TPComparisonTask::_cMsnuTCA
protected

Definition at line 69 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _cMsnVME

hcaldqm::ContainerSingle2D TPComparisonTask::_cMsnVME
protected

Definition at line 68 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _ehashmapuTCA

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

Definition at line 44 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _ehashmapVME

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

Definition at line 45 of file TPComparisonTask.h.

Referenced by _process(), and bookHistograms().

◆ _filter_uTCA

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

Definition at line 52 of file TPComparisonTask.h.

Referenced by bookHistograms().

◆ _filter_VME

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

Definition at line 51 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 41 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 48 of file TPComparisonTask.h.

◆ debug

TPComparisonTask.debug

◆ hcalDbServiceToken_

edm::ESGetToken<HcalDbService, HcalDbRecord> TPComparisonTask::hcalDbServiceToken_
protected

Definition at line 38 of file TPComparisonTask.h.

Referenced by bookHistograms().

◆ 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
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:41
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:66
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:319
hcaldqm::hashfunctions::fElectronics
Definition: HashFunctions.h:154
hcaldqm::quantity::fTTiphi
Definition: TrigTowerQuantity.h:14
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
hcaldqm::electronicsmap::ElectronicsMap::initialize
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
Definition: ElectronicsMap.cc:6
TPComparisonTask::_cMsnVME
hcaldqm::ContainerSingle2D _cMsnVME
Definition: TPComparisonTask.h:68
hcaldqm::constants::SPIGOT_MIN
const int SPIGOT_MIN
Definition: Constants.h:120
TPComparisonTask::_cFG_TTSubdet
hcaldqm::Container2D _cFG_TTSubdet[4]
Definition: TPComparisonTask.h:63
TPComparisonTask::_cEtMsm_FEDVME
hcaldqm::Container2D _cEtMsm_FEDVME
Definition: TPComparisonTask.h:72
hcaldqm::constants::SLOT_uTCA_MIN
const int SLOT_uTCA_MIN
Definition: Constants.h:107
hcaldqm::constants::FIBER_uTCA_MIN1
const int FIBER_uTCA_MIN1
Definition: Constants.h:128
TPComparisonTask::_cFGMsm
hcaldqm::ContainerSingle2D _cFGMsm
Definition: TPComparisonTask.h:79
TPComparisonTask::_cEtall_TTSubdet
hcaldqm::Container2D _cEtall_TTSubdet
Definition: TPComparisonTask.h:60
TPComparisonTask::_tag1
edm::InputTag _tag1
Definition: TPComparisonTask.h:34
hcaldqm::hashfunctions::fFED
Definition: HashFunctions.h:145
hcaldqm::DQModule::_ptype
ProcessingType _ptype
Definition: DQModule.h:44
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:95
hcaldqm::electronicsmap::fT2EHashMap
Definition: ElectronicsMap.h:26
HcalDbService::getHcalMapping
const HcalElectronicsMap * getHcalMapping() const
Definition: HcalDbService.cc:343
TPComparisonTask::_ehashmapuTCA
hcaldqm::electronicsmap::ElectronicsMap _ehashmapuTCA
Definition: TPComparisonTask.h:44
hcaldqm::ContainerSingle2D::fill
virtual void fill(int, int)
Definition: ContainerSingle2D.cc:105
TPComparisonTask::_cEtMsm
hcaldqm::ContainerSingle2D _cEtMsm
Definition: TPComparisonTask.h:78
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
TPComparisonTask::_cMsnuTCA
hcaldqm::ContainerSingle2D _cMsnuTCA
Definition: TPComparisonTask.h:69
TPComparisonTask::_cEt_TTSubdet
hcaldqm::Container2D _cEt_TTSubdet[4]
Definition: TPComparisonTask.h:59
TPComparisonTask::_cEtMsm_FEDuTCA
hcaldqm::Container2D _cEtMsm_FEDuTCA
Definition: TPComparisonTask.h:73
hcaldqm::quantity::fTTieta
Definition: TrigTowerQuantity.h:15
TPComparisonTask::_filter_uTCA
hcaldqm::filter::HashFilter _filter_uTCA
Definition: TPComparisonTask.h:52
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
TPComparisonTask::_ehashmapVME
hcaldqm::electronicsmap::ElectronicsMap _ehashmapVME
Definition: TPComparisonTask.h:45
hcaldqm::constants::CRATE_uTCA_MIN
const int CRATE_uTCA_MIN
Definition: Constants.h:100
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:125
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:42
hcaldqm::constants::FIBERCH_MIN
const int FIBERCH_MIN
Definition: Constants.h:134
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
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:157
hcaldqm::Container2D::book
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:567
hcaldqm::Container2D::fill
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
TPComparisonTask::_cFGMsm_FEDVME
hcaldqm::Container2D _cFGMsm_FEDVME
Definition: TPComparisonTask.h:74
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:55
printConversionInfo.aux
aux
Definition: printConversionInfo.py:19
TPComparisonTask::_filter_VME
hcaldqm::filter::HashFilter _filter_VME
Definition: TPComparisonTask.h:51
cuy.ib
ib
Definition: cuy.py:661
hcaldqm::quantity::fSpigot
Definition: ElectronicsQuantity.h:23
TPComparisonTask::_cMsn_FEDuTCA
hcaldqm::Container2D _cMsn_FEDuTCA
Definition: TPComparisonTask.h:67
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TPComparisonTask::hcalDbServiceToken_
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: TPComparisonTask.h:38
hcaldqm::DQModule::_subsystem
std::string _subsystem
Definition: DQModule.h:49
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:81
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:113
hcaldqm::quantity::fSLBSLBCh
Definition: ElectronicsQuantity.h:37
TPComparisonTask::_cFGMsm_FEDuTCA
hcaldqm::Container2D _cFGMsm_FEDuTCA
Definition: TPComparisonTask.h:75
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:133
edm::InputTag
Definition: InputTag.h:15
hcaldqm::constants::CRATE_VME_MIN
const int CRATE_VME_MIN
Definition: Constants.h:95
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