Classes | |
struct | BinData |
struct | ProfileData |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Private Member Functions | |
void | buildAlignment (const edm::ParameterSet &profile, ProfileData &pData) |
void | buildDirectSimuData (const edm::ParameterSet &profile, ProfileData &pData) |
void | buildGeometry (const DDCompactView &cpv) |
void | buildLHCInfo (const edm::ParameterSet &profile, ProfileData &pData) |
void | buildOptics (const edm::ParameterSet &profile, ProfileData &pData) |
void | setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override |
Private Attributes | |
std::string | compactViewTag_ |
const ProfileData * | currentProfile_ |
unsigned int | generateEveryNEvents_ |
bool | geometryBuilt_ |
const bool | isRun2_ |
std::string | lhcInfoLabel_ |
std::unique_ptr< CLHEP::HepRandomEngine > | m_engine_ |
std::string | opticsLabel_ |
edm::EventID | previously_set_eventID_ |
std::vector< BinData< ProfileData > > | profile_bins_ |
edm::ESGetToken< DDCompactView, IdealGeometryRecord > | tokenCompactViewMisaligned_ |
edm::ESGetToken< DDCompactView, IdealGeometryRecord > | tokenCompactViewReal_ |
unsigned int | verbosity_ |
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 > >> |
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 &) |
Definition at line 50 of file CTPPSCompositeESSource.cc.
CTPPSCompositeESSource::CTPPSCompositeESSource | ( | const edm::ParameterSet & | conf | ) |
Definition at line 138 of file CTPPSCompositeESSource.cc.
References newFWLiteAna::bin, buildAlignment(), buildDirectSimuData(), buildLHCInfo(), buildOptics(), looper::cfg, compactViewTag_, edm::ParameterSet::getParameter(), lhcInfoLabel_, opticsLabel_, produceDirectSimuData(), produceLhcInfo(), produceMisalignedTG(), produceOptics(), produceRealTG(), profile_bins_, edm::ESProducer::setWhatProduced(), tokenCompactViewMisaligned_, and tokenCompactViewReal_.
|
private |
Definition at line 359 of file CTPPSCompositeESSource.cc.
References CTPPSCompositeESSource::ProfileData::acMisaligned, CTPPSCompositeESSource::ProfileData::acReal, CTPPSRPAlignmentCorrectionsDataESSourceXMLCommon::acsMisaligned, CTPPSRPAlignmentCorrectionsDataESSourceXMLCommon::acsReal, edm::ParameterSet::addUntrackedParameter(), looper::cfg, and verbosity_.
Referenced by CTPPSCompositeESSource().
|
private |
Definition at line 268 of file CTPPSCompositeESSource.cc.
References profile_base_cff::ctppsDirectSimuData, CTPPSCompositeESSource::ProfileData::directSimuData, geometryDiff::file, PPSDirectSimulationData::getEfficienciesPerPlane(), PPSDirectSimulationData::getEfficienciesPerRP(), PostProcessor_cff::profile, PPSDirectSimulationData::setEmpiricalAperture45(), PPSDirectSimulationData::setEmpiricalAperture56(), PPSDirectSimulationData::setTimeResolutionDiamonds45(), PPSDirectSimulationData::setTimeResolutionDiamonds56(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CTPPSCompositeESSource().
|
private |
Definition at line 296 of file CTPPSCompositeESSource.cc.
References CTPPSGeometryESCommon::applyAlignments(), detgeomdescbuilder::buildDetGeomDescFromCompactView(), geometryBuilt_, isRun2_, AlCaHLTBitMon_ParallelJobs::p, profile_bins_, and verbosity_.
Referenced by produceMisalignedTG(), and produceRealTG().
|
private |
Definition at line 382 of file CTPPSCompositeESSource.cc.
References CTPPSCompositeESSource::ProfileData::beamEnergy, CTPPSCompositeESSource::ProfileData::betaStar, profile_base_cff::ctppsLHCInfo, Exception, PostProcessor_cff::profile, AlCaHLTBitMon_QueryRunRegistry::string, w(), x, CTPPSCompositeESSource::ProfileData::xangle, CTPPSCompositeESSource::ProfileData::xangleBetaStarBins, and y.
Referenced by CTPPSCompositeESSource().
|
private |
Definition at line 314 of file CTPPSCompositeESSource.cc.
References profile_base_cff::ctppsOpticalFunctions, TrackerOfflineValidation_Dqm_cff::dirName, mps_splice::entry, fcn(), tkal_create_file_lists::FileInfo, MillePedeFileConverter_cfg::fileName, contentValuesFiles::fullPath, CTPPSCompositeESSource::ProfileData::lhcOptical, eostools::move(), PostProcessor_cff::profile, muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, profile_base_cff::xangle, and z.
Referenced by CTPPSCompositeESSource().
|
static |
Definition at line 192 of file CTPPSCompositeESSource.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, haddnano::of, edm::ParameterDescriptionNode::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::unique_ptr< PPSDirectSimulationData > CTPPSCompositeESSource::produceDirectSimuData | ( | const PPSDirectSimulationDataRcd & | ) |
Definition at line 488 of file CTPPSCompositeESSource.cc.
References currentProfile_, and CTPPSCompositeESSource::ProfileData::directSimuData.
Referenced by CTPPSCompositeESSource().
std::unique_ptr< LHCInfo > CTPPSCompositeESSource::produceLhcInfo | ( | const LHCInfoRcd & | ) |
Definition at line 501 of file CTPPSCompositeESSource.cc.
References CTPPSCompositeESSource::ProfileData::beamEnergy, CTPPSCompositeESSource::ProfileData::betaStar, simBeamSpotPI::betaStar, currentProfile_, ztail::d, m_engine_, profile_base_cff::xangle, CTPPSCompositeESSource::ProfileData::xangle, and CTPPSCompositeESSource::ProfileData::xangleBetaStarBins.
Referenced by CTPPSCompositeESSource().
std::shared_ptr< CTPPSRPAlignmentCorrectionsData > CTPPSCompositeESSource::produceMisalignedAlignments | ( | const RPMisalignedAlignmentRecord & | ) |
Definition at line 462 of file CTPPSCompositeESSource.cc.
References CTPPSCompositeESSource::ProfileData::acMisaligned, and currentProfile_.
std::shared_ptr< CTPPSGeometry > CTPPSCompositeESSource::produceMisalignedTG | ( | const VeryForwardMisalignedGeometryRecord & | iRecord | ) |
Definition at line 478 of file CTPPSCompositeESSource.cc.
References buildGeometry(), currentProfile_, geometryBuilt_, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), CTPPSCompositeESSource::ProfileData::misalignedTG, and tokenCompactViewMisaligned_.
Referenced by CTPPSCompositeESSource().
std::unique_ptr< LHCOpticalFunctionsSetCollection > CTPPSCompositeESSource::produceOptics | ( | const CTPPSOpticsRcd & | ) |
Definition at line 495 of file CTPPSCompositeESSource.cc.
References currentProfile_, and CTPPSCompositeESSource::ProfileData::lhcOptical.
Referenced by CTPPSCompositeESSource().
std::shared_ptr< CTPPSRPAlignmentCorrectionsData > CTPPSCompositeESSource::produceRealAlignments | ( | const RPRealAlignmentRecord & | ) |
Definition at line 455 of file CTPPSCompositeESSource.cc.
References CTPPSCompositeESSource::ProfileData::acReal, and currentProfile_.
std::shared_ptr< CTPPSGeometry > CTPPSCompositeESSource::produceRealTG | ( | const VeryForwardRealGeometryRecord & | iRecord | ) |
Definition at line 469 of file CTPPSCompositeESSource.cc.
References buildGeometry(), currentProfile_, geometryBuilt_, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), CTPPSCompositeESSource::ProfileData::realTG, and tokenCompactViewReal_.
Referenced by CTPPSCompositeESSource().
|
overrideprivatevirtual |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 427 of file CTPPSCompositeESSource.cc.
References newFWLiteAna::bin, currentProfile_, edm::EventID::event(), edm::IOVSyncValue::eventID(), generateEveryNEvents_, edm::EventID::luminosityBlock(), m_engine_, previously_set_eventID_, profile_bins_, and edm::EventID::run().
|
private |
Definition at line 68 of file CTPPSCompositeESSource.cc.
Referenced by CTPPSCompositeESSource().
|
private |
Definition at line 108 of file CTPPSCompositeESSource.cc.
Referenced by produceDirectSimuData(), produceLhcInfo(), produceMisalignedAlignments(), produceMisalignedTG(), produceOptics(), produceRealAlignments(), produceRealTG(), and setIntervalFor().
|
private |
Definition at line 71 of file CTPPSCompositeESSource.cc.
Referenced by setIntervalFor().
|
private |
Definition at line 120 of file CTPPSCompositeESSource.cc.
Referenced by buildGeometry(), produceMisalignedTG(), and produceRealTG().
|
private |
Definition at line 73 of file CTPPSCompositeESSource.cc.
Referenced by buildGeometry().
|
private |
Definition at line 69 of file CTPPSCompositeESSource.cc.
Referenced by CTPPSCompositeESSource().
|
private |
Definition at line 111 of file CTPPSCompositeESSource.cc.
Referenced by produceLhcInfo(), and setIntervalFor().
|
private |
Definition at line 70 of file CTPPSCompositeESSource.cc.
Referenced by CTPPSCompositeESSource().
|
private |
Definition at line 128 of file CTPPSCompositeESSource.cc.
Referenced by setIntervalFor().
|
private |
Definition at line 107 of file CTPPSCompositeESSource.cc.
Referenced by buildGeometry(), CTPPSCompositeESSource(), and setIntervalFor().
|
private |
Definition at line 76 of file CTPPSCompositeESSource.cc.
Referenced by CTPPSCompositeESSource(), and produceMisalignedTG().
|
private |
Definition at line 76 of file CTPPSCompositeESSource.cc.
Referenced by CTPPSCompositeESSource(), and produceRealTG().
|
private |
Definition at line 72 of file CTPPSCompositeESSource.cc.
Referenced by buildAlignment(), and buildGeometry().