![]() |
![]() |
#include <L1TMuonOverlapTrackProducer.h>
Public Member Functions | |
virtual void | beginJob () |
virtual void | beginRun (edm::Run const &run, edm::EventSetup const &iSetup) |
virtual void | endJob () |
L1TMuonOverlapTrackProducer (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
~L1TMuonOverlapTrackProducer () | |
![]() | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
![]() | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
![]() | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | processCandidates (unsigned int iProcessor, int bx, std::auto_ptr< l1t::RegionalMuonCandBxCollection > &myCands, l1t::RegionalMuonCandBxCollection &myOTFCandidates, l1t::tftype mtfType) |
void | writeMergedGPs () |
Private Attributes | |
xercesc::DOMElement * | aTopElement |
bool | dumpDetailedResultToXML |
bool | dumpGPToXML |
bool | dumpResultToXML |
edm::EDGetTokenT < CSCCorrelatedLCTDigiCollection > | inputTokenCSC |
edm::EDGetTokenT < L1MuDTChambPhContainer > | inputTokenDTPh |
edm::EDGetTokenT < L1MuDTChambThContainer > | inputTokenDTTh |
edm::EDGetTokenT < RPCDigiCollection > | inputTokenRPC |
OMTFinputMaker * | myInputMaker |
OMTFinput * | myInputXML |
OMTFProcessor * | myOMTF |
OMTFConfiguration * | myOMTFConfig |
OMTF objects. More... | |
OMTFConfigMaker * | myOMTFConfigMaker |
OMTFSorter * | mySorter |
XMLConfigWriter * | myWriter |
std::shared_ptr < L1TMuonOverlapParams > | omtfParams |
edm::ParameterSet | theConfig |
Additional Inherited Members | |
![]() | |
typedef EDProducer | ModuleType |
![]() | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
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 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) |
Definition at line 40 of file L1TMuonOverlapTrackProducer.h.
L1TMuonOverlapTrackProducer::L1TMuonOverlapTrackProducer | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 23 of file L1TMuonOverlapTrackProducer.cc.
References dumpDetailedResultToXML, dumpGPToXML, dumpResultToXML, edm::ParameterSet::exists(), MainPageGenerator::fName, edm::ParameterSet::getParameter(), XMLConfigWriter::initialiseXMLDocument(), inputTokenCSC, inputTokenDTPh, inputTokenDTTh, inputTokenRPC, myInputMaker, myOMTF, myOMTFConfig, mySorter, myWriter, AlCaHLTBitMon_QueryRunRegistry::string, and theConfig.
L1TMuonOverlapTrackProducer::~L1TMuonOverlapTrackProducer | ( | ) |
Definition at line 56 of file L1TMuonOverlapTrackProducer.cc.
References myInputMaker, myOMTF, myOMTFConfig, mySorter, and myWriter.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 69 of file L1TMuonOverlapTrackProducer.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), myOMTF, myOMTFConfig, and theConfig.
|
virtual |
If configuration is read from XML do not look at the DB.
Reimplemented from edm::EDProducer.
Definition at line 171 of file L1TMuonOverlapTrackProducer.cc.
References OMTFProcessor::configure(), OMTFConfiguration::configure(), edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), edm::ParameterSet::getParameter(), myOMTF, myOMTFConfig, omtfParams, and theConfig.
|
virtual |
Write GPs merged by 4 above iPt19, and by 2 below// /////////////////////////////////////////////////// 4x merging
Reimplemented from edm::EDProducer.
Definition at line 78 of file L1TMuonOverlapTrackProducer.cc.
References OMTFProcessor::averagePatterns(), gather_cfg::cout, dumpGPToXML, dumpResultToXML, XMLConfigWriter::finaliseXMLDocument(), MainPageGenerator::fName, edm::ParameterSet::getParameter(), OMTFProcessor::getPatterns(), XMLConfigWriter::initialiseXMLDocument(), myOMTF, myWriter, GoldenPattern::reset(), AlCaHLTBitMon_QueryRunRegistry::string, theConfig, XMLConfigWriter::writeGPData(), and writeMergedGPs().
|
private |
Set local 0 at iProcessor x 15 deg
Definition at line 282 of file L1TMuonOverlapTrackProducer.cc.
References BXVector< T >::at(), OMTFConfiguration::globalPhiStart(), l1t::RegionalMuonCand::hwPhi(), l1t::RegionalMuonCand::hwPt(), OMTFConfiguration::nPhiBins, OMTFConfiguration::nPhiBits, funct::pow(), l1t::RegionalMuonCand::setHwPhi(), l1t::RegionalMuonCand::setTFIdentifiers(), and BXVector< T >::size().
Referenced by produce().
|
virtual |
Filter digis by dropping digis from selected (by cfg.py) subsystems
Loop over all processors, each covering 60 deg in phi
Input data with phi ranges shifted for each processor, so it fits 11 bits range
Results for each GP in each logic region of given processor
Shift phi scales, and put MicroGMT candidates into myCands collection
Write data to XML file
Dump only regions, where a candidate was found
Implements edm::EDProducer.
Definition at line 192 of file L1TMuonOverlapTrackProducer.cc.
References aTopElement, OMTFinputMaker::buildInputForProcessor(), dumpDetailedResultToXML, dumpResultToXML, edm::EventID::event(), edm::Event::getByToken(), edm::ParameterSet::getParameter(), edm::EventBase::id(), OMTFinputMaker::initialize(), inputTokenCSC, inputTokenDTPh, inputTokenDTTh, inputTokenRPC, myInputMaker, myOMTF, mySorter, myWriter, OMTFConfiguration::nTestRefHits, l1t::omtf_neg, l1t::omtf_pos, processCandidates(), OMTFProcessor::processInput(), edm::Handle< T >::product(), InternalObj::pt, edm::Event::put(), OMTFProcessor::shiftInput(), OMTFSorter::sortProcessor(), OMTFSorter::sortRefHitResults(), theConfig, XMLConfigWriter::writeCandidateData(), XMLConfigWriter::writeEventData(), XMLConfigWriter::writeEventHeader(), and XMLConfigWriter::writeResultsData().
|
private |
Write the opposite charge.
Definition at line 116 of file L1TMuonOverlapTrackProducer.cc.
References OMTFProcessor::getPatterns(), GoldenPattern::key(), myOMTF, myWriter, GoldenPattern::reset(), Key::theCharge, Key::thePtCode, and XMLConfigWriter::writeGPData().
Referenced by endJob().
|
private |
Definition at line 79 of file L1TMuonOverlapTrackProducer.h.
Referenced by produce().
|
private |
Definition at line 70 of file L1TMuonOverlapTrackProducer.h.
Referenced by L1TMuonOverlapTrackProducer(), and produce().
|
private |
Definition at line 70 of file L1TMuonOverlapTrackProducer.h.
Referenced by endJob(), and L1TMuonOverlapTrackProducer().
|
private |
Definition at line 70 of file L1TMuonOverlapTrackProducer.h.
Referenced by endJob(), L1TMuonOverlapTrackProducer(), and produce().
|
private |
Definition at line 60 of file L1TMuonOverlapTrackProducer.h.
Referenced by L1TMuonOverlapTrackProducer(), and produce().
|
private |
Definition at line 58 of file L1TMuonOverlapTrackProducer.h.
Referenced by L1TMuonOverlapTrackProducer(), and produce().
|
private |
Definition at line 59 of file L1TMuonOverlapTrackProducer.h.
Referenced by L1TMuonOverlapTrackProducer(), and produce().
|
private |
Definition at line 61 of file L1TMuonOverlapTrackProducer.h.
Referenced by L1TMuonOverlapTrackProducer(), and produce().
|
private |
Definition at line 74 of file L1TMuonOverlapTrackProducer.h.
Referenced by L1TMuonOverlapTrackProducer(), produce(), and ~L1TMuonOverlapTrackProducer().
|
private |
Definition at line 77 of file L1TMuonOverlapTrackProducer.h.
|
private |
Definition at line 76 of file L1TMuonOverlapTrackProducer.h.
Referenced by beginJob(), beginRun(), endJob(), L1TMuonOverlapTrackProducer(), produce(), writeMergedGPs(), and ~L1TMuonOverlapTrackProducer().
|
private |
OMTF objects.
Definition at line 73 of file L1TMuonOverlapTrackProducer.h.
Referenced by beginJob(), beginRun(), L1TMuonOverlapTrackProducer(), and ~L1TMuonOverlapTrackProducer().
|
private |
Definition at line 80 of file L1TMuonOverlapTrackProducer.h.
|
private |
Definition at line 75 of file L1TMuonOverlapTrackProducer.h.
Referenced by L1TMuonOverlapTrackProducer(), produce(), and ~L1TMuonOverlapTrackProducer().
|
private |
Definition at line 81 of file L1TMuonOverlapTrackProducer.h.
Referenced by endJob(), L1TMuonOverlapTrackProducer(), produce(), writeMergedGPs(), and ~L1TMuonOverlapTrackProducer().
|
private |
Definition at line 82 of file L1TMuonOverlapTrackProducer.h.
Referenced by beginRun().
|
private |
Definition at line 56 of file L1TMuonOverlapTrackProducer.h.
Referenced by beginJob(), beginRun(), endJob(), L1TMuonOverlapTrackProducer(), and produce().