CMS 3D CMS Logo

List of all members | Public Member Functions
DTTrackFinderConfig Class Reference

#include <DTTrackFinderConfig.h>

Inheritance diagram for DTTrackFinderConfig:
edm::ESProducer edm::ESProductResolverFactoryProducer edm::eventsetup::ESProductResolverProvider

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
 
 ESProducer (ESProducer &&)=delete
 
ESResolverIndex const * getTokenIndices (unsigned int iIndex) const
 
ESRecordIndex const * getTokenRecordIndices (unsigned int iIndex) const
 
bool hasMayConsumes () const noexcept
 
size_t numberOfTokenIndices (unsigned int iIndex) const
 
ESProduceroperator= (const ESProducer &)=delete
 
ESProduceroperator= (ESProducer &&)=delete
 
SerialTaskQueueChainqueue ()
 
template<typename Record >
std::optional< std::vector< ESResolverIndex > > updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) const
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) final
 
 ~ESProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::ESProductResolverFactoryProducer
 ESProductResolverFactoryProducer ()
 
 ESProductResolverFactoryProducer (const ESProductResolverFactoryProducer &)=delete
 
const ESProductResolverFactoryProduceroperator= (const ESProductResolverFactoryProducer &)=delete
 
 ~ESProductResolverFactoryProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider
void createKeyedResolvers (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
const ComponentDescriptiondescription () const
 
 ESProductResolverProvider ()
 
 ESProductResolverProvider (const ESProductResolverProvider &)=delete
 
void fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const
 
virtual void initConcurrentIOVs (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
bool isUsingRecord (const EventSetupRecordKey &key) const
 
KeyedResolverskeyedResolvers (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0)
 
const ESProductResolverProvideroperator= (const ESProductResolverProvider &)=delete
 
void setAppendToDataLabel (const edm::ParameterSet &)
 
void setDescription (const ComponentDescription &iDescription)
 
std::set< EventSetupRecordKeyusingRecords () const
 
virtual ~ESProductResolverProvider () noexcept(false)
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Types inherited from edm::ESProductResolverFactoryProducer
using EventSetupRecordKey = eventsetup::EventSetupRecordKey
 
- Protected Types inherited from edm::eventsetup::ESProductResolverProvider
using KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >>
 
- Protected Member Functions inherited from edm::ESProducer
ESConsumesInfoconsumesInfoPushBackNew ()
 
unsigned int consumesInfoSize () const
 
template<typename CallbackT , typename TList , typename TRecord >
void registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel)
 
template<typename CallbackT , typename TRecord >
void registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &)
 
template<typename T >
auto setWhatProduced (T *iThis, const es::Label &iLabel={})
 
template<typename T >
auto setWhatProduced (T *iThis, const char *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 TDecorator >
auto setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={})
 
template<typename TFunc >
auto setWhatProduced (TFunc &&func, const es::Label &iLabel={})
 
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator >
ESConsumesCollectorT< TRecord > setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={})
 
void usesResources (std::vector< std::string > const &)
 
- Protected Member Functions inherited from edm::ESProductResolverFactoryProducer
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::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string())
 
KeyedResolversVector registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override
 
- Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider
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)

Definition at line 23 of file DTTrackFinderConfig.cc.

References produceL1MuDTEtaPatternLut(), produceL1MuDTExtLut(), produceL1MuDTPhiLut(), produceL1MuDTPtaLut(), produceL1MuDTQualPatternLut(), produceL1MuDTTFMasks(), and produceL1MuDTTFParameters().

23  {
31 }
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:166
std::unique_ptr< L1MuDTTFParameters > produceL1MuDTTFParameters(const L1MuDTTFParametersRcd &)
std::unique_ptr< L1MuDTPtaLut > produceL1MuDTPtaLut(const L1MuDTPtaLutRcd &)
std::unique_ptr< L1MuDTTFMasks > produceL1MuDTTFMasks(const L1MuDTTFMasksRcd &)
std::unique_ptr< L1MuDTQualPatternLut > produceL1MuDTQualPatternLut(const L1MuDTQualPatternLutRcd &)
std::unique_ptr< L1MuDTExtLut > produceL1MuDTExtLut(const L1MuDTExtLutRcd &)
std::unique_ptr< L1MuDTPhiLut > produceL1MuDTPhiLut(const L1MuDTPhiLutRcd &)
std::unique_ptr< L1MuDTEtaPatternLut > produceL1MuDTEtaPatternLut(const L1MuDTEtaPatternLutRcd &)

◆ ~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.

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

Referenced by DTTrackFinderConfig().

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 }

◆ produceL1MuDTExtLut()

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

Definition at line 35 of file DTTrackFinderConfig.cc.

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

Referenced by DTTrackFinderConfig().

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 }

◆ produceL1MuDTPhiLut()

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

Definition at line 45 of file DTTrackFinderConfig.cc.

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

Referenced by DTTrackFinderConfig().

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 }

◆ produceL1MuDTPtaLut()

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

Definition at line 55 of file DTTrackFinderConfig.cc.

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

Referenced by DTTrackFinderConfig().

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 }

◆ produceL1MuDTQualPatternLut()

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

Definition at line 75 of file DTTrackFinderConfig.cc.

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

Referenced by DTTrackFinderConfig().

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 }

◆ produceL1MuDTTFMasks()

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

Definition at line 94 of file DTTrackFinderConfig.cc.

References L1DTTrackFinderConfig_cff::dttfmsk.

Referenced by DTTrackFinderConfig().

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

◆ produceL1MuDTTFParameters()

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

Definition at line 86 of file DTTrackFinderConfig.cc.

References L1DTTrackFinderConfig_cff::dttfpar.

Referenced by DTTrackFinderConfig().

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