CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
SiStripBadModuleConfigurableFakeESSource Class Reference
Inheritance diagram for SiStripBadModuleConfigurableFakeESSource:
edm::ESProducer edm::EventSetupRecordIntervalFinder edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

Public Types

typedef std::unique_ptr< SiStripBadStripReturnType
 

Public Member Functions

ReturnType produce (const SiStripBadModuleRcd &)
 
void setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity) override
 
 SiStripBadModuleConfigurableFakeESSource (const edm::ParameterSet &)
 
 ~SiStripBadModuleConfigurableFakeESSource () 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)
 
- Public Member Functions inherited from edm::EventSetupRecordIntervalFinder
bool concurrentFinder () const
 
const eventsetup::ComponentDescriptiondescriptionForFinder () const
 
 EventSetupRecordIntervalFinder ()
 
 EventSetupRecordIntervalFinder (const EventSetupRecordIntervalFinder &)=delete
 
std::set< eventsetup::EventSetupRecordKeyfindingForRecords () const
 
const ValidityIntervalfindIntervalFor (const eventsetup::EventSetupRecordKey &, const IOVSyncValue &)
 
bool nonconcurrentAndIOVNeedsUpdate (const eventsetup::EventSetupRecordKey &key, const IOVSyncValue &syncValue) const
 
const EventSetupRecordIntervalFinderoperator= (const EventSetupRecordIntervalFinder &)=delete
 
void resetInterval (const eventsetup::EventSetupRecordKey &)
 
void setDescriptionForFinder (const eventsetup::ComponentDescription &iDescription)
 
virtual ~EventSetupRecordIntervalFinder () noexcept(false)
 

Private Types

using Parameters = std::vector< edm::ParameterSet >
 

Private Member Functions

std::vector< std::pair< uint32_t, std::vector< uint32_t > > > selectAPVs () const
 
std::vector< uint32_t > selectDetectors (const TrackerTopology *tTopo, const std::vector< uint32_t > &detIds) const
 

Private Attributes

Parameters m_badAPVsList
 
Parameters m_badComponentList
 
SiStripDetInfoFileReader m_detInfoFileReader
 
bool m_doByAPVs
 
bool m_printDebug
 
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcdtrackTopoToken_
 

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)
 
- Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder
template<class T >
void findingRecord ()
 
void findingRecordWithKey (const eventsetup::EventSetupRecordKey &)
 

Detailed Description

Description: "fake" SiStripBadStrip ESProducer - configurable list of bad modules

Implementation: Port of SiStripBadModuleGenerator and templated fake ESSource to an edm::ESProducer

Definition at line 29 of file SiStripBadModuleConfigurableFakeESSource.cc.

Member Typedef Documentation

◆ Parameters

Definition at line 42 of file SiStripBadModuleConfigurableFakeESSource.cc.

◆ ReturnType

Definition at line 38 of file SiStripBadModuleConfigurableFakeESSource.cc.

Constructor & Destructor Documentation

◆ SiStripBadModuleConfigurableFakeESSource()

SiStripBadModuleConfigurableFakeESSource::SiStripBadModuleConfigurableFakeESSource ( const edm::ParameterSet iConfig)

Definition at line 57 of file SiStripBadModuleConfigurableFakeESSource.cc.

58  : trackTopoToken_(setWhatProduced(this).consumes()) {
59  findingRecord<SiStripBadModuleRcd>();
60 
61  m_badComponentList = iConfig.getUntrackedParameter<Parameters>("BadComponentList");
62  m_doByAPVs = iConfig.getUntrackedParameter<bool>("doByAPVs", false);
63  m_badAPVsList = iConfig.getUntrackedParameter<Parameters>("BadAPVList");
64  m_printDebug = iConfig.getUntrackedParameter<bool>("printDebug", false);
66  SiStripDetInfoFileReader{iConfig.getParameter<edm::FileInPath>("SiStripDetInfoFile").fullPath()};
67 }

References contentValuesFiles::fullPath, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_badAPVsList, m_badComponentList, m_detInfoFileReader, m_doByAPVs, and m_printDebug.

◆ ~SiStripBadModuleConfigurableFakeESSource()

SiStripBadModuleConfigurableFakeESSource::~SiStripBadModuleConfigurableFakeESSource ( )
override

