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
 
ESProducer const & operator= (const ESProducer &)=delete
 
template<typename Record >
void updateFromMayConsumes (unsigned int iIndex, const Record &iRecord)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &) final
 
 ~ESProducer ()(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 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 TArg >
ESConsumesCollectorT< TRecord > setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={})
 
- 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 ( const edm::ParameterSet pset)

Definition at line 21 of file DTTrackFinderConfig.cc.

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

21  {
29 }
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:138
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 ( )
override

Definition at line 31 of file DTTrackFinderConfig.cc.

31 {}

Member Function Documentation

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

Definition at line 63 of file DTTrackFinderConfig.cc.

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

Referenced by DTTrackFinderConfig().

63  {
64  unique_ptr<L1MuDTEtaPatternLut> etalut = unique_ptr<L1MuDTEtaPatternLut>(new L1MuDTEtaPatternLut());
65 
66  if (etalut->load() != 0) {
67  cout << "Can not open files to load eta track finder look-up tables for DTTrackFinder!" << endl;
68  }
69 
70  return etalut;
71 }
unique_ptr< L1MuDTExtLut > DTTrackFinderConfig::produceL1MuDTExtLut ( const L1MuDTExtLutRcd iRecord)

Definition at line 33 of file DTTrackFinderConfig.cc.

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

Referenced by DTTrackFinderConfig().

33  {
34  unique_ptr<L1MuDTExtLut> extlut = unique_ptr<L1MuDTExtLut>(new L1MuDTExtLut());
35 
36  if (extlut->load() != 0) {
37  cout << "Can not open files to load extrapolation look-up tables for DTTrackFinder!" << endl;
38  }
39 
40  return extlut;
41 }
unique_ptr< L1MuDTPhiLut > DTTrackFinderConfig::produceL1MuDTPhiLut ( const L1MuDTPhiLutRcd iRecord)

Definition at line 43 of file DTTrackFinderConfig.cc.

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

Referenced by DTTrackFinderConfig().

43  {
44  unique_ptr<L1MuDTPhiLut> philut = unique_ptr<L1MuDTPhiLut>(new L1MuDTPhiLut());
45 
46  if (philut->load() != 0) {
47  cout << "Can not open files to load phi-assignment look-up tables for DTTrackFinder!" << endl;
48  }
49 
50  return philut;
51 }
unique_ptr< L1MuDTPtaLut > DTTrackFinderConfig::produceL1MuDTPtaLut ( const L1MuDTPtaLutRcd iRecord)

Definition at line 53 of file DTTrackFinderConfig.cc.

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

Referenced by DTTrackFinderConfig().

53  {
54  unique_ptr<L1MuDTPtaLut> ptalut = unique_ptr<L1MuDTPtaLut>(new L1MuDTPtaLut());
55 
56  if (ptalut->load() != 0) {
57  cout << "Can not open files to load pt-assignment look-up tables for DTTrackFinder!" << endl;
58  }
59 
60  return ptalut;
61 }
unique_ptr< L1MuDTQualPatternLut > DTTrackFinderConfig::produceL1MuDTQualPatternLut ( const L1MuDTQualPatternLutRcd iRecord)

Definition at line 73 of file DTTrackFinderConfig.cc.

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

Referenced by DTTrackFinderConfig().

74  {
75  unique_ptr<L1MuDTQualPatternLut> qualut = unique_ptr<L1MuDTQualPatternLut>(new L1MuDTQualPatternLut());
76 
77  if (qualut->load() != 0) {
78  cout << "Can not open files to load eta matching look-up tables for DTTrackFinder!" << endl;
79  }
80 
81  return qualut;
82 }
unique_ptr< L1MuDTTFMasks > DTTrackFinderConfig::produceL1MuDTTFMasks ( const L1MuDTTFMasksRcd iRecord)

Definition at line 92 of file DTTrackFinderConfig.cc.

References DEFINE_FWK_EVENTSETUP_MODULE, and L1DTTrackFinderConfig_cff::dttfmsk.

Referenced by DTTrackFinderConfig().

92  {
93  unique_ptr<L1MuDTTFMasks> dttfmsk = unique_ptr<L1MuDTTFMasks>(new L1MuDTTFMasks());
94 
95  dttfmsk->reset();
96 
97  return dttfmsk;
98 }
unique_ptr< L1MuDTTFParameters > DTTrackFinderConfig::produceL1MuDTTFParameters ( const L1MuDTTFParametersRcd iRecord)

Definition at line 84 of file DTTrackFinderConfig.cc.

References L1DTTrackFinderConfig_cff::dttfpar.

Referenced by DTTrackFinderConfig().

84  {
85  unique_ptr<L1MuDTTFParameters> dttfpar = unique_ptr<L1MuDTTFParameters>(new L1MuDTTFParameters());
86 
87  dttfpar->reset();
88 
89  return dttfpar;
90 }