CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
TrackerTopologyEP Class Reference

#include <TrackerTopologyEP.h>

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

Public Types

typedef boost::shared_ptr
< TrackerTopology
ReturnType
 
- Public Types inherited from edm::eventsetup::DataProxyProvider
typedef std::vector< std::pair
< DataKey, boost::shared_ptr
< DataProxy > > > 
KeyedProxies
 
typedef std::vector
< EventSetupRecordKey
Keys
 
typedef std::map
< EventSetupRecordKey,
KeyedProxies
RecordProxies
 

Public Member Functions

ReturnType produce (const IdealGeometryRecord &)
 
 TrackerTopologyEP (const edm::ParameterSet &)
 
 ~TrackerTopologyEP ()
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
virtual ~ESProducer ()
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
virtual void newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval)
 overrides DataProxyProvider method More...
 
virtual ~ESProxyFactoryProducer ()
 
- 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 ()
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 

Private Attributes

TrackerTopology::PixelBarrelValues pxbVals_
 
TrackerTopology::PixelEndcapValues pxfVals_
 
TrackerTopology::TECValues tecVals_
 
TrackerTopology::TIBValues tibVals_
 
TrackerTopology::TIDValues tidVals_
 
TrackerTopology::TOBValues tobVals_
 

Additional Inherited Members

- 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::auto_ptr< TFactory > iFactory, const std::string &iLabel=std::string())
 
virtual void registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::auto_ptr< eventsetup::ProxyFactoryBase > &iFactory, const std::string &iLabel=std::string())
 
virtual void registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList)
 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

Definition at line 26 of file TrackerTopologyEP.h.

Member Typedef Documentation

typedef boost::shared_ptr<TrackerTopology> TrackerTopologyEP::ReturnType

Definition at line 32 of file TrackerTopologyEP.h.

Constructor & Destructor Documentation

TrackerTopologyEP::TrackerTopologyEP ( const edm::ParameterSet conf)

Definition at line 24 of file TrackerTopologyEP.cc.

