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 ()
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
 ~ESProducer ()(false) override
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
void newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval) override
 overrides DataProxyProvider method More...
 
 ~ESProxyFactoryProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::eventsetup::DataProxyProvider
 DataProxyProvider ()
 
const ComponentDescriptiondescription () const
 
bool isUsingRecord (const EventSetupRecordKey &) const
 
const KeyedProxieskeyedProxies (const EventSetupRecordKey &iRecordKey) const
 
void resetProxies (const EventSetupRecordKey &iRecordType)
 
void resetProxiesIfTransient (const EventSetupRecordKey &iRecordType)
 
void setAppendToDataLabel (const edm::ParameterSet &)
 
void setDescription (const ComponentDescription &iDescription)
 
std::set< EventSetupRecordKeyusingRecords () const
 
virtual ~DataProxyProvider () noexcept(false)
 

Additional Inherited Members

- Public Types inherited from edm::eventsetup::DataProxyProvider
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > KeyedProxies
 
typedef std::vector< EventSetupRecordKeyKeys
 
typedef std::map< EventSetupRecordKey, KeyedProxiesRecordProxies
 
- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::ESProducer
template<typename T >
void setWhatProduced (T *iThis, const es::Label &iLabel=es::Label())
 
template<typename T >
void setWhatProduced (T *iThis, const char *iLabel)
 
template<typename T >
void setWhatProduced (T *iThis, const std::string &iLabel)
 
template<typename T , typename TDecorator >
void setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label())
 
template<typename T , typename TReturn , typename TRecord >
void setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label())
 
template<typename T , typename TReturn , typename TRecord , typename TArg >
void setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label())
 
- 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 eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string())
 
void registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override
 override DataProxyProvider method More...
 
- Protected Member Functions inherited from edm::eventsetup::DataProxyProvider
void eraseAll (const EventSetupRecordKey &iRecordKey)
 deletes all the Proxies in aStream More...
 
void invalidateProxies (const EventSetupRecordKey &iRecordKey)
 
template<class T >
void usingRecord ()
 
void usingRecordWithKey (const EventSetupRecordKey &)
 

Detailed Description

L1 DT Track Finder ESProducer

J. Troconiz UAM Madrid

Definition at line 40 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  {
22 
30 
31 }
std::unique_ptr< L1MuDTTFParameters > produceL1MuDTTFParameters(const L1MuDTTFParametersRcd &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
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 ( )

Definition at line 34 of file DTTrackFinderConfig.cc.

34 {}

Member Function Documentation

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

Definition at line 70 of file DTTrackFinderConfig.cc.

References gather_cfg::cout.

Referenced by DTTrackFinderConfig().

70  {
71 
72  unique_ptr<L1MuDTEtaPatternLut> etalut = unique_ptr<L1MuDTEtaPatternLut>( new L1MuDTEtaPatternLut() );
73 
74  if ( etalut->load() != 0 ) {
75  cout << "Can not open files to load eta track finder look-up tables for DTTrackFinder!" << endl;
76  }
77 
78  return etalut;
79 }
unique_ptr< L1MuDTExtLut > DTTrackFinderConfig::produceL1MuDTExtLut ( const L1MuDTExtLutRcd iRecord)

Definition at line 37 of file DTTrackFinderConfig.cc.

References gather_cfg::cout.

Referenced by DTTrackFinderConfig().

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

Definition at line 48 of file DTTrackFinderConfig.cc.

References gather_cfg::cout.

Referenced by DTTrackFinderConfig().

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

Definition at line 59 of file DTTrackFinderConfig.cc.

References gather_cfg::cout.

Referenced by DTTrackFinderConfig().

59  {
60 
61  unique_ptr<L1MuDTPtaLut> ptalut = unique_ptr<L1MuDTPtaLut>( new L1MuDTPtaLut() );
62 
63  if ( ptalut->load() != 0 ) {
64  cout << "Can not open files to load pt-assignment look-up tables for DTTrackFinder!" << endl;
65  }
66 
67  return ptalut;
68 }
unique_ptr< L1MuDTQualPatternLut > DTTrackFinderConfig::produceL1MuDTQualPatternLut ( const L1MuDTQualPatternLutRcd iRecord)

Definition at line 81 of file DTTrackFinderConfig.cc.

References gather_cfg::cout.

Referenced by DTTrackFinderConfig().

81  {
82 
83  unique_ptr<L1MuDTQualPatternLut> qualut = unique_ptr<L1MuDTQualPatternLut>( new L1MuDTQualPatternLut() );
84 
85  if ( qualut->load() != 0 ) {
86  cout << "Can not open files to load eta matching look-up tables for DTTrackFinder!" << endl;
87  }
88 
89  return qualut;
90 }
unique_ptr< L1MuDTTFMasks > DTTrackFinderConfig::produceL1MuDTTFMasks ( const L1MuDTTFMasksRcd iRecord)

Definition at line 101 of file DTTrackFinderConfig.cc.

References DEFINE_FWK_EVENTSETUP_MODULE.

Referenced by DTTrackFinderConfig().

101  {
102 
103  unique_ptr<L1MuDTTFMasks> dttfmsk = unique_ptr<L1MuDTTFMasks>( new L1MuDTTFMasks() );
104 
105  dttfmsk->reset();
106 
107  return dttfmsk;
108 }
unique_ptr< L1MuDTTFParameters > DTTrackFinderConfig::produceL1MuDTTFParameters ( const L1MuDTTFParametersRcd iRecord)

Definition at line 92 of file DTTrackFinderConfig.cc.

Referenced by DTTrackFinderConfig().

92  {
93 
94  unique_ptr<L1MuDTTFParameters> dttfpar = unique_ptr<L1MuDTTFParameters>( new L1MuDTTFParameters() );
95 
96  dttfpar->reset();
97 
98  return dttfpar;
99 }