CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
l1t::BXVectorInputProducer Class Reference
Inheritance diagram for l1t::BXVectorInputProducer:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 BXVectorInputProducer (const ParameterSet &)
 
 ~BXVectorInputProducer () override
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducer () 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
 
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)
 
 ~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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
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 const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
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)
 

Static Public Member Functions

static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 

Private Member Functions

void beginJob () override
 
void beginRun (Run const &iR, EventSetup const &iE) override
 
int convertEtaToHW (double ieta, double minEta, double maxEta, int steps)
 
int convertPhiToHW (double iphi, int steps)
 
int convertPtToHW (double ipt, int maxPt, double step)
 
void endJob () override
 
void endRun (Run const &iR, EventSetup const &iE) override
 
void produce (Event &, EventSetup const &) override
 

Private Attributes

int bxFirst_
 
int bxLast_
 
int counter_
 
std::vector< l1t::EGammaegammaVec_bx0
 
std::vector< l1t::EGammaegammaVec_bxm1
 
std::vector< l1t::EGammaegammaVec_bxm2
 
std::vector< l1t::EGammaegammaVec_bxp1
 
double egEtThreshold_
 
edm::EDGetToken egToken
 
int emptyBxEvt_
 
int emptyBxTrailer_
 
edm::EDGetToken etsumToken
 
std::vector< l1t::EtSumetsumVec_bx0
 
std::vector< l1t::EtSumetsumVec_bxm1
 
std::vector< l1t::EtSumetsumVec_bxm2
 
std::vector< l1t::EtSumetsumVec_bxp1
 
int eventCnt_
 
double jetEtThreshold_
 
edm::EDGetToken jetToken
 
std::vector< l1t::JetjetVec_bx0
 
std::vector< l1t::JetjetVec_bxm1
 
std::vector< l1t::JetjetVec_bxm2
 
std::vector< l1t::JetjetVec_bxp1
 
unsigned long long m_paramsCacheId
 
unsigned int maxNumEGCands_
 
unsigned int maxNumJetCands_
 
unsigned int maxNumMuCands_
 
unsigned int maxNumTauCands_
 
double muEtThreshold_
 
std::vector< l1t::MuonmuonVec_bx0
 
std::vector< l1t::MuonmuonVec_bxm1
 
std::vector< l1t::MuonmuonVec_bxm2
 
std::vector< l1t::MuonmuonVec_bxp1
 
edm::EDGetToken muToken
 
double tauEtThreshold_
 
edm::EDGetToken tauToken
 
std::vector< l1t::TautauVec_bx0
 
std::vector< l1t::TautauVec_bxm1
 
std::vector< l1t::TautauVec_bxm2
 
std::vector< l1t::TautauVec_bxp1
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer 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
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
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<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)
 

Detailed Description

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 60 of file BXVectorInputProducer.cc.

Constructor & Destructor Documentation

l1t::BXVectorInputProducer::BXVectorInputProducer ( const ParameterSet iConfig)
explicit

Definition at line 142 of file BXVectorInputProducer.cc.

References edm::ParameterSet::getParameter().