References TrackerTopology::PixelEndcapValues::bladeMask_, TrackerTopology::PixelEndcapValues::bladeStartBit_, TrackerTopology::PixelEndcapValues::diskMask_, TrackerTopology::PixelEndcapValues::diskStartBit_, edm::ParameterSet::getParameter(), TrackerTopology::PixelBarrelValues::ladderMask_, TrackerTopology::PixelBarrelValues::ladderStartBit_, TrackerTopology::PixelBarrelValues::layerMask_, TrackerTopology::TIBValues::layerMask_, TrackerTopology::TOBValues::layerMask_, TrackerTopology::PixelBarrelValues::layerStartBit_, TrackerTopology::TIBValues::layerStartBit_, TrackerTopology::TOBValues::layerStartBit_, TrackerTopology::TIDValues::module_fw_bwMask_, TrackerTopology::TIDValues::module_fw_bwStartBit_, TrackerTopology::PixelBarrelValues::moduleMask_, TrackerTopology::PixelEndcapValues::moduleMask_, TrackerTopology::TECValues::moduleMask_, TrackerTopology::TIBValues::moduleMask_, TrackerTopology::TIDValues::moduleMask_, TrackerTopology::TOBValues::moduleMask_, TrackerTopology::PixelBarrelValues::moduleStartBit_, TrackerTopology::PixelEndcapValues::moduleStartBit_, TrackerTopology::TECValues::moduleStartBit_, TrackerTopology::TIBValues::moduleStartBit_, TrackerTopology::TIDValues::moduleStartBit_, TrackerTopology::TOBValues::moduleStartBit_, TrackerTopology::PixelEndcapValues::panelMask_, TrackerTopology::PixelEndcapValues::panelStartBit_, TrackerTopology::TECValues::petal_fw_bwMask_, TrackerTopology::TECValues::petal_fw_bwStartBit_, TrackerTopology::TECValues::petalMask_, TrackerTopology::TECValues::petalStartBit_, pxbVals_, pxfVals_, TrackerTopology::TECValues::ringMask_, TrackerTopology::TIDValues::ringMask_, TrackerTopology::TECValues::ringStartBit_, TrackerTopology::TIDValues::ringStartBit_, TrackerTopology::TOBValues::rod_fw_bwMask_, TrackerTopology::TOBValues::rod_fw_bwStartBit_, TrackerTopology::TOBValues::rodMask_, TrackerTopology::TOBValues::rodStartBit_, edm::ESProducer::setWhatProduced(), TrackerTopology::PixelEndcapValues::sideMask_, TrackerTopology::TECValues::sideMask_, TrackerTopology::TIDValues::sideMask_, TrackerTopology::PixelEndcapValues::sideStartBit_, TrackerTopology::TECValues::sideStartBit_, TrackerTopology::TIDValues::sideStartBit_, TrackerTopology::TECValues::sterMask_, TrackerTopology::TIBValues::sterMask_, TrackerTopology::TIDValues::sterMask_, TrackerTopology::TOBValues::sterMask_, TrackerTopology::TECValues::sterStartBit_, TrackerTopology::TIBValues::sterStartBit_, TrackerTopology::TIDValues::sterStartBit_, TrackerTopology::TOBValues::sterStartBit_, TrackerTopology::TIBValues::str_fw_bwMask_, TrackerTopology::TIBValues::str_fw_bwStartBit_, TrackerTopology::TIBValues::str_int_extMask_, TrackerTopology::TIBValues::str_int_extStartBit_, TrackerTopology::TIBValues::strMask_, TrackerTopology::TIBValues::strStartBit_, tecVals_, tibVals_, tidVals_, tobVals_, TrackerTopology::TECValues::wheelMask_, TrackerTopology::TIDValues::wheelMask_, TrackerTopology::TECValues::wheelStartBit_, and TrackerTopology::TIDValues::wheelStartBit_.

