CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions | Variables
DTTrigPhase2Prod.cc File Reference
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Utilities/interface/ESGetToken.h"
#include "FWCore/Framework/interface/ModuleFactory.h"
#include "FWCore/Framework/interface/ESProducer.h"
#include "FWCore/Framework/interface/ESProducts.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/Run.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Geometry/Records/interface/MuonGeometryRecord.h"
#include "Geometry/DTGeometry/interface/DTGeometry.h"
#include "Geometry/DTGeometry/interface/DTLayer.h"
#include "L1Trigger/DTTriggerPhase2/interface/MuonPath.h"
#include "L1Trigger/DTTriggerPhase2/interface/constants.h"
#include "L1Trigger/DTTriggerPhase2/interface/MotherGrouping.h"
#include "L1Trigger/DTTriggerPhase2/interface/InitialGrouping.h"
#include "L1Trigger/DTTriggerPhase2/interface/HoughGrouping.h"
#include "L1Trigger/DTTriggerPhase2/interface/PseudoBayesGrouping.h"
#include "L1Trigger/DTTriggerPhase2/interface/MuonPathAnalyzer.h"
#include "L1Trigger/DTTriggerPhase2/interface/MuonPathAnalyticAnalyzer.h"
#include "L1Trigger/DTTriggerPhase2/interface/MuonPathAnalyzerInChamber.h"
#include "L1Trigger/DTTriggerPhase2/interface/MuonPathAssociator.h"
#include "L1Trigger/DTTriggerPhase2/interface/MPFilter.h"
#include "L1Trigger/DTTriggerPhase2/interface/MPQualityEnhancerFilter.h"
#include "L1Trigger/DTTriggerPhase2/interface/MPRedundantFilter.h"
#include "L1Trigger/DTTriggerPhase2/interface/GlobalCoordsObtainer.h"
#include "DataFormats/MuonDetId/interface/DTChamberId.h"
#include "DataFormats/MuonDetId/interface/DTSuperLayerId.h"
#include "DataFormats/MuonDetId/interface/DTLayerId.h"
#include "DataFormats/MuonDetId/interface/DTWireId.h"
#include "DataFormats/DTDigi/interface/DTDigiCollection.h"
#include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTPhContainer.h"
#include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTPhDigi.h"
#include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTExtPhContainer.h"
#include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTExtPhDigi.h"
#include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTThContainer.h"
#include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTThDigi.h"
#include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTExtThContainer.h"
#include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTExtThDigi.h"
#include "DQM/DTMonitorModule/interface/DTTrigGeomUtils.h"
#include "DataFormats/RPCRecHit/interface/RPCRecHitCollection.h"
#include <DataFormats/MuonDetId/interface/RPCDetId.h>
#include "Geometry/RPCGeometry/interface/RPCGeometry.h"
#include "L1Trigger/DTTriggerPhase2/interface/RPCIntegrator.h"
#include <fstream>
#include <iostream>
#include <queue>
#include <cmath>

Go to the source code of this file.

Classes

class  DTTrigPhase2Prod
 

Functions

globalcoordsobtainer_ generate_luts ()
 
 if (algo_==PseudoBayes)
 
 produces< L1Phase2MuDTExtPhContainer > ()
 
 produces< L1Phase2MuDTExtThContainer > ()
 
 produces< L1Phase2MuDTThContainer > ()
 
static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< DTTrigPhase2Prod > > 
s_filler__LINE__ ("DTTrigPhase2Prod")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker
< DTTrigPhase2Prod > > 
s_maker__LINE__ ("DTTrigPhase2Prod")
 

Variables

 activateBuffer_ = pset.getParameter<bool>("activateBuffer")
 
 algo_ = pset.getParameter<int>("algo")
 