143  {
144 
145  egToken = consumes<BXVector<l1t::EGamma>>(iConfig.getParameter<InputTag>("egInputTag"));
146  muToken = consumes<BXVector<l1t::Muon>>(iConfig.getParameter<InputTag>("muInputTag"));
147  tauToken = consumes<BXVector<l1t::Tau>>(iConfig.getParameter<InputTag>("tauInputTag"));
148  jetToken = consumes<BXVector<l1t::Jet>>(iConfig.getParameter<InputTag>("jetInputTag"));
149  etsumToken = consumes<BXVector<l1t::EtSum>>(iConfig.getParameter<InputTag>("etsumInputTag"));
150 
151  // register what you produce
152  produces<BXVector<l1t::EGamma>>();
153  produces<BXVector<l1t::Muon>>();
154  produces<BXVector<l1t::Tau>>();
155  produces<BXVector<l1t::Jet>>();
156  produces<BXVector<l1t::EtSum>>();
157 
158  // Setup parameters
159  bxFirst_ = iConfig.getParameter<int>("bxFirst");
160  bxLast_ = iConfig.getParameter<int>("bxLast");
161 
162  maxNumMuCands_ = iConfig.getParameter<unsigned int>("maxMuCand");
163  maxNumJetCands_ = iConfig.getParameter<unsigned int>("maxJetCand");
164  maxNumEGCands_ = iConfig.getParameter<unsigned int>("maxEGCand");
165  maxNumTauCands_ = iConfig.getParameter<unsigned int>("maxTauCand");
166 
167  jetEtThreshold_ = iConfig.getParameter<double>("jetEtThreshold");
168  tauEtThreshold_ = iConfig.getParameter<double>("tauEtThreshold");
169  egEtThreshold_ = iConfig.getParameter<double>("egEtThreshold");
170  muEtThreshold_ = iConfig.getParameter<double>("muEtThreshold");
171 
172 
173  emptyBxTrailer_ = iConfig.getParameter<int>("emptyBxTrailer");
174  emptyBxEvt_ = iConfig.getParameter<int>("emptyBxEvt");
175 
176 
177  // set cache id to zero, will be set at first beginRun:
178  m_paramsCacheId = 0;
179  eventCnt_ = 0;
180  }
T getParameter(std::string const &) const
l1t::BXVectorInputProducer::~BXVectorInputProducer ( )
override

Definition at line 183 of file BXVectorInputProducer.cc.

184  {
185  }

Member Function Documentation

void l1t::BXVectorInputProducer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDProducer.

Definition at line 460 of file BXVectorInputProducer.cc.

461 {
462 }
void l1t::BXVectorInputProducer::beginRun ( Run const &  iR,
EventSetup const &  iE 
)
overrideprivatevirtual

Reimplemented from edm::EDProducer.

Definition at line 471 of file BXVectorInputProducer.cc.

References LogDebug.

471  {
472 
473  LogDebug("l1t|Global") << "BXVectorInputProducer::beginRun function called...\n";
474 
475  counter_ = 0;
476 }
#define LogDebug(id)
int l1t::BXVectorInputProducer::convertEtaToHW ( double  ieta,
double  minEta,
double  maxEta,
int  steps 
)
private

Definition at line 495 of file BXVectorInputProducer.cc.

References createfilelist::int, and trackingPOGFilters_cfi::minEta.

495  {
496 
497  double binWidth = (maxEta - minEta)/steps;
498 
499  //if we are outside the limits, set error
500  if(ieta < minEta) return 99999;//ieta = minEta+binWidth/2.;
501  if(ieta > maxEta) return 99999;//ieta = maxEta-binWidth/2.;
502 
503  int binNum = (int)(ieta/binWidth);
504  if(ieta<0.) binNum--;
505 
506 // unsigned int hwEta = binNum & bitMask;
507 // Remove masking for BXVectors...only assume in raw data
508 
509  return binNum;
510 }
double maxEta
int l1t::BXVectorInputProducer::convertPhiToHW ( double  iphi,
int  steps 
)
private

Definition at line 485 of file BXVectorInputProducer.cc.

References createfilelist::int, M_PI, and AlignmentTrackSelector_cfi::phiMax.

485  {
486 
487  double phiMax = 2 * M_PI;
488  if( iphi < 0 ) iphi += 2*M_PI;
489  if( iphi > phiMax) iphi -= phiMax;
490 
491  int hwPhi = int( (iphi/phiMax)*steps + 0.00001 );
492  return hwPhi;
493 }
#define M_PI
int l1t::BXVectorInputProducer::convertPtToHW ( double  ipt,
int  maxPt,
double  step 
)
private

Definition at line 512 of file BXVectorInputProducer.cc.

References createfilelist::int, and MuonErrorMatrixAnalyzer_cfi::maxPt.

