CMS 3D CMS Logo

List of all members | Public Member Functions
DTTrackFinderConfig Class Reference

#include <DTTrackFinderConfig.h>

Inheritance diagram for DTTrackFinderConfig:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

Public Member Functions

 DTTrackFinderConfig (const edm::ParameterSet &)
 
std::unique_ptr< L1MuDTEtaPatternLutproduceL1MuDTEtaPatternLut (const L1MuDTEtaPatternLutRcd &)
 
std::unique_ptr< L1MuDTExtLutproduceL1MuDTExtLut (const L1MuDTExtLutRcd &)
 
std::unique_ptr< L1MuDTPhiLutproduceL1MuDTPhiLut (const L1MuDTPhiLutRcd &)
 
std::unique_ptr< L1MuDTPtaLutproduceL1MuDTPtaLut (const L1MuDTPtaLutRcd &)
 
std::unique_ptr< L1MuDTQualPatternLutproduceL1MuDTQualPatternLut (const L1MuDTQualPatternLutRcd &)
 
std::unique_ptr< L1MuDTTFMasksproduceL1MuDTTFMasks (const L1MuDTTFMasksRcd &)
 
std::unique_ptr< L1MuDTTFParametersproduceL1MuDTTFParameters (const L1MuDTTFParametersRcd &)
 
 ~DTTrackFinderConfig () override
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
 ESProducer (const ESProducer &)=delete
 
ESProxyIndex const * getTokenIndices (unsigned int iIndex) const
 
ESRecordIndex const * getTokenRecordIndices (unsigned int iIndex) const
 
bool hasMayConsumes () const noexcept
 
size_t numberOfTokenIndices (unsigned int iIndex) const
 
ESProducer const & operator= (const ESProducer &)=delete
 
SerialTaskQueueChainqueue ()
 
template<typename Record >
std::optional< std::vector< ESProxyIndex > > updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) const
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &) final
 
 ~ESProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
 ESProxyFactoryProducer (const ESProxyFactoryProducer &)=delete
 
const ESProxyFactoryProduceroperator= (const ESProxyFactoryProducer &)=delete
 
 ~ESProxyFactoryProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::eventsetup::DataProxyProvider
void createKeyedProxies (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
 DataProxyProvider ()
 
 DataProxyProvider (const DataProxyProvider &)=delete
 
const ComponentDescriptiondescription () const
 
void fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const
 
virtual void initConcurrentIOVs (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
bool isUsingRecord (const EventSetupRecordKey &key) const
 
KeyedProxieskeyedProxies (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0)
 
const DataProxyProvideroperator= (const DataProxyProvider &)=delete
 
void setAppendToDataLabel (const edm::ParameterSet &)
 
void setDescription (const ComponentDescription &iDescription)
 
std::set< EventSetupRecordKeyusingRecords () const
 
virtual ~DataProxyProvider () noexcept(false)
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Types inherited from edm::ESProxyFactoryProducer
using EventSetupRecordKey = eventsetup::EventSetupRecordKey
 
- Protected Types inherited from edm::eventsetup::DataProxyProvider
using KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >>
 
- Protected Member Functions inherited from edm::ESProducer
template<typename T >
auto setWhatProduced (T *iThis, const char *iLabel)
 
template<typename T >
auto setWhatProduced (T *iThis, const es::Label &iLabel={})
 
template<typename T >
auto setWhatProduced (T *iThis, const std::string &iLabel)
 
template<typename T , typename TDecorator >
auto setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={})
 
template<typename T , typename TReturn , typename TRecord >
auto setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const es::Label &iLabel={})
 
template<typename T , typename TReturn , typename TRecord , typename TArg >
ESConsumesCollectorT< TRecord > setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={})
 
void usesResources (std::vector< std::string > const &)
 
- Protected Member Functions inherited from edm::ESProxyFactoryProducer
template<class TFactory >
void registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string())
 
virtual void registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string())
 
KeyedProxiesVector registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override
 
- Protected Member Functions inherited from edm::eventsetup::DataProxyProvider
template<class T >
void usingRecord ()
 
void usingRecordWithKey (const EventSetupRecordKey &key)
 