edm::ConsumesCollector consumesColl (consumesCollector())
 
 debug_ = pset.getUntrackedParameter<bool>("debug")
 
 df_extended_ = pset.getParameter<int>("df_extended")
 
 do_correlation_ = pset.getParameter<bool>("do_correlation")
 
 dtDigisToken_ = consumes<DTDigiCollection>(pset.getParameter<edm::InputTag>("digiTag"))
 
 dtGeomH = esConsumes<DTGeometry, MuonGeometryRecord, edm::Transition::BeginRun>()
 
 dump_ = pset.getUntrackedParameter<bool>("dump")
 
 else
 
 geometry_tag_ = pset.getUntrackedParameter<std::string>("geometry_tag", "")
 
 globalcoordsobtainer_ = std::make_shared<GlobalCoordsObtainer>(pset)
 
 mpathanalyzer_ = std::make_unique<MuonPathAnalyzerInChamber>(pset, consumesColl, globalcoordsobtainer_)
 
 mpathassociator_ = std::make_unique<MuonPathAssociator>(pset, consumesColl, globalcoordsobtainer_)
 
 mpathqualityenhancer_ = std::make_unique<MPQualityEnhancerFilter>(pset)
 
 mpathredundantfilter_ = std::make_unique<MPRedundantFilter>(pset)
 
 rpc_integrator_ = std::make_unique<RPCIntegrator>(pset, consumesColl)
 
 rpcRecHitsLabel_ = consumes<RPCRecHitCollection>(pset.getParameter<edm::InputTag>("rpcRecHits"))
 
 scenario_ = pset.getParameter<int>("scenario")
 
 superCellhalfspacewidth_ = pset.getParameter<int>("superCellspacewidth") / 2
 
 superCelltimewidth_ = pset.getParameter<double>("superCelltimewidth")
 
 useRPC_ = pset.getParameter<bool>("useRPC")
 

Function Documentation

globalcoordsobtainer_ generate_luts ( )
if ( algo_  = = PseudoBayes)

Definition at line 198 of file DTTrigPhase2Prod.cc.

References consumesColl, and TrackValidation_cff::pset.