512  {
513 
514  int hwPt = int( ipt/step + 0.0001 );
515  // if above max Pt, set to largest value
516  if( hwPt > maxPt ) hwPt = maxPt;
517 
518  return hwPt;
519 }
step
Definition: StallMonitor.cc:94
void l1t::BXVectorInputProducer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDProducer.

Definition at line 466 of file BXVectorInputProducer.cc.

466  {
467 }
void l1t::BXVectorInputProducer::endRun ( Run const &  iR,
EventSetup const &  iE 
)
overrideprivatevirtual

Reimplemented from edm::EDProducer.

Definition at line 479 of file BXVectorInputProducer.cc.

479  {
480 
481 }
void l1t::BXVectorInputProducer::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 524 of file BXVectorInputProducer.cc.

References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().

524  {
525  //The following says we do not know what parameters are allowed so do no validation
526  // Please change this to state exactly what you do use, even if it is no parameters
528  desc.setUnknown();
529  descriptions.addDefault(desc);
530 }
void addDefault(ParameterSetDescription const &psetDescription)
void l1t::BXVectorInputProducer::produce ( Event ,
EventSetup const &   
)
overrideprivatevirtual

Implements edm::EDProducer.

Definition at line 195 of file BXVectorInputProducer.cc.

References edm::Event::getByToken(), JetEnergyShift_cfi::inputJets, calomuons_cfi::inputMuons, createfilelist::int, metsig::jet, fwrapper::jets, LogDebug, LogTrace, eostools::move(), RPCpg::mu, extraflags_cff::muons, edm::Event::put(), metsig::tau, and nano_cff::taus.