Detailed Description

L1 DT Track Finder ESProducer

J. Troconiz UAM Madrid

Definition at line 39 of file DTTrackFinderConfig.h.

Constructor & Destructor Documentation

◆ DTTrackFinderConfig()

DTTrackFinderConfig::DTTrackFinderConfig ( const edm::ParameterSet pset)

◆ ~DTTrackFinderConfig()

DTTrackFinderConfig::~DTTrackFinderConfig ( )
override

Definition at line 33 of file DTTrackFinderConfig.cc.

33 {}

Member Function Documentation

◆ produceL1MuDTEtaPatternLut()

unique_ptr< L1MuDTEtaPatternLut > DTTrackFinderConfig::produceL1MuDTEtaPatternLut ( const L1MuDTEtaPatternLutRcd iRecord)

Definition at line 65 of file DTTrackFinderConfig.cc.

65  {
66  unique_ptr<L1MuDTEtaPatternLut> etalut = std::make_unique<L1MuDTEtaPatternLut>();
67 
68  if (etalut->load() != 0) {
69  cout << "Can not open files to load eta track finder look-up tables for DTTrackFinder!" << endl;
70  }
71 
72  return etalut;
73 }

References gather_cfg::cout, and L1DTTrackFinderConfig_cff::etalut.

Referenced by DTTrackFinderConfig().

◆ produceL1MuDTExtLut()

unique_ptr< L1MuDTExtLut > DTTrackFinderConfig::produceL1MuDTExtLut ( const L1MuDTExtLutRcd iRecord)

Definition at line 35 of file DTTrackFinderConfig.cc.

35  {
36  unique_ptr<L1MuDTExtLut> extlut = std::make_unique<L1MuDTExtLut>();
37 
38  if (extlut->load() != 0) {
39  cout << "Can not open files to load extrapolation look-up tables for DTTrackFinder!" << endl;
40  }
41 
42  return extlut;
43 }

References gather_cfg::cout, and L1DTTrackFinderConfig_cff::extlut.

Referenced by DTTrackFinderConfig().

◆ produceL1MuDTPhiLut()

unique_ptr< L1MuDTPhiLut > DTTrackFinderConfig::produceL1MuDTPhiLut ( const L1MuDTPhiLutRcd iRecord)

Definition at line 45 of file DTTrackFinderConfig.cc.

45  {
46  unique_ptr<L1MuDTPhiLut> philut = std::make_unique<L1MuDTPhiLut>();
47 
48  if (philut->load() != 0) {
49  cout << "Can not open files to load phi-assignment look-up tables for DTTrackFinder!" << endl;
50  }
51 
52  return philut;
53 }

References gather_cfg::cout, and L1DTTrackFinderConfig_cff::philut.

Referenced by DTTrackFinderConfig().

◆ produceL1MuDTPtaLut()

unique_ptr< L1MuDTPtaLut > DTTrackFinderConfig::produceL1MuDTPtaLut ( const L1MuDTPtaLutRcd iRecord)

Definition at line 55 of file DTTrackFinderConfig.cc.

55  {
56  unique_ptr<L1MuDTPtaLut> ptalut = std::make_unique<L1MuDTPtaLut>();
57 
58  if (ptalut->load() != 0) {
59  cout << "Can not open files to load pt-assignment look-up tables for DTTrackFinder!" << endl;
60  }
61 
62  return ptalut;
63 }

References gather_cfg::cout, and L1DTTrackFinderConfig_cff::ptalut.

Referenced by DTTrackFinderConfig().

◆ produceL1MuDTQualPatternLut()

unique_ptr< L1MuDTQualPatternLut > DTTrackFinderConfig::produceL1MuDTQualPatternLut ( const L1MuDTQualPatternLutRcd iRecord)

Definition at line 75 of file DTTrackFinderConfig.cc.

76  {
77  unique_ptr<L1MuDTQualPatternLut> qualut = std::make_unique<L1MuDTQualPatternLut>();
78 
79  if (qualut->load() != 0) {
80  cout << "Can not open files to load eta matching look-up tables for DTTrackFinder!" << endl;
81  }
82 
83  return qualut;
84 }

