Loads PPSPixelTopology from a config file. More...
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions | |
void | setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override |
sets infinite validity of this data More... | |
Protected Member Functions inherited from edm::ESProducer | |
ESConsumesInfo * | consumesInfoPushBackNew () |
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) |
Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder | |
template<class T > | |
void | findingRecord () |
void | findingRecordWithKey (const eventsetup::EventSetupRecordKey &) |
Private Member Functions | |
std::unique_ptr< PPSPixelTopology > | fillPPSPixelTopology () |
Fill PPSPixelTopology object. More... | |
void | setPPSPixelTopology (const edm::ParameterSet &) |
Set PPS Topology parameters to their values from config. More... | |
Private Attributes | |
double | active_edge_sigma_ |
double | dead_edge_width_ |
unsigned short | no_of_pixels_ |
unsigned short | no_of_pixels_simX_ |
unsigned short | no_of_pixels_simY_ |
double | phys_active_edge_dist_ |
double | pitch_simX_ |
double | pitch_simY_ |
std::string | runType_ |
double | simX_width_ |
double | simY_width_ |
double | thickness_ |
Additional Inherited Members | |
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 > >> |
Loads PPSPixelTopology from a config file.
Definition at line 35 of file PPSPixelTopologyESSource.cc.
PPSPixelTopologyESSource::PPSPixelTopologyESSource | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 72 of file PPSPixelTopologyESSource.cc.
References Exception, runType_, setPPSPixelTopology(), and edm::ESProducer::setWhatProduced().
|
overridedefault |
|
static |
Definition at line 159 of file PPSPixelTopologyESSource.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Fill PPSPixelTopology object.
Definition at line 124 of file PPSPixelTopologyESSource.cc.
References active_edge_sigma_, dead_edge_width_, no_of_pixels_, no_of_pixels_simX_, no_of_pixels_simY_, AlCaHLTBitMon_ParallelJobs::p, phys_active_edge_dist_, pitch_simX_, pitch_simY_, runType_, simX_width_, simY_width_, and thickness_.
Referenced by produce().
std::unique_ptr< PPSPixelTopology > PPSPixelTopologyESSource::produce | ( | const PPSPixelTopologyRcd & | ) |
Definition at line 97 of file PPSPixelTopologyESSource.cc.
References fillPPSPixelTopology().
|
overrideprotectedvirtual |
sets infinite validity of this data
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 147 of file PPSPixelTopologyESSource.cc.
References edm::IOVSyncValue::beginOfTime(), edm::IOVSyncValue::endOfTime(), edm::EventID::event(), edm::IOVSyncValue::eventID(), infinity, submitPVResolutionJobs::key, and edm::EventID::run().
|
private |
Set PPS Topology parameters to their values from config.
Definition at line 107 of file PPSPixelTopologyESSource.cc.
References active_edge_sigma_, dead_edge_width_, edm::ParameterSet::getParameter(), no_of_pixels_, no_of_pixels_simX_, no_of_pixels_simY_, phys_active_edge_dist_, pitch_simX_, pitch_simY_, runType_, simX_width_, simY_width_, AlCaHLTBitMon_QueryRunRegistry::string, and thickness_.
Referenced by PPSPixelTopologyESSource().
|
private |
Definition at line 60 of file PPSPixelTopologyESSource.cc.
Referenced by fillPPSPixelTopology(), and setPPSPixelTopology().
|
private |
Definition at line 59 of file PPSPixelTopologyESSource.cc.
Referenced by fillPPSPixelTopology(), and setPPSPixelTopology().
|
private |
Definition at line 56 of file PPSPixelTopologyESSource.cc.
Referenced by fillPPSPixelTopology(), and setPPSPixelTopology().
|
private |
Definition at line 54 of file PPSPixelTopologyESSource.cc.
Referenced by fillPPSPixelTopology(), and setPPSPixelTopology().
|
private |
Definition at line 55 of file PPSPixelTopologyESSource.cc.
Referenced by fillPPSPixelTopology(), and setPPSPixelTopology().
|
private |
Definition at line 61 of file PPSPixelTopologyESSource.cc.
Referenced by fillPPSPixelTopology(), and setPPSPixelTopology().
|
private |
Definition at line 52 of file PPSPixelTopologyESSource.cc.
Referenced by fillPPSPixelTopology(), and setPPSPixelTopology().
|
private |
Definition at line 51 of file PPSPixelTopologyESSource.cc.
Referenced by fillPPSPixelTopology(), and setPPSPixelTopology().
|
private |
Definition at line 50 of file PPSPixelTopologyESSource.cc.
Referenced by fillPPSPixelTopology(), PPSPixelTopologyESSource(), and setPPSPixelTopology().
|
private |
Definition at line 57 of file PPSPixelTopologyESSource.cc.
Referenced by fillPPSPixelTopology(), and setPPSPixelTopology().
|
private |
Definition at line 58 of file PPSPixelTopologyESSource.cc.
Referenced by fillPPSPixelTopology(), and setPPSPixelTopology().
|
private |
Definition at line 53 of file PPSPixelTopologyESSource.cc.
Referenced by fillPPSPixelTopology(), and setPPSPixelTopology().