|
| L1RCTTPGProvider (const edm::ParameterSet &) |
|
| ~L1RCTTPGProvider () override |
|
| EDProducer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
| ~EDProducer () 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 |
|
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 |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
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) |
|
|
typedef EDProducer | ModuleType |
|
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) |
|
static bool | wantsGlobalLuminosityBlocks () |
|
static bool | wantsGlobalRuns () |
|
static bool | wantsInputProcessBlocks () |
|
static bool | wantsProcessBlocks () |
|
static bool | wantsStreamLuminosityBlocks () |
|
static bool | wantsStreamRuns () |
|
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 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) |
|
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) |
|
L1Trigger/L1RCTTPGProvider/src/L1RCTTPGProvider.cc
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 35 of file L1RCTTPGProvider.h.
Implements edm::EDProducer.
Definition at line 48 of file L1RCTTPGProvider.cc.
References bsc_activity_cfg::ecal, ecalTPG_, EcalTriggerTower, hbShift, hltEgammaHLTExtra_cfi::hcal, hcalTPG_, hfShift, mps_fire::i, LEDCalibrationChannels::ieta, iEvent, LEDCalibrationChannels::iphi, dqmiolumiharvest::j, eostools::move(), PresampleTask_cfi::nSamples, postSamples, preSamples, ecalGpuTask_cfi::sample, HcalTriggerPrimitiveDigi::setPresamples(), EcalTriggerPrimitiveDigi::setSample(), HcalTriggerPrimitiveDigi::setSample(), EcalTriggerPrimitiveDigi::setSize(), HcalTriggerPrimitiveDigi::setSize(), useEcalCosmicTiming, useHcalCosmicTiming, and ecaldqm::zside().
65 short zside = ecal_it->id().zside();
66 unsigned short ietaAbs = ecal_it->id().ietaAbs();
67 short iphi = ecal_it->id().iphi();
68 unsigned short digiSize = ecal_it->size();
69 unsigned short nSOI = (
unsigned short)(ecal_it->sampleOfInterest());
71 unsigned short preLoopsZero = (
unsigned short)(
preSamples)-nSOI;
80 ecalColl[
sample].push_back(ecalDigi);
91 edm::LogWarning(
"TooLittleData") <<
"ECAL data needs at least one presample " 92 <<
"more than the number requested " 93 <<
"to use ecal cosmic timing mod! " 94 <<
"reverting to useEcalCosmicTiming = false " 95 <<
"for rest of job.";
106 ecalColl[
sample].push_back(ecalDigi);
116 ecalColl[
sample].push_back(ecalDigi);
121 short zside = ecal_it->id().zside();
122 unsigned short ietaAbs = ecal_it->id().ietaAbs();
123 short iphi = ecal_it->id().iphi();
130 edm::LogWarning(
"TooLittleData") <<
"ECAL data needs at least one presample " 131 <<
"more than the number requested " 132 <<
"to use ecal cosmic timing mod! " 133 <<
"reverting to useEcalCosmicTiming = false " 134 <<
"for rest of job.";
137 ecalDigi.setSample(0,
139 ecal_it->sample(ecal_it->sampleOfInterest() +
sample -
preSamples - 1).raw()));
149 ecalColl[
sample].push_back(ecalDigi);
156 if (
hcal.isValid()) {
159 short ieta = hcal_it->id().ieta();
160 short iphi = hcal_it->id().iphi();
162 unsigned short digiSize = hcal_it->size();
164 unsigned short nSOI = (
unsigned short)(hcal_it->presamples());
166 unsigned short preLoopsZero = (
unsigned short)(
preSamples)-nSOI;
172 hcalDigi.setPresamples(0);
174 hcalColl[
sample].push_back(hcalDigi);
182 hcalDigi.setPresamples(0);
186 edm::LogWarning(
"TooLittleData") <<
"HCAL data needs at least one presample " 187 <<
"more than the number requested " 188 <<
"to use hcal cosmic timing mod! " 189 <<
"reverting to useHcalCosmicTiming = false " 190 <<
"for rest of job.";
203 hcalColl[
sample].push_back(hcalDigi);
211 hcalDigi.setPresamples(0);
213 hcalColl[
sample].push_back(hcalDigi);
220 hcalDigi.setPresamples(0);
224 edm::LogWarning(
"TooLittleData") <<
"HCAL data needs at least one presample " 225 <<
"more than the number requested " 226 <<
"to use hcal cosmic timing mod! " 227 <<
"reverting to useHcalCosmicTiming = false " 228 <<
"for rest of job.";
239 hcalDigi.setSample(0,
242 if (ieta <= -29 || ieta >= 29)
243 hcalDigi.setSample(0,
247 hcalColl[
sample].push_back(hcalDigi);
256 char ecal_label[200];
257 char hcal_label[200];
259 sprintf(ecal_label,
"ECALBxminus%d",
preSamples -
i);
260 sprintf(hcal_label,
"HCALBxminus%d",
preSamples -
i);
264 for (
unsigned int j = 0;
j < ecalColl[
i].size(); ++
j) {
265 ecalIn->push_back((ecalColl[
i])[
j]);
267 for (
unsigned int j = 0;
j < hcalColl[
i].size(); ++
j)
268 hcalIn->push_back((hcalColl[
i])[
j]);
276 for (
unsigned int j = 0;
j < ecalColl[
preSamples].size(); ++
j)
278 for (
unsigned int j = 0;
j < hcalColl[
preSamples].size(); ++
j)
285 char ecal_label[200];
286 char hcal_label[200];
288 sprintf(ecal_label,
"ECALBxplus%d",
i -
preSamples);
289 sprintf(hcal_label,
"HCALBxplus%d",
i -
preSamples);
294 for (
unsigned int j = 0;
j < ecalColl[
i].size(); ++
j)
295 ecalIn2->push_back((ecalColl[
i])[
j]);
297 for (
unsigned int j = 0;
j < hcalColl[
i].size(); ++
j)
298 hcalIn2->push_back((hcalColl[
i])[
j]);
std::vector< T >::const_iterator const_iterator
Log< level::Warning, false > LogWarning