196 {
197 
198  eventCnt_++;
199 
200  LogDebug("l1t|Global") << "BXVectorInputProducer::produce function called...\n";
201 
202  // Setup vectors
203  std::vector<l1t::Muon> muonVec;
204  std::vector<l1t::EGamma> egammaVec;
205  std::vector<l1t::Tau> tauVec;
206  std::vector<l1t::Jet> jetVec;
207  std::vector<l1t::EtSum> etsumVec;
208 
209  // Set the range of BX....TO DO...move to Params or determine from param set.
210  int bxFirst = bxFirst_;
211  int bxLast = bxLast_;
212 
213  //outputs
214  std::unique_ptr<l1t::EGammaBxCollection> egammas (new l1t::EGammaBxCollection(0, bxFirst, bxLast));
215  std::unique_ptr<l1t::MuonBxCollection> muons (new l1t::MuonBxCollection(0, bxFirst, bxLast));
216  std::unique_ptr<l1t::TauBxCollection> taus (new l1t::TauBxCollection(0, bxFirst, bxLast));
217  std::unique_ptr<l1t::JetBxCollection> jets (new l1t::JetBxCollection(0, bxFirst, bxLast));
218  std::unique_ptr<l1t::EtSumBxCollection> etsums (new l1t::EtSumBxCollection(0, bxFirst, bxLast));
219 
220  std::vector<int> mu_cands_index;
221  std::vector<int> eg_cands_index;
222  std::vector<int> tau_cands_index;
223 
224 
225  // Bx to use...grab only bx=0 for now
226  int bx=0;
227 
228  // Make sure that you can get input EG
229  Handle<BXVector<l1t::EGamma>> inputEgammas;
230  if( iEvent.getByToken(egToken, inputEgammas) ){
231 
232  for(std::vector<l1t::EGamma>::const_iterator eg = inputEgammas->begin(bx); eg != inputEgammas->end(bx); ++eg) {
233 
234  if(eg->hwPt()>egEtThreshold_ && egammaVec.size() < maxNumEGCands_ ) {
235  egammaVec.push_back((*eg));
236  }
237 
238  }
239  }
240  else {
241  LogTrace("l1t|Global") << ">>> input EG collection not found!" << std::endl;
242  }
243 
244  // Make sure that you can get input Muons
246  if( iEvent.getByToken(muToken,inputMuons) ){
247 
248  for(std::vector<l1t::Muon>::const_iterator mu = inputMuons->begin(bx); mu != inputMuons->end(bx); ++mu) {
249 
250  if(mu->hwPt()>muEtThreshold_ && muonVec.size() < maxNumMuCands_ ) {
251  muonVec.push_back((*mu));
252  }
253 
254  }
255  }
256  else {
257  LogTrace("l1t|Global") << ">>> input Mu collection not found!" << std::endl;
258  }
259 
260 
261  // Make sure that you can get input Tau
262  Handle<BXVector<l1t::Tau>> inputTaus;
263  if( iEvent.getByToken(tauToken, inputTaus) ){
264 
265  for(std::vector<l1t::Tau>::const_iterator tau = inputTaus->begin(bx); tau != inputTaus->end(bx); ++tau) {
266 
267  if(tau->hwPt()>tauEtThreshold_ && tauVec.size() < maxNumTauCands_ ) {
268  tauVec.push_back((*tau));
269  }
270 
271  }
272  }
273  else {
274  LogTrace("l1t|Global") << ">>> input tau collection not found!" << std::endl;
275  }
276 
277 
278  // Make sure that you can get input jet
280  if( iEvent.getByToken(jetToken, inputJets) ){
281 
282  for(std::vector<l1t::Jet>::const_iterator jet = inputJets->begin(bx); jet != inputJets->end(bx); ++jet) {
283 
284  if(jet->hwPt()>jetEtThreshold_ && jetVec.size() < maxNumJetCands_ ) {
285  jetVec.push_back((*jet));
286  }
287 
288  }
289  }
290  else {
291  LogTrace("l1t|Global") << ">>> input jet collection not found!" << std::endl;
292  }
293 
294 
295  // Make sure that you can get input etsum
296  Handle<BXVector<l1t::EtSum>> inputEtsums;
297  if( iEvent.getByToken(etsumToken, inputEtsums) ){
298 
299  for(std::vector<l1t::EtSum>::const_iterator etsum = inputEtsums->begin(bx); etsum != inputEtsums->end(bx); ++etsum) {
300 
301  etsumVec.push_back((*etsum));
302 
303  }
304  }
305  else {
306  LogTrace("l1t|Global") << ">>> input etsum collection not found!" << std::endl;
307  }
308 
309 
310  // Insert all the bx into the L1 Collections
311  LogTrace("l1t|Global") << "Event " << eventCnt_ << " EmptyBxEvt " << emptyBxEvt_ << " emptyBxTrailer " << emptyBxTrailer_ << " diff " << (emptyBxEvt_ - eventCnt_) << std::endl;
312 
313 
314  // Fill Muons
315  for( int iMu=0; iMu<int(muonVec_bxm2.size()); iMu++ ){
316  muons->push_back(-2, muonVec_bxm2[iMu]);
317  }
318  for( int iMu=0; iMu<int(muonVec_bxm1.size()); iMu++ ){
319  muons->push_back(-1, muonVec_bxm1[iMu]);
320  }
321  for( int iMu=0; iMu<int(muonVec_bx0.size()); iMu++ ){
322  muons->push_back(0, muonVec_bx0[iMu]);
323  }
324  for( int iMu=0; iMu<int(muonVec_bxp1.size()); iMu++ ){
325  muons->push_back(1, muonVec_bxp1[iMu]);
326  }
328  for( int iMu=0; iMu<int(muonVec.size()); iMu++ ){
329  muons->push_back(2, muonVec[iMu]);
330  }
331  } else {
332  // this event is part of empty trailer...clear out data
333  muonVec.clear();
334  }
335 
336  // Fill Egammas
337  for( int iEG=0; iEG<int(egammaVec_bxm2.size()); iEG++ ){
338  egammas->push_back(-2, egammaVec_bxm2[iEG]);
339  }
340  for( int iEG=0; iEG<int(egammaVec_bxm1.size()); iEG++ ){
341  egammas->push_back(-1, egammaVec_bxm1[iEG]);
342  }
343  for( int iEG=0; iEG<int(egammaVec_bx0.size()); iEG++ ){
344  egammas->push_back(0, egammaVec_bx0[iEG]);
345  }
346  for( int iEG=0; iEG<int(egammaVec_bxp1.size()); iEG++ ){
347  egammas->push_back(1, egammaVec_bxp1[iEG]);
348  }
350  for( int iEG=0; iEG<int(egammaVec.size()); iEG++ ){
351  egammas->push_back(2, egammaVec[iEG]);
352  }
353  } else {
354  // this event is part of empty trailer...clear out data
355  egammaVec.clear();
356  }
357 
358  // Fill Taus
359  for( int iTau=0; iTau<int(tauVec_bxm2.size()); iTau++ ){
360  taus->push_back(-2, tauVec_bxm2[iTau]);
361  }
362  for( int iTau=0; iTau<int(tauVec_bxm1.size()); iTau++ ){
363  taus->push_back(-1, tauVec_bxm1[iTau]);
364  }
365  for( int iTau=0; iTau<int(tauVec_bx0.size()); iTau++ ){
366  taus->push_back(0, tauVec_bx0[iTau]);
367  }
368  for( int iTau=0; iTau<int(tauVec_bxp1.size()); iTau++ ){
369  taus->push_back(1, tauVec_bxp1[iTau]);
370  }
372  for( int iTau=0; iTau<int(tauVec.size()); iTau++ ){
373  taus->push_back(2, tauVec[iTau]);
374  }
375  } else {
376  // this event is part of empty trailer...clear out data
377  tauVec.clear();
378  }
379 
380  // Fill Jets
381  for( int iJet=0; iJet<int(jetVec_bxm2.size()); iJet++ ){
382  jets->push_back(-2, jetVec_bxm2[iJet]);
383  }
384  for( int iJet=0; iJet<int(jetVec_bxm1.size()); iJet++ ){
385  jets->push_back(-1, jetVec_bxm1[iJet]);
386  }
387  for( int iJet=0; iJet<int(jetVec_bx0.size()); iJet++ ){
388  jets->push_back(0, jetVec_bx0[iJet]);
389  }
390  for( int iJet=0; iJet<int(jetVec_bxp1.size()); iJet++ ){
391  jets->push_back(1, jetVec_bxp1[iJet]);
392  }
394  for( int iJet=0; iJet<int(jetVec.size()); iJet++ ){
395  jets->push_back(2, jetVec[iJet]);
396  }
397  } else {
398  // this event is part of empty trailer...clear out data
399  jetVec.clear();
400  }
401 
402  // Fill Etsums
403  for( int iETsum=0; iETsum<int(etsumVec_bxm2.size()); iETsum++ ){
404  etsums->push_back(-2, etsumVec_bxm2[iETsum]);
405  }
406  for( int iETsum=0; iETsum<int(etsumVec_bxm1.size()); iETsum++ ){
407  etsums->push_back(-1, etsumVec_bxm1[iETsum]);
408  }
409  for( int iETsum=0; iETsum<int(etsumVec_bx0.size()); iETsum++ ){
410  etsums->push_back(0, etsumVec_bx0[iETsum]);
411  }
412  for( int iETsum=0; iETsum<int(etsumVec_bxp1.size()); iETsum++ ){
413  etsums->push_back(1, etsumVec_bxp1[iETsum]);
414  }
416  for( int iETsum=0; iETsum<int(etsumVec.size()); iETsum++ ){
417  etsums->push_back(2, etsumVec[iETsum]);
418  }
419  } else {
420  // this event is part of empty trailer...clear out data
421  etsumVec.clear();
422  }
423 
424 
425  iEvent.put(std::move(egammas));
426  iEvent.put(std::move(muons));
427  iEvent.put(std::move(taus));
428  iEvent.put(std::move(jets));
429  iEvent.put(std::move(etsums));
430 
431  // Now shift the bx data by one to prepare for next event.
437 
443 
449 
450  muonVec_bxp1 = muonVec;
451  egammaVec_bxp1 = egammaVec;
452  tauVec_bxp1 = tauVec;
453  jetVec_bxp1 = jetVec;
454  etsumVec_bxp1 = etsumVec;
455 
456 }
#define LogDebug(id)
std::vector< l1t::Jet > jetVec_bxp1
std::vector< l1t::Muon > muonVec_bx0
std::vector< l1t::EGamma > egammaVec_bxm1
std::vector< l1t::EtSum > etsumVec_bxm2
std::vector< l1t::EGamma > egammaVec_bxp1
std::vector< l1t::Jet > jetVec_bx0
std::vector< l1t::EGamma > egammaVec_bxm2
std::vector< l1t::Jet > jetVec_bxm2
std::vector< l1t::Tau > tauVec_bxm2
std::vector< l1t::EtSum > etsumVec_bx0
std::vector< l1t::Jet > jetVec_bxm1
int iEvent
Definition: GenABIO.cc:224
std::vector< l1t::Tau > tauVec_bxm1
std::vector< l1t::EtSum > etsumVec_bxm1
std::vector< l1t::Muon > muonVec_bxp1
std::vector< l1t::Tau > tauVec_bx0
vector< PseudoJet > jets
std::vector< l1t::EGamma > egammaVec_bx0
const int mu
Definition: Constants.h:22
#define LogTrace(id)
std::vector< l1t::EtSum > etsumVec_bxp1
std::vector< l1t::Muon > muonVec_bxm1
std::vector< l1t::Muon > muonVec_bxm2
std::vector< l1t::Tau > tauVec_bxp1
def move(src, dest)
Definition: eostools.py:511

