|
| BXVectorInputProducer (const ParameterSet &) |
|
| ~BXVectorInputProducer () 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 &&)=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) |
|
|
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 |
|
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 () |
|
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) |
|
Description: Create Proper BX Vector Structure for full GT Test Vector Generation including out of time BX.
The producer takes the CAL collections with BX=0 and shifts them, inserting them at BX = -2
and ratcheting older BX information through BX = -1, 0, 1, 2.
- Author
- : B Winer OSU
Modeled after GenToInputProducer.cc
Definition at line 59 of file BXVectorInputProducer.cc.
void l1t::BXVectorInputProducer::produce |
( |
Event & |
iEvent, |
|
|
EventSetup const & |
iSetup |
|
) |
| |
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 183 of file BXVectorInputProducer.cc.
186 LogDebug(
"l1t|Global") <<
"BXVectorInputProducer::produce function called...\n";
189 std::vector<l1t::Muon> muonVec;
190 std::vector<l1t::EGamma> egammaVec;
191 std::vector<l1t::Tau> tauVec;
192 std::vector<l1t::Jet> jetVec;
193 std::vector<l1t::EtSum> etsumVec;
206 std::vector<int> mu_cands_index;
207 std::vector<int> eg_cands_index;
208 std::vector<int> tau_cands_index;
216 for (std::vector<l1t::EGamma>::const_iterator eg = inputEgammas->begin(
bx); eg != inputEgammas->end(
bx); ++eg) {
218 egammaVec.push_back((*eg));
222 LogTrace(
"l1t|Global") <<
">>> input EG collection not found!" << std::endl;
230 muonVec.push_back((*
mu));
234 LogTrace(
"l1t|Global") <<
">>> input Mu collection not found!" << std::endl;
240 for (std::vector<l1t::Tau>::const_iterator
tau = inputTaus->begin(
bx);
tau != inputTaus->end(
bx); ++
tau) {
242 tauVec.push_back((*
tau));
246 LogTrace(
"l1t|Global") <<
">>> input tau collection not found!" << std::endl;
254 jetVec.push_back((*
jet));
258 LogTrace(
"l1t|Global") <<
">>> input jet collection not found!" << std::endl;
264 for (std::vector<l1t::EtSum>::const_iterator etsum = inputEtsums->begin(
bx); etsum != inputEtsums->end(
bx);
266 etsumVec.push_back((*etsum));
269 LogTrace(
"l1t|Global") <<
">>> input etsum collection not found!" << std::endl;
290 for (
int iMu = 0; iMu <
int(muonVec.size()); iMu++) {
291 muons->push_back(2, muonVec[iMu]);
312 for (
int iEG = 0; iEG <
int(egammaVec.size()); iEG++) {
313 egammas->push_back(2, egammaVec[iEG]);
334 for (
int iTau = 0; iTau <
int(tauVec.size()); iTau++) {
335 taus->push_back(2, tauVec[iTau]);
356 for (
int iJet = 0; iJet <
int(jetVec.size()); iJet++) {
357 jets->push_back(2, jetVec[iJet]);
378 for (
int iETsum = 0; iETsum <
int(etsumVec.size()); iETsum++) {
379 etsums->push_back(2, etsumVec[iETsum]);
References l1GtPatternGenerator_cfi::bx, simCaloStage2Layer1Digis_cfi::bxFirst, simCaloStage2Layer1Digis_cfi::bxLast, unpackData-CaloStage1::egToken, iEvent, HLT_2018_cff::inputJets, calomuons_cfi::inputMuons, createfilelist::int, metsig::jet, singleTopDQM_cfi::jets, unpackData-CaloStage1::jetToken, LogDebug, LogTrace, eostools::move(), amptDefaultParameters_cff::mu, PDWG_BPHSkim_cff::muons, metsig::tau, Tau3MuMonitor_cff::taus, and unpackData-CaloStage1::tauToken.