44 m_xangle(conf.getParameter<double>(
"xangle")),
48 findingRecord<LHCInfoRcd>();
84 auto output = std::make_unique<LHCInfo>();
92 output->setCrossingAngle(0.);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
bool contains(EventRange const &lh, EventID const &rh)
const EventID & eventID() const
CTPPSLHCInfoESSource(const edm::ParameterSet &)
static const IOVSyncValue & endOfTime()
std::pair< Time_t, Time_t > ValidityInterval
LuminosityBlockNumber_t luminosityBlock() const
bool m_insideValidityRange
unsigned int LuminosityBlockNumber_t
ESProducts< std::remove_reference_t< TArgs >... > products(TArgs &&...args)
edm::ESProducts< std::unique_ptr< LHCInfo > > produce(const LHCInfoRcd &)
edm::EventRange m_validityRange
Provides LHCInfo data necessary for CTPPS reconstruction (and direct simulation). ...
static LuminosityBlockNumber_t maxLuminosityBlockNumber()
static const IOVSyncValue & beginOfTime()
EventID startEventID() const
EventID endEventID() const
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override