25 {
26  edm::LogInfo("TRACKER") << "TrackerTopologyIdealEP::TrackerTopologyIdealEP";
27 
28  pxbVals_.layerStartBit_=conf.getParameter<unsigned int>("pxb_layerStartBit");
29  pxbVals_.ladderStartBit_=conf.getParameter<unsigned int>("pxb_ladderStartBit");
30  pxbVals_.moduleStartBit_=conf.getParameter<unsigned int>("pxb_moduleStartBit");
31  pxbVals_.layerMask_=conf.getParameter<unsigned int>("pxb_layerMask");
32  pxbVals_.ladderMask_=conf.getParameter<unsigned int>("pxb_ladderMask");
33  pxbVals_.moduleMask_=conf.getParameter<unsigned int>("pxb_moduleMask");
34  pxfVals_.sideStartBit_=conf.getParameter<unsigned int>("pxf_sideStartBit");
35  pxfVals_.diskStartBit_=conf.getParameter<unsigned int>("pxf_diskStartBit");
36  pxfVals_.bladeStartBit_=conf.getParameter<unsigned int>("pxf_bladeStartBit");
37  pxfVals_.panelStartBit_=conf.getParameter<unsigned int>("pxf_panelStartBit");
38  pxfVals_.moduleStartBit_=conf.getParameter<unsigned int>("pxf_moduleStartBit");
39  pxfVals_.sideMask_=conf.getParameter<unsigned int>("pxf_sideMask");
40  pxfVals_.diskMask_=conf.getParameter<unsigned int>("pxf_diskMask");
41  pxfVals_.bladeMask_=conf.getParameter<unsigned int>("pxf_bladeMask");
42  pxfVals_.panelMask_=conf.getParameter<unsigned int>("pxf_panelMask");
43  pxfVals_.moduleMask_=conf.getParameter<unsigned int>("pxf_moduleMask");
44  tecVals_.sideStartBit_=conf.getParameter<unsigned int>("tec_sideStartBit");
45  tecVals_.wheelStartBit_=conf.getParameter<unsigned int>("tec_wheelStartBit");
46  tecVals_.petal_fw_bwStartBit_=conf.getParameter<unsigned int>("tec_petal_fw_bwStartBit");
47  tecVals_.petalStartBit_=conf.getParameter<unsigned int>("tec_petalStartBit");
48  tecVals_.ringStartBit_=conf.getParameter<unsigned int>("tec_ringStartBit");
49  tecVals_.moduleStartBit_=conf.getParameter<unsigned int>("tec_moduleStartBit");
50  tecVals_.sterStartBit_=conf.getParameter<unsigned int>("tec_sterStartBit");
51  tecVals_.sideMask_=conf.getParameter<unsigned int>("tec_sideMask");
52  tecVals_.wheelMask_=conf.getParameter<unsigned int>("tec_wheelMask");
53  tecVals_.petal_fw_bwMask_=conf.getParameter<unsigned int>("tec_petal_fw_bwMask");
54  tecVals_.petalMask_=conf.getParameter<unsigned int>("tec_petalMask");
55  tecVals_.ringMask_=conf.getParameter<unsigned int>("tec_ringMask");
56  tecVals_.moduleMask_=conf.getParameter<unsigned int>("tec_moduleMask");
57  tecVals_.sterMask_=conf.getParameter<unsigned int>("tec_sterMask");
58  tibVals_.layerStartBit_=conf.getParameter<unsigned int>("tib_layerStartBit");
59  tibVals_.str_fw_bwStartBit_=conf.getParameter<unsigned int>("tib_str_fw_bwStartBit");
60  tibVals_.str_int_extStartBit_=conf.getParameter<unsigned int>("tib_str_int_extStartBit");
61  tibVals_.strStartBit_=conf.getParameter<unsigned int>("tib_strStartBit");
62  tibVals_.moduleStartBit_=conf.getParameter<unsigned int>("tib_moduleStartBit");
63  tibVals_.sterStartBit_=conf.getParameter<unsigned int>("tib_sterStartBit");
64  tibVals_.layerMask_=conf.getParameter<unsigned int>("tib_layerMask");
65  tibVals_.str_fw_bwMask_=conf.getParameter<unsigned int>("tib_str_fw_bwMask");
66  tibVals_.str_int_extMask_=conf.getParameter<unsigned int>("tib_str_int_extMask");
67  tibVals_.strMask_=conf.getParameter<unsigned int>("tib_strMask");
68  tibVals_.moduleMask_=conf.getParameter<unsigned int>("tib_moduleMask");
69  tibVals_.sterMask_=conf.getParameter<unsigned int>("tib_sterMask");
70  tidVals_.sideStartBit_=conf.getParameter<unsigned int>("tid_sideStartBit");
71  tidVals_.wheelStartBit_=conf.getParameter<unsigned int>("tid_wheelStartBit");
72  tidVals_.ringStartBit_=conf.getParameter<unsigned int>("tid_ringStartBit");
73  tidVals_.module_fw_bwStartBit_=conf.getParameter<unsigned int>("tid_module_fw_bwStartBit");
74  tidVals_.moduleStartBit_=conf.getParameter<unsigned int>("tid_moduleStartBit");
75  tidVals_.sterStartBit_=conf.getParameter<unsigned int>("tid_sterStartBit");
76  tidVals_.sideMask_=conf.getParameter<unsigned int>("tid_sideMask");
77  tidVals_.wheelMask_=conf.getParameter<unsigned int>("tid_wheelMask");
78  tidVals_.ringMask_=conf.getParameter<unsigned int>("tid_ringMask");
79  tidVals_.module_fw_bwMask_=conf.getParameter<unsigned int>("tid_module_fw_bwMask");
80  tidVals_.moduleMask_=conf.getParameter<unsigned int>("tid_moduleMask");
81  tidVals_.sterMask_=conf.getParameter<unsigned int>("tid_sterMask");
82  tobVals_.layerStartBit_=conf.getParameter<unsigned int>("tob_layerStartBit");
83  tobVals_.rod_fw_bwStartBit_=conf.getParameter<unsigned int>("tob_rod_fw_bwStartBit");
84  tobVals_.rodStartBit_=conf.getParameter<unsigned int>("tob_rodStartBit");
85  tobVals_.moduleStartBit_=conf.getParameter<unsigned int>("tob_moduleStartBit");
86  tobVals_.sterStartBit_=conf.getParameter<unsigned int>("tob_sterStartBit");
87  tobVals_.layerMask_=conf.getParameter<unsigned int>("tob_layerMask");
88  tobVals_.rod_fw_bwMask_=conf.getParameter<unsigned int>("tob_rod_fw_bwMask");
89  tobVals_.rodMask_=conf.getParameter<unsigned int>("tob_rodMask");
90  tobVals_.moduleMask_=conf.getParameter<unsigned int>("tob_moduleMask");
91  tobVals_.sterMask_=conf.getParameter<unsigned int>("tob_sterMask");
92 
93  setWhatProduced(this);
94 }
TrackerTopology::TOBValues tobVals_
T getParameter(std::string const &) const
TrackerTopology::TIBValues tibVals_
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
TrackerTopology::PixelBarrelValues pxbVals_
TrackerTopology::PixelEndcapValues pxfVals_
unsigned int module_fw_bwStartBit_
TrackerTopology::TIDValues tidVals_
TrackerTopology::TECValues tecVals_
TrackerTopologyEP::~TrackerTopologyEP ( )