Definition at line 69 of file SiStripBadModuleConfigurableFakeESSource.cc.

69 {}

Member Function Documentation

◆ produce()

SiStripBadModuleConfigurableFakeESSource::ReturnType SiStripBadModuleConfigurableFakeESSource::produce ( const SiStripBadModuleRcd iRecord)

Definition at line 78 of file SiStripBadModuleConfigurableFakeESSource.cc.

79  {
80  using namespace edm::es;
81 
82  TrackerTopology const& tTopo = iRecord.get(trackTopoToken_);
83 
84  auto quality = std::make_unique<SiStripQuality>();
85 
86  if (!m_doByAPVs) {
87  std::vector<uint32_t> selDetIds{selectDetectors(&tTopo, m_detInfoFileReader.getAllDetIds())};
88  edm::LogInfo("SiStripQualityConfigurableFakeESSource")
89  << "[produce] number of selected dets to be removed " << selDetIds.size() << std::endl;
90 
91  std::stringstream ss;
92  for (const auto selId : selDetIds) {
93  SiStripQuality::InputVector theSiStripVector;
94 
95  unsigned short firstBadStrip{0};
96  unsigned short NconsecutiveBadStrips = m_detInfoFileReader.getNumberOfApvsAndStripLength(selId).first * 128;
97  unsigned int theBadStripRange{quality->encode(firstBadStrip, NconsecutiveBadStrips)};
98 
99  if (m_printDebug) {
100  ss << "detid " << selId << " \t"
101  << " firstBadStrip " << firstBadStrip << "\t "
102  << " NconsecutiveBadStrips " << NconsecutiveBadStrips << "\t "
103  << " packed integer " << std::hex << theBadStripRange << std::dec << std::endl;
104  }
105 
106  theSiStripVector.push_back(theBadStripRange);
107 
108  if (!quality->put(selId, SiStripBadStrip::Range{theSiStripVector.begin(), theSiStripVector.end()})) {
109  edm::LogError("SiStripQualityConfigurableFakeESSource") << "[produce] detid already exists";
110  }
111  }
112  if (m_printDebug) {
113  edm::LogInfo("SiStripQualityConfigurableFakeESSource") << ss.str();
114  }
115  quality->cleanUp();
116  //quality->fillBadComponents();
117  } else {
118  std::vector<std::pair<uint32_t, std::vector<uint32_t>>> selAPVs{selectAPVs()};
119  edm::LogInfo("SiStripQualityConfigurableFakeESSource")
120  << "[produce] number of selected dets to be removed " << selAPVs.size() << std::endl;
121 
122  std::stringstream ss;
123  for (const auto& selId : selAPVs) {
124  SiStripQuality::InputVector theSiStripVector;
125  auto the_detid = selId.first;
126 
127  for (const auto apv : selId.second) {
128  unsigned short firstBadStrip = apv * 128;
129  unsigned short NconsecutiveBadStrips = 128;
130  unsigned int theBadStripRange{quality->encode(firstBadStrip, NconsecutiveBadStrips)};
131 
132  if (m_printDebug) {
133  ss << "detid " << the_detid << " \t"
134  << " firstBadStrip " << firstBadStrip << "\t "
135  << " NconsecutiveBadStrips " << NconsecutiveBadStrips << "\t "
136  << " packed integer " << std::hex << theBadStripRange << std::dec << std::endl;
137  }
138 
139  theSiStripVector.push_back(theBadStripRange);
140  }
141 
142  if (!quality->put(the_detid, SiStripBadStrip::Range{theSiStripVector.begin(), theSiStripVector.end()})) {
143  edm::LogError("SiStripQualityConfigurableFakeESSource") << "[produce] detid already exists";
144  }
145  } // loop on the packed list of detid/apvs
146 
147  if (m_printDebug) {
148  edm::LogInfo("SiStripQualityConfigurableFakeESSource") << ss.str();
149  }
150  quality->cleanUp();
151 
152  } // do it by APVs
153 
154  if (m_printDebug) {
155  std::stringstream ss1;
156  for (const auto& badComp : quality->getBadComponentList()) {
157  ss1 << "bad module " << badComp.detid << " " << badComp.BadModule << "\n";
158  }
159  edm::LogInfo("SiStripQualityConfigurableFakeESSource") << ss1.str();
160  }
161 
162  return quality;
163 }