Member Data Documentation

int l1t::BXVectorInputProducer::bxFirst_
private

Definition at line 85 of file BXVectorInputProducer.cc.

int l1t::BXVectorInputProducer::bxLast_
private

Definition at line 86 of file BXVectorInputProducer.cc.

int l1t::BXVectorInputProducer::counter_
private

Definition at line 110 of file BXVectorInputProducer.cc.

std::vector<l1t::EGamma> l1t::BXVectorInputProducer::egammaVec_bx0
private

Definition at line 119 of file BXVectorInputProducer.cc.

std::vector<l1t::EGamma> l1t::BXVectorInputProducer::egammaVec_bxm1
private

Definition at line 118 of file BXVectorInputProducer.cc.

std::vector<l1t::EGamma> l1t::BXVectorInputProducer::egammaVec_bxm2
private

Definition at line 117 of file BXVectorInputProducer.cc.

std::vector<l1t::EGamma> l1t::BXVectorInputProducer::egammaVec_bxp1
private

Definition at line 120 of file BXVectorInputProducer.cc.

double l1t::BXVectorInputProducer::egEtThreshold_
private

Definition at line 95 of file BXVectorInputProducer.cc.

edm::EDGetToken l1t::BXVectorInputProducer::egToken
private

Definition at line 104 of file BXVectorInputProducer.cc.