198  {
199  grouping_obj_ =
200  std::make_unique<PseudoBayesGrouping>(pset.getParameter<edm::ParameterSet>("PseudoBayesPattern"), consumesColl);
201  } else if (algo_ == HoughTrans) {
edm::ConsumesCollector consumesColl(consumesCollector())
produces< L1Phase2MuDTExtPhContainer > ( )
produces< L1Phase2MuDTExtThContainer > ( )
produces< L1Phase2MuDTThContainer > ( )
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< DTTrigPhase2Prod > > s_filler__LINE__ ( "DTTrigPhase2Prod"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< DTTrigPhase2Prod > > s_maker__LINE__ ( "DTTrigPhase2Prod"  )
static

Variable Documentation

activateBuffer_ = pset.getParameter<bool>("activateBuffer")

Definition at line 219 of file DTTrigPhase2Prod.cc.

algo_ = pset.getParameter<int>("algo")
edm::ConsumesCollector consumesColl(consumesCollector())
debug_ = pset.getUntrackedParameter<bool>("debug")

Definition at line 175 of file DTTrigPhase2Prod.cc.

Referenced by ESFEDIntegrityTask::analyze(), DTTPGParamsWriter::analyze(), HLTInclusiveVBFSource::analyze(), HoughGrouping::areThereEnoughHits(), HoughGrouping::associateHits(), EcalDeadCellTriggerPrimitiveFilter::beginRun(), EcalDeadCellTriggerPrimitiveFilter::beginStream(), HLTInclusiveVBFSource::bookHistograms(), CaloTowerAnalyzer::CaloTowerAnalyzer(), DEcompare< T >::CompareCollections(), SimpleZSPJPTJetCorrector::correctionEtEtaPhiP(), SimpleZSPJPTJetCorrector::correctionPUEtEtaPhiP(), MuonPathAssociator::correlateMPaths(), DEcompare< T >::do_compare(), HoughGrouping::doHoughTransform(), DTTPGParamsWriter::DTTPGParamsWriter(), DTTPGParamsWriter::endJob(), EcalDeadCellTriggerPrimitiveFilter::envSet(), ESFEDIntegrityTask::ESFEDIntegrityTask(), EcalDeadCellTriggerPrimitiveFilter::filter(), HoughGrouping::findTheMaxima(), HoughGrouping::finish(), MuonPathAssociator::finish(), HoughGrouping::getAveragePoint(), HoughGrouping::getMaximaVector(), PhotonMIPHaloTagger::GetMipTrailFit(), PhotonMIPHaloTagger::GetSeedHighestE(), HoughGrouping::getTwoDelta(), HLTInclusiveVBFSource::HLTInclusiveVBFSource(), HoughGrouping::initialise(), MuonPathAssociator::initialise(), MotherGrouping::MotherGrouping(), MPFilter::MPFilter(), MuonPathAnalyzer::MuonPathAnalyzer(), MuonPathAssociator::MuonPathAssociator(), HoughGrouping::obtainGeometricalBorders(), DQMNet::onMessage(), DQMNet::onPeerConnect(), DQMNet::onPeerData(), HoughGrouping::orderAndFilter(), pca_(), PFBlockProducer::PFBlockProducer(), MuonPathAssociator::removeSharingFits(), MuonPathAssociator::removeSharingHits(), HoughGrouping::resetAttributes(), HoughGrouping::resetPosElementsOfLinespace(), HoughGrouping::run(), HoughGrouping::setDifferenceBetweenSL(), EcalDeadCellTriggerPrimitiveFilter::setEvtRecHitstatus(), EcalDeadCellTriggerPrimitiveFilter::setEvtTPstatus(), SimpleZSPJPTJetCorrector::SimpleZSPJPTJetCorrector(), DEcompare< T >::SortCollections(), HoughGrouping::transformPair(), DQMNet::updateMask(), DTTPGParamsWriter::~DTTPGParamsWriter(), HoughGrouping::~HoughGrouping(), and MuonPathAssociator::~MuonPathAssociator().

df_extended_ = pset.getParameter<int>("df_extended")

Definition at line 181 of file DTTrigPhase2Prod.cc.

do_correlation_ = pset.getParameter<bool>("do_correlation")

Definition at line 178 of file DTTrigPhase2Prod.cc.

dtDigisToken_ = consumes<DTDigiCollection>(pset.getParameter<edm::InputTag>("digiTag"))

Definition at line 183 of file DTTrigPhase2Prod.cc.

dump_ = pset.getUntrackedParameter<bool>("dump")
else
Initial value:
{
grouping_obj_ = std::make_unique<InitialGrouping>(pset, consumesColl)
edm::ConsumesCollector consumesColl(consumesCollector())

Definition at line 204 of file DTTrigPhase2Prod.cc.

geometry_tag_ = pset.getUntrackedParameter<std::string>("geometry_tag", "")
globalcoordsobtainer_ = std::make_shared<GlobalCoordsObtainer>(pset)
mpathanalyzer_ = std::make_unique<MuonPathAnalyzerInChamber>(pset, consumesColl, globalcoordsobtainer_)

Definition at line 215 of file DTTrigPhase2Prod.cc.

mpathassociator_ = std::make_unique<MuonPathAssociator>(pset, consumesColl, globalcoordsobtainer_)

Definition at line 225 of file DTTrigPhase2Prod.cc.

mpathqualityenhancer_ = std::make_unique<MPQualityEnhancerFilter>(pset)

Definition at line 223 of file DTTrigPhase2Prod.cc.

mpathredundantfilter_ = std::make_unique<MPRedundantFilter>(pset)

Definition at line 224 of file DTTrigPhase2Prod.cc.

rpc_integrator_ = std::make_unique<RPCIntegrator>(pset, consumesColl)

Definition at line 226 of file DTTrigPhase2Prod.cc.

rpcRecHitsLabel_ = consumes<RPCRecHitCollection>(pset.getParameter<edm::InputTag>("rpcRecHits"))

Definition at line 185 of file DTTrigPhase2Prod.cc.

scenario_ = pset.getParameter<int>("scenario")

Definition at line 179 of file DTTrigPhase2Prod.cc.

superCellhalfspacewidth_ = pset.getParameter<int>("superCellspacewidth") / 2

Definition at line 220 of file DTTrigPhase2Prod.cc.

superCelltimewidth_ = pset.getParameter<double>("superCelltimewidth")

Definition at line 221 of file DTTrigPhase2Prod.cc.

useRPC_ = pset.getParameter<bool>("useRPC")

Definition at line 186 of file DTTrigPhase2Prod.cc.