Public Types | |
typedef std::unique_ptr< SiStripLorentzAngle > | ReturnType |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector< EventSetupRecordKey > | Keys |
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
Private Attributes | |
std::vector< double > | m_StdDevs_TIB |
std::vector< double > | m_StdDevs_TOB |
std::vector< double > | m_TIB_EstimatedValuesMax |
std::vector< double > | m_TIB_EstimatedValuesMin |
std::vector< double > | m_TIB_PerCent_Errs |
double | m_TIBmeanPerCentError |
double | m_TIBmeanStdDev |
double | m_TIBmeanValueMax |
double | m_TIBmeanValueMin |
std::vector< double > | m_TOB_EstimatedValuesMax |
std::vector< double > | m_TOB_EstimatedValuesMin |
std::vector< double > | m_TOB_PerCent_Errs |
double | m_TOBmeanPerCentError |
double | m_TOBmeanStdDev |
double | m_TOBmeanValueMax |
double | m_TOBmeanValueMin |
std::vector< bool > | m_uniformTIB |
std::vector< bool > | m_uniformTOB |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
ESProducer (const ESProducer &)=delete | |
ESProducer const & | operator= (const ESProducer &)=delete |
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 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 &) |
Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder | |
template<class T > | |
void | findingRecord () |
void | findingRecordWithKey (const eventsetup::EventSetupRecordKey &) |
Description: Generator of the ideal/fake conditions for the LorentzAngle.
It receives input values with layer granularity and it is able to perform gaussian smearing or use a uniform distribution at the module level. Depending on the parameters passed via cfg, it is able to generate the values per DetId with a gaussian distribution and a uniform distribution. When setting the sigma of the gaussian to 0 and passing a single value the generated values are fixed. For TID and TEC the decision to generate with a uniform distribution comes from the setting for the first layers of TIB and TOB.
Implementation: Port of SiStripLorentzAngleGenerator and templated fake ESSource to an edm::ESProducer
Definition at line 34 of file SiStripLorentzAngleFakeESSource.cc.
typedef std::unique_ptr<SiStripLorentzAngle> SiStripLorentzAngleFakeESSource::ReturnType |
Definition at line 41 of file SiStripLorentzAngleFakeESSource.cc.
SiStripLorentzAngleFakeESSource::SiStripLorentzAngleFakeESSource | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 109 of file SiStripLorentzAngleFakeESSource.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), m_StdDevs_TIB, m_StdDevs_TOB, m_TIB_EstimatedValuesMax, m_TIB_EstimatedValuesMin, m_TIB_PerCent_Errs, m_TIBmeanPerCentError, m_TIBmeanStdDev, m_TIBmeanValueMax, m_TIBmeanValueMin, m_TOB_EstimatedValuesMax, m_TOB_EstimatedValuesMin, m_TOB_PerCent_Errs, m_TOBmeanPerCentError, m_TOBmeanStdDev, m_TOBmeanValueMax, m_TOBmeanValueMin, m_uniformTIB, m_uniformTOB, edm::ESProducer::setWhatProduced(), and create_public_lumi_plots::transform.
|
override |
Definition at line 152 of file SiStripLorentzAngleFakeESSource.cc.
SiStripLorentzAngleFakeESSource::ReturnType SiStripLorentzAngleFakeESSource::produce | ( | const SiStripLorentzAngleRcd & | iRecord | ) |
Definition at line 161 of file SiStripLorentzAngleFakeESSource.cc.
References DEFINE_FWK_EVENTSETUP_SOURCE, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), m_StdDevs_TIB, m_StdDevs_TOB, m_TIB_EstimatedValuesMax, m_TIB_EstimatedValuesMin, m_TIBmeanStdDev, m_TIBmeanValueMax, m_TIBmeanValueMin, m_TOB_EstimatedValuesMax, m_TOB_EstimatedValuesMin, m_TOBmeanStdDev, m_TOBmeanValueMax, m_TOBmeanValueMin, m_uniformTIB, m_uniformTOB, matplotRender::reader, DetId::subdetId(), StripSubdetector::TEC, TrackerTopology::tecRing(), StripSubdetector::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, StripSubdetector::TOB, and TrackerTopology::tobLayer().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
overridevirtual |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 154 of file SiStripLorentzAngleFakeESSource.cc.
References edm::IOVSyncValue::beginOfTime(), and edm::IOVSyncValue::endOfTime().
|
private |
Definition at line 51 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 52 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 46 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 45 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 49 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 59 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 61 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 56 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 55 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 48 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 47 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 50 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 60 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 62 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 58 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 57 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 53 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 54 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().