CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
L1TMuonOverlapPhase1TrackProducer.cc File Reference
#include "L1Trigger/L1TMuonOverlapPhase1/plugins/L1TMuonOverlapPhase1TrackProducer.h"
#include "FWCore/Framework/interface/EDConsumerBase.h"
#include "FWCore/Framework/interface/ProductRegistryHelper.h"
#include "FWCore/PluginManager/interface/PluginFactory.h"
#include "FWCore/Utilities/interface/EDGetToken.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "SimDataFormats/Track/interface/SimTrackContainer.h"
#include "SimDataFormats/Vertex/interface/SimVertexContainer.h"
#include "SimDataFormats/TrackingAnalysis/interface/TrackingParticleFwd.h"
#include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
#include "DataFormats/Common/interface/DetSetVector.h"
#include "SimDataFormats/RPCDigiSimLink/interface/RPCDigiSimLink.h"
#include "SimDataFormats/TrackerDigiSimLink/interface/StripDigiSimLink.h"
#include "DataFormats/MuonData/interface/MuonDigiCollection.h"
#include "SimDataFormats/DigiSimLinks/interface/DTDigiSimLink.h"
#include "DataFormats/MuonDetId/interface/DTLayerId.h"
#include <algorithm>
#include <iostream>
#include <memory>
#include "FWCore/Framework/interface/MakerMacros.h"

Go to the source code of this file.

Functions

 magneticFieldEsToken (esConsumes< MagneticField, IdealMagneticFieldRecord, edm::Transition::BeginRun >())
 
 muonGeometryTokens ({esConsumes< RPCGeometry, MuonGeometryRecord, edm::Transition::BeginRun >(), esConsumes< CSCGeometry, MuonGeometryRecord, edm::Transition::BeginRun >(), esConsumes< DTGeometry, MuonGeometryRecord, edm::Transition::BeginRun >()})
 
 omtfParamsEsToken (esConsumes< L1TMuonOverlapParams, L1TMuonOverlapParamsRcd, edm::Transition::BeginRun >())
 
 omtfReconstruction (edmParameterSet, muStubsInputTokens)
 
 propagatorEsToken (esConsumes< Propagator, TrackingComponentsRecord, edm::Transition::BeginRun >(edm::ESInputTag("","SteppingHelixPropagatorAlong")))
 
static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< L1TMuonOverlapPhase1TrackProducer > > 
s_filler__LINE__ ("L1TMuonOverlapPhase1TrackProducer")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker
< L1TMuonOverlapPhase1TrackProducer > > 
s_maker__LINE__ ("L1TMuonOverlapPhase1TrackProducer")
 

Function Documentation

magneticFieldEsToken ( esConsumes< MagneticField, IdealMagneticFieldRecord, edm::Transition::BeginRun ())
omtfParamsEsToken ( esConsumes< L1TMuonOverlapParams, L1TMuonOverlapParamsRcd, edm::Transition::BeginRun ())
omtfReconstruction ( edmParameterSet  ,
muStubsInputTokens   
)

Definition at line 38 of file L1TMuonOverlapPhase1TrackProducer.cc.

38  {
39  produces<l1t::RegionalMuonCandBxCollection>("OMTF");
40 
41  if (edmParameterSet.exists("simTracksTag"))
42  mayConsume<edm::SimTrackContainer>(edmParameterSet.getParameter<edm::InputTag>("simTracksTag"));
43  if (edmParameterSet.exists("simVertexesTag"))
44  mayConsume<edm::SimVertexContainer>(edmParameterSet.getParameter<edm::InputTag>("simVertexesTag"));
45  if (edmParameterSet.exists("trackingParticleTag"))
46  mayConsume<TrackingParticleCollection>(edmParameterSet.getParameter<edm::InputTag>("trackingParticleTag"));
47 
48  if (edmParameterSet.exists("rpcSimHitsInputTag"))
49  mayConsume<edm::PSimHitContainer>(edmParameterSet.getParameter<edm::InputTag>("rpcSimHitsInputTag"));
50  if (edmParameterSet.exists("cscSimHitsInputTag"))
51  mayConsume<edm::PSimHitContainer>(edmParameterSet.getParameter<edm::InputTag>("cscSimHitsInputTag"));
52  if (edmParameterSet.exists("dtSimHitsInputTag"))
53  mayConsume<edm::PSimHitContainer>(edmParameterSet.getParameter<edm::InputTag>("dtSimHitsInputTag"));
54 
55  if (edmParameterSet.exists("rpcDigiSimLinkInputTag"))
57  edmParameterSet.getParameter<edm::InputTag>("rpcDigiSimLinkInputTag"));
58  if (edmParameterSet.exists("cscStripDigiSimLinksInputTag"))
60  edmParameterSet.getParameter<edm::InputTag>("cscStripDigiSimLinksInputTag"));
61  if (edmParameterSet.exists("dtDigiSimLinksInputTag"))
63  edmParameterSet.getParameter<edm::InputTag>("dtDigiSimLinksInputTag"));
64 }
A container for a generic type of digis indexed by some index, implemented with a map&lt;IndexType...
propagatorEsToken ( esConsumes< Propagator, TrackingComponentsRecord, edm::Transition::BeginRun edm::ESInputTag("","SteppingHelixPropagatorAlong"))
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< L1TMuonOverlapPhase1TrackProducer > > s_filler__LINE__ ( "L1TMuonOverlapPhase1TrackProducer"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< L1TMuonOverlapPhase1TrackProducer > > s_maker__LINE__ ( "L1TMuonOverlapPhase1TrackProducer"  )
static