Definition at line 97 of file TrackerTopologyEP.cc.

98 {
99 }

Member Function Documentation

void TrackerTopologyEP::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 102 of file TrackerTopologyEP.cc.

References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().

103 {
105  ttc.add<unsigned int>("pxb_layerStartBit",16);
106  ttc.add<unsigned int>("pxb_ladderStartBit",8);
107  ttc.add<unsigned int>("pxb_moduleStartBit",2);
108  ttc.add<unsigned int>("pxb_layerMask",0xF);
109  ttc.add<unsigned int>("pxb_ladderMask",0xFF);
110  ttc.add<unsigned int>("pxb_moduleMask",0x3F);
111 
112  ttc.add<unsigned int>("pxf_sideStartBit",23);
113  ttc.add<unsigned int>("pxf_diskStartBit",16);
114  ttc.add<unsigned int>("pxf_bladeStartBit",10);
115  ttc.add<unsigned int>("pxf_panelStartBit",8);
116  ttc.add<unsigned int>("pxf_moduleStartBit",2);
117  ttc.add<unsigned int>("pxf_sideMask",0x3);
118  ttc.add<unsigned int>("pxf_diskMask",0xF);
119  ttc.add<unsigned int>("pxf_bladeMask",0x3F);
120  ttc.add<unsigned int>("pxf_panelMask",0x3);
121  ttc.add<unsigned int>("pxf_moduleMask",0x3F);
122 
123  ttc.add<unsigned int>("tec_sideStartBit",18);
124  ttc.add<unsigned int>("tec_wheelStartBit",14);
125  ttc.add<unsigned int>("tec_petal_fw_bwStartBit",12);
126  ttc.add<unsigned int>("tec_petalStartBit",8);
127  ttc.add<unsigned int>("tec_ringStartBit",5);
128  ttc.add<unsigned int>("tec_moduleStartBit",2);
129  ttc.add<unsigned int>("tec_sterStartBit",0);
130  ttc.add<unsigned int>("tec_sideMask",0x3);
131  ttc.add<unsigned int>("tec_wheelMask",0xF);
132  ttc.add<unsigned int>("tec_petal_fw_bwMask",0x3);
133  ttc.add<unsigned int>("tec_petalMask",0xF);
134  ttc.add<unsigned int>("tec_ringMask",0x7);
135  ttc.add<unsigned int>("tec_moduleMask",0x7);
136  ttc.add<unsigned int>("tec_sterMask",0x3);
137 
138  ttc.add<unsigned int>("tib_layerStartBit",14);
139  ttc.add<unsigned int>("tib_str_fw_bwStartBit",12);
140  ttc.add<unsigned int>("tib_str_int_extStartBit",10);
141  ttc.add<unsigned int>("tib_strStartBit",4);
142  ttc.add<unsigned int>("tib_moduleStartBit",2);
143  ttc.add<unsigned int>("tib_sterStartBit",0);
144  ttc.add<unsigned int>("tib_layerMask",0x7);
145  ttc.add<unsigned int>("tib_str_fw_bwMask",0x3);
146  ttc.add<unsigned int>("tib_str_int_extMask",0x3);
147  ttc.add<unsigned int>("tib_strMask",0x3F);
148  ttc.add<unsigned int>("tib_moduleMask",0x3);
149  ttc.add<unsigned int>("tib_sterMask",0x3);
150 
151  ttc.add<unsigned int>("tid_sideStartBit",13);
152  ttc.add<unsigned int>("tid_wheelStartBit",11);
153  ttc.add<unsigned int>("tid_ringStartBit",9);
154  ttc.add<unsigned int>("tid_module_fw_bwStartBit",7);
155  ttc.add<unsigned int>("tid_moduleStartBit",2);
156  ttc.add<unsigned int>("tid_sterStartBit",0);
157  ttc.add<unsigned int>("tid_sideMask",0x3);
158  ttc.add<unsigned int>("tid_wheelMask",0x3);
159  ttc.add<unsigned int>("tid_ringMask",0x3);
160  ttc.add<unsigned int>("tid_module_fw_bwMask",0x3);
161  ttc.add<unsigned int>("tid_moduleMask",0x1F);
162  ttc.add<unsigned int>("tid_sterMask",0x3);
163 
164  ttc.add<unsigned int>("tob_layerStartBit",14);
165  ttc.add<unsigned int>("tob_rod_fw_bwStartBit",12);
166  ttc.add<unsigned int>("tob_rodStartBit",5);
167  ttc.add<unsigned int>("tob_moduleStartBit",2);
168  ttc.add<unsigned int>("tob_sterStartBit",0);
169  ttc.add<unsigned int>("tob_layerMask",0x7);
170  ttc.add<unsigned int>("tob_rod_fw_bwMask",0x3);
171  ttc.add<unsigned int>("tob_rodMask",0x7F);
172  ttc.add<unsigned int>("tob_moduleMask",0x7);
173  ttc.add<unsigned int>("tob_sterMask",0x3);
174 
175  descriptions.add( "trackerTopologyConstants", ttc );
176 
178  ttcphase1.add<unsigned int>("pxb_layerStartBit",20);
179  ttcphase1.add<unsigned int>("pxb_ladderStartBit",12);
180  ttcphase1.add<unsigned int>("pxb_moduleStartBit",2);
181  ttcphase1.add<unsigned int>("pxb_layerMask",0xF);
182  ttcphase1.add<unsigned int>("pxb_ladderMask",0xFF);
183  ttcphase1.add<unsigned int>("pxb_moduleMask",0x3FF);
184 
185  ttcphase1.add<unsigned int>("pxf_sideStartBit",23);
186  ttcphase1.add<unsigned int>("pxf_diskStartBit",18);
187  ttcphase1.add<unsigned int>("pxf_bladeStartBit",12);
188  ttcphase1.add<unsigned int>("pxf_panelStartBit",10);
189  ttcphase1.add<unsigned int>("pxf_moduleStartBit",2);
190  ttcphase1.add<unsigned int>("pxf_sideMask",0x3);
191  ttcphase1.add<unsigned int>("pxf_diskMask",0xF);
192  ttcphase1.add<unsigned int>("pxf_bladeMask",0x3F);
193  ttcphase1.add<unsigned int>("pxf_panelMask",0x3);
194  ttcphase1.add<unsigned int>("pxf_moduleMask",0xFF);
195 
196  ttcphase1.add<unsigned int>("tec_sideStartBit",18);
197  ttcphase1.add<unsigned int>("tec_wheelStartBit",14);
198  ttcphase1.add<unsigned int>("tec_petal_fw_bwStartBit",12);
199  ttcphase1.add<unsigned int>("tec_petalStartBit",8);
200  ttcphase1.add<unsigned int>("tec_ringStartBit",5);
201  ttcphase1.add<unsigned int>("tec_moduleStartBit",2);
202  ttcphase1.add<unsigned int>("tec_sterStartBit",0);
203  ttcphase1.add<unsigned int>("tec_sideMask",0x3);
204  ttcphase1.add<unsigned int>("tec_wheelMask",0xF);
205  ttcphase1.add<unsigned int>("tec_petal_fw_bwMask",0x3);
206  ttcphase1.add<unsigned int>("tec_petalMask",0xF);
207  ttcphase1.add<unsigned int>("tec_ringMask",0x7);
208  ttcphase1.add<unsigned int>("tec_moduleMask",0x7);
209  ttcphase1.add<unsigned int>("tec_sterMask",0x3);
210 
211  ttcphase1.add<unsigned int>("tib_layerStartBit",14);
212  ttcphase1.add<unsigned int>("tib_str_fw_bwStartBit",12);
213  ttcphase1.add<unsigned int>("tib_str_int_extStartBit",10);
214  ttcphase1.add<unsigned int>("tib_strStartBit",4);
215  ttcphase1.add<unsigned int>("tib_moduleStartBit",2);
216  ttcphase1.add<unsigned int>("tib_sterStartBit",0);
217  ttcphase1.add<unsigned int>("tib_layerMask",0x7);
218  ttcphase1.add<unsigned int>("tib_str_fw_bwMask",0x3);
219  ttcphase1.add<unsigned int>("tib_str_int_extMask",0x3);
220  ttcphase1.add<unsigned int>("tib_strMask",0x3F);
221  ttcphase1.add<unsigned int>("tib_moduleMask",0x3);
222  ttcphase1.add<unsigned int>("tib_sterMask",0x3);
223 
224  ttcphase1.add<unsigned int>("tid_sideStartBit",13);
225  ttcphase1.add<unsigned int>("tid_wheelStartBit",11);
226  ttcphase1.add<unsigned int>("tid_ringStartBit",9);
227  ttcphase1.add<unsigned int>("tid_module_fw_bwStartBit",7);
228  ttcphase1.add<unsigned int>("tid_moduleStartBit",2);
229  ttcphase1.add<unsigned int>("tid_sterStartBit",0);
230  ttcphase1.add<unsigned int>("tid_sideMask",0x3);
231  ttcphase1.add<unsigned int>("tid_wheelMask",0x3);
232  ttcphase1.add<unsigned int>("tid_ringMask",0x3);
233  ttcphase1.add<unsigned int>("tid_module_fw_bwMask",0x3);
234  ttcphase1.add<unsigned int>("tid_moduleMask",0x1F);
235  ttcphase1.add<unsigned int>("tid_sterMask",0x3);
236 
237  ttcphase1.add<unsigned int>("tob_layerStartBit",14);
238  ttcphase1.add<unsigned int>("tob_rod_fw_bwStartBit",12);
239  ttcphase1.add<unsigned int>("tob_rodStartBit",5);
240  ttcphase1.add<unsigned int>("tob_moduleStartBit",2);
241  ttcphase1.add<unsigned int>("tob_sterStartBit",0);
242  ttcphase1.add<unsigned int>("tob_layerMask",0x7);
243  ttcphase1.add<unsigned int>("tob_rod_fw_bwMask",0x3);
244  ttcphase1.add<unsigned int>("tob_rodMask",0x7F);
245  ttcphase1.add<unsigned int>("tob_moduleMask",0x7);
246  ttcphase1.add<unsigned int>("tob_sterMask",0x3);
247 
248  descriptions.add( "trackerTopology2017Constants", ttcphase1 );
249 
251  ttcphase2.add<unsigned int>("pxb_layerStartBit",20);
252  ttcphase2.add<unsigned int>("pxb_ladderStartBit",12);
253  ttcphase2.add<unsigned int>("pxb_moduleStartBit",2);
254  ttcphase2.add<unsigned int>("pxb_layerMask",0xF);
255  ttcphase2.add<unsigned int>("pxb_ladderMask",0xFF);
256  ttcphase2.add<unsigned int>("pxb_moduleMask",0x3FF);
257 
258  ttcphase2.add<unsigned int>("pxf_sideStartBit",23);
259  ttcphase2.add<unsigned int>("pxf_diskStartBit",18);
260  ttcphase2.add<unsigned int>("pxf_bladeStartBit",12);
261  ttcphase2.add<unsigned int>("pxf_panelStartBit",10);
262  ttcphase2.add<unsigned int>("pxf_moduleStartBit",2);
263  ttcphase2.add<unsigned int>("pxf_sideMask",0x3);
264  ttcphase2.add<unsigned int>("pxf_diskMask",0xF);
265  ttcphase2.add<unsigned int>("pxf_bladeMask",0x3F);
266  ttcphase2.add<unsigned int>("pxf_panelMask",0x3);
267  ttcphase2.add<unsigned int>("pxf_moduleMask",0xFF);
268 
269  ttcphase2.add<unsigned int>("tec_sideStartBit",18);
270  ttcphase2.add<unsigned int>("tec_wheelStartBit",14);
271  ttcphase2.add<unsigned int>("tec_petal_fw_bwStartBit",12);
272  ttcphase2.add<unsigned int>("tec_petalStartBit",8);
273  ttcphase2.add<unsigned int>("tec_ringStartBit",5);
274  ttcphase2.add<unsigned int>("tec_moduleStartBit",2);
275  ttcphase2.add<unsigned int>("tec_sterStartBit",0);
276  ttcphase2.add<unsigned int>("tec_sideMask",0x3);
277  ttcphase2.add<unsigned int>("tec_wheelMask",0xF);
278  ttcphase2.add<unsigned int>("tec_petal_fw_bwMask",0x3);
279  ttcphase2.add<unsigned int>("tec_petalMask",0xF);
280  ttcphase2.add<unsigned int>("tec_ringMask",0x7);
281  ttcphase2.add<unsigned int>("tec_moduleMask",0x7);
282  ttcphase2.add<unsigned int>("tec_sterMask",0x3);
283 
284  ttcphase2.add<unsigned int>("tib_layerStartBit",14);
285  ttcphase2.add<unsigned int>("tib_str_fw_bwStartBit",12);
286  ttcphase2.add<unsigned int>("tib_str_int_extStartBit",10);
287  ttcphase2.add<unsigned int>("tib_strStartBit",4);
288  ttcphase2.add<unsigned int>("tib_moduleStartBit",2);
289  ttcphase2.add<unsigned int>("tib_sterStartBit",0);
290  ttcphase2.add<unsigned int>("tib_layerMask",0x7);
291  ttcphase2.add<unsigned int>("tib_str_fw_bwMask",0x3);
292  ttcphase2.add<unsigned int>("tib_str_int_extMask",0x3);
293  ttcphase2.add<unsigned int>("tib_strMask",0x3F);
294  ttcphase2.add<unsigned int>("tib_moduleMask",0x3);
295  ttcphase2.add<unsigned int>("tib_sterMask",0x3);
296 
297  ttcphase2.add<unsigned int>("tid_sideStartBit",23);
298  ttcphase2.add<unsigned int>("tid_wheelStartBit",18);
299  ttcphase2.add<unsigned int>("tid_ringStartBit",12);
300  ttcphase2.add<unsigned int>("tid_module_fw_bwStartBit",10);
301  ttcphase2.add<unsigned int>("tid_moduleStartBit",2);
302  ttcphase2.add<unsigned int>("tid_sterStartBit",0);
303  ttcphase2.add<unsigned int>("tid_sideMask",0x3);
304  ttcphase2.add<unsigned int>("tid_wheelMask",0xF);
305  ttcphase2.add<unsigned int>("tid_ringMask",0x3F);
306  ttcphase2.add<unsigned int>("tid_module_fw_bwMask",0x3);
307  ttcphase2.add<unsigned int>("tid_moduleMask",0xFF);
308  ttcphase2.add<unsigned int>("tid_sterMask",0x3);
309 
310  ttcphase2.add<unsigned int>("tob_layerStartBit",20);
311  ttcphase2.add<unsigned int>("tob_rod_fw_bwStartBit",12);
312  ttcphase2.add<unsigned int>("tob_rodStartBit",12);
313  ttcphase2.add<unsigned int>("tob_moduleStartBit",2);
314  ttcphase2.add<unsigned int>("tob_sterStartBit",0);
315  ttcphase2.add<unsigned int>("tob_layerMask",0xF);
316  ttcphase2.add<unsigned int>("tob_rod_fw_bwMask",0x0);
317  ttcphase2.add<unsigned int>("tob_rodMask",0xFF);
318  ttcphase2.add<unsigned int>("tob_moduleMask",0x3FF);
319  ttcphase2.add<unsigned int>("tob_sterMask",0x3);
320 
321  descriptions.add( "trackerTopology2023Constants", ttcphase2 );
322 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
TrackerTopologyEP::ReturnType TrackerTopologyEP::produce ( const IdealGeometryRecord iRecord)

Definition at line 330 of file TrackerTopologyEP.cc.

References pxbVals_, pxfVals_, tecVals_, tibVals_, tidVals_, and tobVals_.

331 {
332  edm::LogInfo("TrackerTopologyEP") << "TrackerTopologyIdealEP::produce(const IdealGeometryRecord& iRecord)";
333 
335 
336  return myTopo ;
337 }
TrackerTopology::TOBValues tobVals_
TrackerTopology::TIBValues tibVals_
TrackerTopology::PixelBarrelValues pxbVals_
TrackerTopology::PixelEndcapValues pxfVals_
TrackerTopology::TIDValues tidVals_
boost::shared_ptr< TrackerTopology > ReturnType
TrackerTopology::TECValues tecVals_

Member Data Documentation

TrackerTopology::PixelBarrelValues TrackerTopologyEP::pxbVals_
private

Definition at line 40 of file TrackerTopologyEP.h.

Referenced by produce(), and TrackerTopologyEP().

TrackerTopology::PixelEndcapValues TrackerTopologyEP::pxfVals_
private

Definition at line 41 of file TrackerTopologyEP.h.

Referenced by produce(), and TrackerTopologyEP().

TrackerTopology::TECValues TrackerTopologyEP::tecVals_
private

Definition at line 42 of file TrackerTopologyEP.h.

Referenced by produce(), and TrackerTopologyEP().

TrackerTopology::TIBValues TrackerTopologyEP::tibVals_
private

Definition at line 43 of file TrackerTopologyEP.h.

Referenced by produce(), and TrackerTopologyEP().

TrackerTopology::TIDValues TrackerTopologyEP::tidVals_
private

Definition at line 44 of file TrackerTopologyEP.h.

Referenced by produce(), and TrackerTopologyEP().

TrackerTopology::TOBValues TrackerTopologyEP::tobVals_
private

Definition at line 45 of file TrackerTopologyEP.h.

Referenced by produce(), and TrackerTopologyEP().