int l1t::BXVectorInputProducer::emptyBxEvt_
private

Definition at line 100 of file BXVectorInputProducer.cc.

int l1t::BXVectorInputProducer::emptyBxTrailer_
private

Definition at line 99 of file BXVectorInputProducer.cc.

edm::EDGetToken l1t::BXVectorInputProducer::etsumToken
private

Definition at line 108 of file BXVectorInputProducer.cc.

std::vector<l1t::EtSum> l1t::BXVectorInputProducer::etsumVec_bx0
private

Definition at line 134 of file BXVectorInputProducer.cc.

std::vector<l1t::EtSum> l1t::BXVectorInputProducer::etsumVec_bxm1
private

Definition at line 133 of file BXVectorInputProducer.cc.

std::vector<l1t::EtSum> l1t::BXVectorInputProducer::etsumVec_bxm2
private

Definition at line 132 of file BXVectorInputProducer.cc.

std::vector<l1t::EtSum> l1t::BXVectorInputProducer::etsumVec_bxp1
private

Definition at line 135 of file BXVectorInputProducer.cc.

int l1t::BXVectorInputProducer::eventCnt_
private

Definition at line 101 of file BXVectorInputProducer.cc.

double l1t::BXVectorInputProducer::jetEtThreshold_
private

Definition at line 93 of file BXVectorInputProducer.cc.

