Public Types | |
typedef std::unique_ptr< SiStripLorentzAngle > | ReturnType |
Private Attributes | |
edm::ESGetToken< GeometricDet, IdealGeometryRecord > | m_geomDetToken |
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 |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | m_tTopoToken |
std::vector< bool > | m_uniformTIB |
std::vector< bool > | m_uniformTOB |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
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 > >> |
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 &) |
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 38 of file SiStripLorentzAngleFakeESSource.cc.
typedef std::unique_ptr<SiStripLorentzAngle> SiStripLorentzAngleFakeESSource::ReturnType |
Definition at line 47 of file SiStripLorentzAngleFakeESSource.cc.
SiStripLorentzAngleFakeESSource::SiStripLorentzAngleFakeESSource | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 114 of file SiStripLorentzAngleFakeESSource.cc.
References gpuPixelDoublets::cc, gather_cfg::cout, edm::ParameterSet::getParameter(), m_geomDetToken, 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_tTopoToken, m_uniformTIB, m_uniformTOB, edm::ESProducer::setWhatProduced(), and HcalDetIdTransform::transform().
|
override |
Definition at line 173 of file SiStripLorentzAngleFakeESSource.cc.
SiStripLorentzAngleFakeESSource::ReturnType SiStripLorentzAngleFakeESSource::produce | ( | const SiStripLorentzAngleRcd & | iRecord | ) |
Definition at line 182 of file SiStripLorentzAngleFakeESSource.cc.
References hcalRecHitTable_cff::detId, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), TrackerGeometryUtils::getSiStripDetIds(), m_geomDetToken, 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_tTopoToken, m_uniformTIB, m_uniformTOB, DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, and StripSubdetector::TOB.
|
overridevirtual |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 175 of file SiStripLorentzAngleFakeESSource.cc.
References edm::IOVSyncValue::beginOfTime(), and edm::IOVSyncValue::endOfTime().
|
private |
Definition at line 70 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 58 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 51 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 55 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 65 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 67 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 62 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 61 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 54 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 56 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 66 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 68 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 64 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 63 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 69 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 59 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().
|
private |
Definition at line 60 of file SiStripLorentzAngleFakeESSource.cc.
Referenced by produce(), and SiStripLorentzAngleFakeESSource().