References TauDecayModes::dec, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), SiStripDetInfoFileReader::getAllDetIds(), SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), m_detInfoFileReader, m_doByAPVs, m_printDebug, quality, selectAPVs(), selectDetectors(), contentValuesCheck::ss, and trackTopoToken_.

◆ selectAPVs()

std::vector< std::pair< uint32_t, std::vector< uint32_t > > > SiStripBadModuleConfigurableFakeESSource::selectAPVs ( ) const
private

Definition at line 185 of file SiStripBadModuleConfigurableFakeESSource.cc.

185  {
186  std::vector<std::pair<uint32_t, std::vector<uint32_t>>> selList;
187  selList.clear();
188 
189  for (const auto& badAPV : m_badAPVsList) {
190  const uint32_t det{badAPV.getParameter<uint32_t>("DetId")};
191  std::vector<uint32_t> apvs{badAPV.getParameter<std::vector<uint32_t>>("APVs")};
192  auto pair = std::make_pair(det, apvs);
193  selList.push_back(pair);
194  }
195  return selList;
196 }

References m_badAPVsList.

Referenced by produce().

◆ selectDetectors()

std::vector< uint32_t > SiStripBadModuleConfigurableFakeESSource::selectDetectors ( const TrackerTopology tTopo,
const std::vector< uint32_t > &  detIds 
) const
private

Definition at line 198 of file SiStripBadModuleConfigurableFakeESSource.cc.

