Classes | |
struct | BinData |
struct | ProfileData |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
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::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 &) |
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 base_cff::ctppsDirectSimuData, CTPPSCompositeESSource::ProfileData::directSimuData, geometryDiff::file, PPSDirectSimulationData::getEfficienciesPerPlane(), PPSDirectSimulationData::getEfficienciesPerRP(), PostProcessor_cff::profile, profile_2016_postTS2_cff::rpId, 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, 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 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, profile_2016_postTS2_cff::rpId, AlCaHLTBitMon_QueryRunRegistry::string, OpticalFunctionsConfig_cfi::xangle, and z.
Referenced by CTPPSCompositeESSource().
|
static |
Definition at line 192 of file CTPPSCompositeESSource.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, 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, BeamSpotFakeParameters_cfi::betaStar, CTPPSCompositeESSource::ProfileData::betaStar, currentProfile_, ztail::d, m_engine_, OpticalFunctionsConfig_cfi::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 73 of file CTPPSCompositeESSource.cc.
Referenced by CTPPSCompositeESSource().
|
private |
Definition at line 113 of file CTPPSCompositeESSource.cc.
Referenced by produceDirectSimuData(), produceLhcInfo(), produceMisalignedAlignments(), produceMisalignedTG(), produceOptics(), produceRealAlignments(), produceRealTG(), and setIntervalFor().
|
private |
Definition at line 76 of file CTPPSCompositeESSource.cc.
Referenced by setIntervalFor().
|
private |
Definition at line 125 of file CTPPSCompositeESSource.cc.
Referenced by buildGeometry(), produceMisalignedTG(), and produceRealTG().
|
private |
Definition at line 78 of file CTPPSCompositeESSource.cc.
Referenced by buildGeometry().
|
private |
Definition at line 74 of file CTPPSCompositeESSource.cc.
Referenced by CTPPSCompositeESSource().
|
private |
Definition at line 116 of file CTPPSCompositeESSource.cc.
Referenced by produceLhcInfo(), and setIntervalFor().
|
private |
Definition at line 75 of file CTPPSCompositeESSource.cc.
Referenced by CTPPSCompositeESSource().
|
private |
Definition at line 133 of file CTPPSCompositeESSource.cc.
Referenced by setIntervalFor().
|
private |
Definition at line 112 of file CTPPSCompositeESSource.cc.
Referenced by buildGeometry(), CTPPSCompositeESSource(), and setIntervalFor().
|
private |
Definition at line 81 of file CTPPSCompositeESSource.cc.
Referenced by CTPPSCompositeESSource(), and produceMisalignedTG().
|
private |
Definition at line 81 of file CTPPSCompositeESSource.cc.
Referenced by CTPPSCompositeESSource(), and produceRealTG().
|
private |
Definition at line 77 of file CTPPSCompositeESSource.cc.
Referenced by buildAlignment(), and buildGeometry().