edm::EDGetToken l1t::BXVectorInputProducer::jetToken
private

Definition at line 107 of file BXVectorInputProducer.cc.

std::vector<l1t::Jet> l1t::BXVectorInputProducer::jetVec_bx0
private

Definition at line 129 of file BXVectorInputProducer.cc.

std::vector<l1t::Jet> l1t::BXVectorInputProducer::jetVec_bxm1
private

Definition at line 128 of file BXVectorInputProducer.cc.

std::vector<l1t::Jet> l1t::BXVectorInputProducer::jetVec_bxm2
private

Definition at line 127 of file BXVectorInputProducer.cc.

std::vector<l1t::Jet> l1t::BXVectorInputProducer::jetVec_bxp1
private

Definition at line 130 of file BXVectorInputProducer.cc.

unsigned long long l1t::BXVectorInputProducer::m_paramsCacheId
private

Definition at line 79 of file BXVectorInputProducer.cc.

unsigned int l1t::BXVectorInputProducer::maxNumEGCands_
private

Definition at line 90 of file BXVectorInputProducer.cc.

unsigned int l1t::BXVectorInputProducer::maxNumJetCands_
private

Definition at line 89 of file BXVectorInputProducer.cc.

unsigned int l1t::BXVectorInputProducer::maxNumMuCands_
private

Definition at line 88 of file BXVectorInputProducer.cc.

unsigned int l1t::BXVectorInputProducer::maxNumTauCands_
private

Definition at line 91 of file BXVectorInputProducer.cc.

double l1t::BXVectorInputProducer::muEtThreshold_
private

Definition at line 96 of file BXVectorInputProducer.cc.

std::vector<l1t::Muon> l1t::BXVectorInputProducer::muonVec_bx0
private

Definition at line 114 of file BXVectorInputProducer.cc.

std::vector<l1t::Muon> l1t::BXVectorInputProducer::muonVec_bxm1
private

Definition at line 113 of file BXVectorInputProducer.cc.

std::vector<l1t::Muon> l1t::BXVectorInputProducer::muonVec_bxm2
private

Definition at line 112 of file BXVectorInputProducer.cc.

std::vector<l1t::Muon> l1t::BXVectorInputProducer::muonVec_bxp1
private

Definition at line 115 of file BXVectorInputProducer.cc.

edm::EDGetToken l1t::BXVectorInputProducer::muToken
private

Definition at line 105 of file BXVectorInputProducer.cc.

double l1t::BXVectorInputProducer::tauEtThreshold_
private

Definition at line 94 of file BXVectorInputProducer.cc.

edm::EDGetToken l1t::BXVectorInputProducer::tauToken
private

Definition at line 106 of file BXVectorInputProducer.cc.

std::vector<l1t::Tau> l1t::BXVectorInputProducer::tauVec_bx0
private

Definition at line 124 of file BXVectorInputProducer.cc.

std::vector<l1t::Tau> l1t::BXVectorInputProducer::tauVec_bxm1
private

Definition at line 123 of file BXVectorInputProducer.cc.

std::vector<l1t::Tau> l1t::BXVectorInputProducer::tauVec_bxm2
private

Definition at line 122 of file BXVectorInputProducer.cc.

std::vector<l1t::Tau> l1t::BXVectorInputProducer::tauVec_bxp1
private

Definition at line 125 of file BXVectorInputProducer.cc.