39 : iov_(iConfig.getParameter<unsigned long long>(
"iov")), record_(iConfig.getParameter<
string>(
"record")) {
40 if (strcmp(
record_.c_str(),
"CTPPSRPAlignmentCorrectionsDataRcd") == 0) {
41 tokenAlignmentsIdeal_ = esConsumes<CTPPSRPAlignmentCorrectionsData, CTPPSRPAlignmentCorrectionsDataRcd>();
42 }
else if (strcmp(
record_.c_str(),
"RPRealAlignmentRecord") == 0) {
58 if (strcmp(
record_.c_str(),
"CTPPSRPAlignmentCorrectionsDataRcd") == 0) {
60 }
else if (strcmp(
record_.c_str(),
"RPRealAlignmentRecord") == 0) {
68 <<
"New alignments found in run=" << e.
id().
run() <<
", event=" << e.
id().
event() <<
":\n"
EventNumber_t event() const
const edm::EventSetup & c
void analyze(const edm::Event &e, const edm::EventSetup &c) override
~CTPPSRPAlignmentInfoReader() override
#define DEFINE_FWK_MODULE(type)
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
edm::ESGetToken< CTPPSRPAlignmentCorrectionsData, CTPPSRPAlignmentCorrectionsDataRcd > tokenAlignmentsIdeal_
CTPPSRPAlignmentInfoReader(edm::ParameterSet const &iConfig)
unsigned long long Time_t
CTPPSRPAlignmentInfoReader(int i)
Log< level::Warning, true > LogPrint
edm::ESGetToken< CTPPSRPAlignmentCorrectionsData, RPMisalignedAlignmentRecord > tokenAlignmentsMisaligned_
Container for CTPPS RP alignment corrections. The corrections are stored on two levels - RP and senso...
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
edm::ESGetToken< CTPPSRPAlignmentCorrectionsData, RPRealAlignmentRecord > tokenAlignmentsReal_