References gather_cfg::cout, and L1DTTrackFinderConfig_cff::qualut.

Referenced by DTTrackFinderConfig().

◆ produceL1MuDTTFMasks()

unique_ptr< L1MuDTTFMasks > DTTrackFinderConfig::produceL1MuDTTFMasks ( const L1MuDTTFMasksRcd iRecord)

Definition at line 94 of file DTTrackFinderConfig.cc.

94  {
95  unique_ptr<L1MuDTTFMasks> dttfmsk = std::make_unique<L1MuDTTFMasks>();
96 
97  dttfmsk->reset();
98 
99  return dttfmsk;
100 }

References L1DTTrackFinderConfig_cff::dttfmsk.

Referenced by DTTrackFinderConfig().

◆ produceL1MuDTTFParameters()

unique_ptr< L1MuDTTFParameters > DTTrackFinderConfig::produceL1MuDTTFParameters ( const L1MuDTTFParametersRcd iRecord)

Definition at line 86 of file DTTrackFinderConfig.cc.

86  {
87  unique_ptr<L1MuDTTFParameters> dttfpar = std::make_unique<L1MuDTTFParameters>();
88 
89  dttfpar->reset();
90 
91  return dttfpar;
92 }

References L1DTTrackFinderConfig_cff::dttfpar.

Referenced by DTTrackFinderConfig().

gather_cfg.cout
cout
Definition: gather_cfg.py:144
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
L1DTTrackFinderConfig_cff.etalut
etalut
Definition: L1DTTrackFinderConfig_cff.py:21
DTTrackFinderConfig::produceL1MuDTPhiLut
std::unique_ptr< L1MuDTPhiLut > produceL1MuDTPhiLut(const L1MuDTPhiLutRcd &)
Definition: DTTrackFinderConfig.cc:45
L1DTTrackFinderConfig_cff.dttfpar
dttfpar
Definition: L1DTTrackFinderConfig_cff.py:33
DTTrackFinderConfig::produceL1MuDTPtaLut
std::unique_ptr< L1MuDTPtaLut > produceL1MuDTPtaLut(const L1MuDTPtaLutRcd &)
Definition: DTTrackFinderConfig.cc:55
DTTrackFinderConfig::produceL1MuDTTFMasks
std::unique_ptr< L1MuDTTFMasks > produceL1MuDTTFMasks(const L1MuDTTFMasksRcd &)
Definition: DTTrackFinderConfig.cc:94
DTTrackFinderConfig::produceL1MuDTExtLut
std::unique_ptr< L1MuDTExtLut > produceL1MuDTExtLut(const L1MuDTExtLutRcd &)
Definition: DTTrackFinderConfig.cc:35
L1DTTrackFinderConfig_cff.extlut
extlut
Definition: L1DTTrackFinderConfig_cff.py:3
L1DTTrackFinderConfig_cff.dttfmsk
dttfmsk
Definition: L1DTTrackFinderConfig_cff.py:39
DTTrackFinderConfig::produceL1MuDTQualPatternLut
std::unique_ptr< L1MuDTQualPatternLut > produceL1MuDTQualPatternLut(const L1MuDTQualPatternLutRcd &)
Definition: DTTrackFinderConfig.cc:75
DTTrackFinderConfig::produceL1MuDTEtaPatternLut
std::unique_ptr< L1MuDTEtaPatternLut > produceL1MuDTEtaPatternLut(const L1MuDTEtaPatternLutRcd &)
Definition: DTTrackFinderConfig.cc:65
L1DTTrackFinderConfig_cff.qualut
qualut
Definition: L1DTTrackFinderConfig_cff.py:27
L1DTTrackFinderConfig_cff.philut
philut
Definition: L1DTTrackFinderConfig_cff.py:9
L1DTTrackFinderConfig_cff.ptalut
ptalut
Definition: L1DTTrackFinderConfig_cff.py:15
DTTrackFinderConfig::produceL1MuDTTFParameters
std::unique_ptr< L1MuDTTFParameters > produceL1MuDTTFParameters(const L1MuDTTFParametersRcd &)
Definition: DTTrackFinderConfig.cc:86