199  {
200  std::vector<uint32_t> selList;
201  std::stringstream ss;
202  for (const auto& badComp : m_badComponentList) {
203  const std::string subDetStr{badComp.getParameter<std::string>("SubDet")};
204  if (m_printDebug)
205  ss << "Bad SubDet " << subDetStr << " \t";
206  const SiStripDetId::SubDetector subDet = subDetFromString(subDetStr);
207 
208  const std::vector<uint32_t> genericBadDetIds{
209  badComp.getUntrackedParameter<std::vector<uint32_t>>("detidList", std::vector<uint32_t>())};
210  const bool anySubDet{!genericBadDetIds.empty()};
211 
212  std::cout << "genericBadDetIds.size() = " << genericBadDetIds.size() << std::endl;
213 
214  using DetIdIt = std::vector<uint32_t>::const_iterator;
215  const DetIdIt beginDetIt = std::lower_bound(
216  detIds.begin(), detIds.end(), DetId(DetId::Tracker, anySubDet ? SiStripDetId::TIB : subDet).rawId());
217  const DetIdIt endDetIt = std::lower_bound(
218  detIds.begin(), detIds.end(), DetId(DetId::Tracker, anySubDet ? SiStripDetId::TEC + 1 : subDet + 1).rawId());
219 
220  if (anySubDet) {
221  std::copy_if(beginDetIt, endDetIt, std::back_inserter(selList), [&genericBadDetIds](uint32_t detId) {
222  std::cout << "AnySubDet" << detId << std::endl;
223  return std::find(genericBadDetIds.begin(), genericBadDetIds.end(), detId) != genericBadDetIds.end();
224  });
225  } else {
226  switch (subDet) {
227  case SiStripDetId::TIB:
228  std::copy_if(beginDetIt, endDetIt, std::back_inserter(selList), [tTopo, &badComp](uint32_t detectorId) {
229  const DetId detId{detectorId};
230  return ((detId.subdetId() == SiStripDetId::TIB) &&
231  _isSel(badComp.getParameter<uint32_t>("layer"), tTopo->tibLayer(detId)) &&
232  _isSel(badComp.getParameter<uint32_t>("bkw_frw"), tTopo->tibIsZPlusSide(detId) ? 2 : 1) &&
233  _isSel(badComp.getParameter<uint32_t>("int_ext"), tTopo->tibIsInternalString(detId) ? 1 : 2) &&
234  _isSel(badComp.getParameter<uint32_t>("ster"),
235  tTopo->tibIsStereo(detId) ? 1 : (tTopo->tibIsRPhi(detId) ? 2 : -1)) &&
236  _isSel(badComp.getParameter<uint32_t>("string_"), tTopo->tibString(detId)) &&
237  _isSel(badComp.getParameter<uint32_t>("detid"), detId.rawId()));
238  });
239  break;
240  case SiStripDetId::TID:
241  std::copy_if(beginDetIt, endDetIt, std::back_inserter(selList), [tTopo, &badComp](uint32_t detectorId) {
242  const DetId detId{detectorId};
243  return ((detId.subdetId() == SiStripDetId::TID) &&
244  _isSel(badComp.getParameter<uint32_t>("wheel"), tTopo->tidWheel(detId)) &&
245  _isSel(badComp.getParameter<uint32_t>("side"), tTopo->tidIsZPlusSide(detId) ? 2 : 1) &&
246  _isSel(badComp.getParameter<uint32_t>("ster"),
247  tTopo->tidIsStereo(detId) ? 1 : (tTopo->tidIsRPhi(detId) ? 2 : -1)) &&
248  _isSel(badComp.getParameter<uint32_t>("ring"), tTopo->tidRing(detId)) &&
249  _isSel(badComp.getParameter<uint32_t>("detid"), detId.rawId()));
250  });
251  break;
252  case SiStripDetId::TOB:
253  std::copy_if(beginDetIt, endDetIt, std::back_inserter(selList), [tTopo, &badComp](uint32_t detectorId) {
254  const DetId detId{detectorId};
255  return ((detId.subdetId() == SiStripDetId::TOB) &&
256  _isSel(badComp.getParameter<uint32_t>("layer"), tTopo->tobLayer(detId)) &&
257  _isSel(badComp.getParameter<uint32_t>("bkw_frw"), tTopo->tobIsZPlusSide(detId) ? 2 : 1) &&
258  _isSel(badComp.getParameter<uint32_t>("ster"),
259  tTopo->tobIsStereo(detId) ? 1 : (tTopo->tobIsRPhi(detId) ? 2 : -1)) &&
260  _isSel(badComp.getParameter<uint32_t>("rod"), tTopo->tobRod(detId)) &&
261  _isSel(badComp.getParameter<uint32_t>("detid"), detId.rawId()));
262  });
263  break;
264  case SiStripDetId::TEC:
265  std::copy_if(beginDetIt, endDetIt, std::back_inserter(selList), [tTopo, &badComp](uint32_t detectorId) {
266  const DetId detId{detectorId};
267  return ((detId.subdetId() == SiStripDetId::TEC) &&
268  _isSel(badComp.getParameter<uint32_t>("wheel"), tTopo->tecWheel(detId)) &&
269  _isSel(badComp.getParameter<uint32_t>("side"), tTopo->tecIsZPlusSide(detId) ? 2 : 1) &&
270  _isSel(badComp.getParameter<uint32_t>("ster"), tTopo->tecIsStereo(detId) ? 1 : 2) &&
271  _isSel(badComp.getParameter<uint32_t>("petal_bkw_frw"), tTopo->tecIsFrontPetal(detId) ? 2 : 2) &&
272  _isSel(badComp.getParameter<uint32_t>("petal"), tTopo->tecPetalNumber(detId)) &&
273  _isSel(badComp.getParameter<uint32_t>("ring"), tTopo->tecRing(detId)) &&
274  _isSel(badComp.getParameter<uint32_t>("detid"), detId.rawId()));
275  });
276  break;
277  default:
278  break;
279  }
280  }
281  }
282  if (m_printDebug) {
283  edm::LogInfo("SiStripBadModuleGenerator") << ss.str();
284  }
285  return selList;
286 }

References gather_cfg::cout, spr::find(), pfDeepBoostedJetPreprocessParams_cfi::lower_bound, m_badComponentList, m_printDebug, DetId::rawId(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, SiStripDetId::TEC, TrackerTopology::tecIsFrontPetal(), TrackerTopology::tecIsStereo(), TrackerTopology::tecIsZPlusSide(), TrackerTopology::tecPetalNumber(), TrackerTopology::tecRing(), TrackerTopology::tecWheel(), SiStripDetId::TIB, TrackerTopology::tibIsInternalString(), TrackerTopology::tibIsRPhi(), TrackerTopology::tibIsStereo(), TrackerTopology::tibIsZPlusSide(), TrackerTopology::tibLayer(), TrackerTopology::tibString(), SiStripDetId::TID, TrackerTopology::tidIsRPhi(), TrackerTopology::tidIsStereo(), TrackerTopology::tidIsZPlusSide(), TrackerTopology::tidRing(), TrackerTopology::tidWheel(), SiStripDetId::TOB, TrackerTopology::tobIsRPhi(), TrackerTopology::tobIsStereo(), TrackerTopology::tobIsZPlusSide(), TrackerTopology::tobLayer(), TrackerTopology::tobRod(), and DetId::Tracker.

Referenced by produce().

◆ setIntervalFor()

void SiStripBadModuleConfigurableFakeESSource::setIntervalFor ( const edm::eventsetup::EventSetupRecordKey ,
const edm::IOVSyncValue iov,
edm::ValidityInterval iValidity 
)
overridevirtual

Member Data Documentation

◆ m_badAPVsList

Parameters SiStripBadModuleConfigurableFakeESSource::m_badAPVsList
private

◆ m_badComponentList

Parameters SiStripBadModuleConfigurableFakeESSource::m_badComponentList
private

◆ m_detInfoFileReader

SiStripDetInfoFileReader SiStripBadModuleConfigurableFakeESSource::m_detInfoFileReader
private

◆ m_doByAPVs

bool SiStripBadModuleConfigurableFakeESSource::m_doByAPVs
private

◆ m_printDebug

bool SiStripBadModuleConfigurableFakeESSource::m_printDebug
private

◆ trackTopoToken_

const edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> SiStripBadModuleConfigurableFakeESSource::trackTopoToken_
private

Definition at line 48 of file SiStripBadModuleConfigurableFakeESSource.cc.

Referenced by produce().

TrackerTopology::tecIsFrontPetal
bool tecIsFrontPetal(const DetId &id) const
Definition: TrackerTopology.h:416
TrackerTopology::tibIsInternalString
bool tibIsInternalString(const DetId &id) const
Definition: TrackerTopology.h:429
TrackerTopology::tobIsStereo
bool tobIsStereo(const DetId &id) const
Definition: TrackerTopology.h:264
contentValuesFiles.fullPath
fullPath
Definition: contentValuesFiles.py:64
TrackerTopology
Definition: TrackerTopology.h:16
TrackerTopology::tidIsRPhi
bool tidIsRPhi(const DetId &id) const
Definition: TrackerTopology.h:272
gather_cfg.cout
cout
Definition: gather_cfg.py:144
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
edm::ValidityInterval
Definition: ValidityInterval.h:28
TrackerTopology::tecIsStereo
bool tecIsStereo(const DetId &id) const
Definition: TrackerTopology.h:265
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
SiStripDetInfoFileReader
Definition: SiStripDetInfoFileReader.h:30
TrackerTopology::tidRing
unsigned int tidRing(const DetId &id) const
Definition: TrackerTopology.h:218
TrackerTopology::tobIsRPhi
bool tobIsRPhi(const DetId &id) const
Definition: TrackerTopology.h:269
TrackerTopology::tobRod
unsigned int tobRod(const DetId &id) const
Definition: TrackerTopology.h:195
TrackerTopology::tidWheel
unsigned int tidWheel(const DetId &id) const
Definition: TrackerTopology.h:201
quality
const uint32_t *__restrict__ Quality * quality
Definition: CAHitNtupletGeneratorKernelsImpl.h:109
TrackerTopology::tidIsStereo
bool tidIsStereo(const DetId &id) const
Definition: TrackerTopology.h:267
SiStripBadModuleConfigurableFakeESSource::m_printDebug
bool m_printDebug
Definition: SiStripBadModuleConfigurableFakeESSource.cc:45
SiStripBadModuleConfigurableFakeESSource::m_badComponentList
Parameters m_badComponentList
Definition: SiStripBadModuleConfigurableFakeESSource.cc:43
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
DetId
Definition: DetId.h:17
edm::FileInPath
Definition: FileInPath.h:64
SiStripBadStrip::Range
std::pair< ContainerIterator, ContainerIterator > Range
Definition: SiStripBadStrip.h:53
SiStripBadModuleConfigurableFakeESSource::m_badAPVsList
Parameters m_badAPVsList
Definition: SiStripBadModuleConfigurableFakeESSource.cc:44
TrackerTopology::tibIsStereo
bool tibIsStereo(const DetId &id) const
Definition: TrackerTopology.h:266
TrackerTopology::tobIsZPlusSide
bool tobIsZPlusSide(const DetId &id) const
Definition: TrackerTopology.h:252
edm::eventsetup::DependentRecordImplementation::get
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
Definition: DependentRecordImplementation.h:109
SiStripDetId::TEC
static constexpr auto TEC
Definition: SiStripDetId.h:40
SiStripBadModuleConfigurableFakeESSource::selectAPVs
std::vector< std::pair< uint32_t, std::vector< uint32_t > > > selectAPVs() const
Definition: SiStripBadModuleConfigurableFakeESSource.cc:185
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pfDeepBoostedJetPreprocessParams_cfi.lower_bound
lower_bound
Definition: pfDeepBoostedJetPreprocessParams_cfi.py:15
TrackerTopology::tibString
unsigned int tibString(const DetId &id) const
Definition: TrackerTopology.h:419
SiStripBadModuleConfigurableFakeESSource::m_doByAPVs
bool m_doByAPVs
Definition: SiStripBadModuleConfigurableFakeESSource.cc:46
DetId::Tracker
Definition: DetId.h:25
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
TrackerTopology::tecPetalNumber
unsigned int tecPetalNumber(const DetId &id) const
Definition: TrackerTopology.h:221
TrackerTopology::tidIsZPlusSide
bool tidIsZPlusSide(const DetId &id) const
Definition: TrackerTopology.h:258
SiStripBadModuleConfigurableFakeESSource::trackTopoToken_
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackTopoToken_
Definition: SiStripBadModuleConfigurableFakeESSource.cc:48
TrackerTopology::tecRing
unsigned int tecRing(const DetId &id) const
ring id
Definition: TrackerTopology.h:217
SiStripDetId::TOB
static constexpr auto TOB
Definition: SiStripDetId.h:39
SiStripBadStrip::InputVector
Container InputVector
Definition: SiStripBadStrip.h:56
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
SiStripDetInfoFileReader::getAllDetIds
const std::vector< uint32_t > & getAllDetIds() const
Definition: SiStripDetInfoFileReader.h:52
SiStripDetId::TID
static constexpr auto TID
Definition: SiStripDetId.h:38
TrackerTopology::tobLayer
unsigned int tobLayer(const DetId &id) const
Definition: TrackerTopology.h:147
SiStripDetInfoFileReader::getNumberOfApvsAndStripLength
const std::pair< unsigned short, double > getNumberOfApvsAndStripLength(uint32_t detId) const
Definition: SiStripDetInfoFileReader.cc:101
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
SiStripBadModuleConfigurableFakeESSource::selectDetectors
std::vector< uint32_t > selectDetectors(const TrackerTopology *tTopo, const std::vector< uint32_t > &detIds) const
Definition: SiStripBadModuleConfigurableFakeESSource.cc:198
SiStripDetId::TIB
static constexpr auto TIB
Definition: SiStripDetId.h:37
TrackerTopology::tibIsZPlusSide
bool tibIsZPlusSide(const DetId &id) const
Definition: TrackerTopology.h:255
edm::es
Definition: es_Label.h:33
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
TrackerTopology::tecIsZPlusSide
bool tecIsZPlusSide(const DetId &id) const
Definition: TrackerTopology.h:261
SiStripBadModuleConfigurableFakeESSource::m_detInfoFileReader
SiStripDetInfoFileReader m_detInfoFileReader
Definition: SiStripBadModuleConfigurableFakeESSource.cc:47
TrackerTopology::tibIsRPhi
bool tibIsRPhi(const DetId &id) const
Definition: TrackerTopology.h:271
SiStripSubdetector::Subdetector
Subdetector
Definition: SiStripEnums.h:5
Parameters
vector< ParameterSet > Parameters
Definition: HLTMuonPlotter.cc:25
TrackerTopology::tecWheel
unsigned int tecWheel(const DetId &id) const
Definition: TrackerTopology.h:198
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
TrackerTopology::tibLayer
unsigned int tibLayer(const DetId &id) const
Definition: TrackerTopology.h:150