CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
CTPPSRPAlignmentCorrectionsDataESSourceXML Class Reference
Inheritance diagram for CTPPSRPAlignmentCorrectionsDataESSourceXML:
edm::ESProducer edm::EventSetupRecordIntervalFinder edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

Public Member Functions

 CTPPSRPAlignmentCorrectionsDataESSourceXML (const edm::ParameterSet &p)
 
std::unique_ptr< CTPPSRPAlignmentCorrectionsDataproduceMeasured (const CTPPSRPAlignmentCorrectionsDataRcd &)
 
std::unique_ptr< CTPPSRPAlignmentCorrectionsDataproduceMisaligned (const RPMisalignedAlignmentRecord &)
 
std::unique_ptr< CTPPSRPAlignmentCorrectionsDataproduceReal (const RPRealAlignmentRecord &)
 
 ~CTPPSRPAlignmentCorrectionsDataESSourceXML () override
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
 ESProducer (const ESProducer &)=delete
 
ESProxyIndex const * getTokenIndices (unsigned int iIndex) const
 
ESProducer const & operator= (const ESProducer &)=delete
 
template<typename Record >
void updateFromMayConsumes (unsigned int iIndex, const Record &iRecord)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &) final
 
 ~ESProducer ()(false) override
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
 ESProxyFactoryProducer (const ESProxyFactoryProducer &)=delete
 
const ESProxyFactoryProduceroperator= (const ESProxyFactoryProducer &)=delete
 
 ~ESProxyFactoryProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::eventsetup::DataProxyProvider
void createKeyedProxies (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
 DataProxyProvider ()
 
 DataProxyProvider (const DataProxyProvider &)=delete
 
const ComponentDescriptiondescription () const
 
void fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const
 
virtual void initConcurrentIOVs (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
bool isUsingRecord (const EventSetupRecordKey &key) const
 
KeyedProxieskeyedProxies (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0)
 
const DataProxyProvideroperator= (const DataProxyProvider &)=delete
 
void setAppendToDataLabel (const edm::ParameterSet &)
 
void setDescription (const ComponentDescription &iDescription)
 
std::set< EventSetupRecordKeyusingRecords () const
 
virtual ~DataProxyProvider () noexcept(false)
 
- Public Member Functions inherited from edm::EventSetupRecordIntervalFinder
bool concurrentFinder () const
 
const eventsetup::ComponentDescriptiondescriptionForFinder () const
 
 EventSetupRecordIntervalFinder ()
 
 EventSetupRecordIntervalFinder (const EventSetupRecordIntervalFinder &)=delete
 
std::set< eventsetup::EventSetupRecordKeyfindingForRecords () const
 
const ValidityIntervalfindIntervalFor (const eventsetup::EventSetupRecordKey &, const IOVSyncValue &)
 
bool nonconcurrentAndIOVNeedsUpdate (const eventsetup::EventSetupRecordKey &key, const IOVSyncValue &syncValue) const
 
const EventSetupRecordIntervalFinderoperator= (const EventSetupRecordIntervalFinder &)=delete
 
void resetInterval (const eventsetup::EventSetupRecordKey &)
 
void setDescriptionForFinder (const eventsetup::ComponentDescription &iDescription)
 
virtual ~EventSetupRecordIntervalFinder () noexcept(false)
 

Protected Member Functions

CTPPSRPAlignmentCorrectionsDataSequence Merge (const std::vector< CTPPSRPAlignmentCorrectionsDataSequence > &) const
 merges an array of sequences to one More...
 
void PrepareSequence (const std::string &label, CTPPSRPAlignmentCorrectionsDataSequence &seq, const std::vector< std::string > &files) const
 builds a sequence of corrections from provided sources and runs a few checks More...
 
void setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
 
- Protected Member Functions inherited from edm::ESProducer
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 TArg >
ESConsumesCollectorT< TRecord > setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={})
 
- 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 &)
 

Static Protected Member Functions

static edm::EventID nextLS (const edm::EventID &src)
 
static edm::EventID previousLS (const edm::EventID &src)
 

Protected Attributes

CTPPSRPAlignmentCorrectionsData acMeasured
 
CTPPSRPAlignmentCorrectionsData acMisaligned
 
CTPPSRPAlignmentCorrectionsData acReal
 
CTPPSRPAlignmentCorrectionsDataSequence acsMeasured
 
CTPPSRPAlignmentCorrectionsDataSequence acsMisaligned
 
CTPPSRPAlignmentCorrectionsDataSequence acsReal
 
unsigned int verbosity
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 
- 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 >>>
 

Detailed Description

Loads alignment corrections to EventSetup.

Definition at line 35 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.

Constructor & Destructor Documentation

CTPPSRPAlignmentCorrectionsDataESSourceXML::CTPPSRPAlignmentCorrectionsDataESSourceXML ( const edm::ParameterSet p)

Definition at line 91 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.

References acsMeasured, acsMisaligned, acsReal, f, contentValuesFiles::fullPath, edm::ParameterSet::getParameter(), PrepareSequence(), produceMeasured(), produceMisaligned(), produceReal(), and edm::ESProducer::setWhatProduced().

92  : verbosity(pSet.getUntrackedParameter<unsigned int>("verbosity", 0)) {
93  std::vector<std::string> measuredFiles;
94  for (const auto &f : pSet.getParameter<vector<string> >("MeasuredFiles"))
95  measuredFiles.push_back(edm::FileInPath(f).fullPath());
96  PrepareSequence("Measured", acsMeasured, measuredFiles);
97 
98  std::vector<std::string> realFiles;
99  for (const auto &f : pSet.getParameter<vector<string> >("RealFiles"))
100  realFiles.push_back(edm::FileInPath(f).fullPath());
101  PrepareSequence("Real", acsReal, realFiles);
102 
103  std::vector<std::string> misalignedFiles;
104  for (const auto &f : pSet.getParameter<vector<string> >("MisalignedFiles"))
105  misalignedFiles.push_back(edm::FileInPath(f).fullPath());
106  PrepareSequence("Misaligned", acsMisaligned, misalignedFiles);
107 
111 
112  findingRecord<CTPPSRPAlignmentCorrectionsDataRcd>();
113  findingRecord<RPRealAlignmentRecord>();
114  findingRecord<RPMisalignedAlignmentRecord>();
115 }
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:138
std::unique_ptr< CTPPSRPAlignmentCorrectionsData > produceMeasured(const CTPPSRPAlignmentCorrectionsDataRcd &)
std::unique_ptr< CTPPSRPAlignmentCorrectionsData > produceMisaligned(const RPMisalignedAlignmentRecord &)
double f[11][100]
void PrepareSequence(const std::string &label, CTPPSRPAlignmentCorrectionsDataSequence &seq, const std::vector< std::string > &files) const
builds a sequence of corrections from provided sources and runs a few checks
std::unique_ptr< CTPPSRPAlignmentCorrectionsData > produceReal(const RPRealAlignmentRecord &)
CTPPSRPAlignmentCorrectionsDataESSourceXML::~CTPPSRPAlignmentCorrectionsDataESSourceXML ( )
override

Definition at line 119 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.

119 {}

Member Function Documentation

CTPPSRPAlignmentCorrectionsDataSequence CTPPSRPAlignmentCorrectionsDataESSourceXML::Merge ( const std::vector< CTPPSRPAlignmentCorrectionsDataSequence > &  seqs) const
protected

merges an array of sequences to one

Definition at line 123 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.

References mixOne_premix_on_sim_cfi::accumulator, PVValHelper::add(), CTPPSRPAlignmentCorrectionsData::addCorrections(), corr, edm::IOVSyncValue::eventID(), edm::ValidityInterval::first(), CTPPSRPAlignmentCorrectionsDataSequence::insert(), CTPPSRPAlignmentCorrectionsMethods::iovValueToString(), edm::ValidityInterval::last(), genParticles_cff::map, nextLS(), AlCaHLTBitMon_ParallelJobs::p, previousLS(), mps_fire::result, and verbosity.

Referenced by nextLS(), and PrepareSequence().

124  {
125  // find interval boundaries
126  map<edm::EventID, vector<pair<bool, const CTPPSRPAlignmentCorrectionsData *> > > bounds;
127 
128  for (const auto &seq : seqs) {
129  for (const auto &p : seq) {
130  const ValidityInterval &iov = p.first;
131  const CTPPSRPAlignmentCorrectionsData *corr = &p.second;
132 
133  const EventID &event_first = iov.first().eventID();
134  bounds[event_first].emplace_back(pair<bool, const CTPPSRPAlignmentCorrectionsData *>(true, corr));
135 
136  const EventID &event_after = nextLS(iov.last().eventID());
137  bounds[event_after].emplace_back(pair<bool, const CTPPSRPAlignmentCorrectionsData *>(false, corr));
138  }
139  }
140 
141  // build correction sums per interval
142  set<const CTPPSRPAlignmentCorrectionsData *> accumulator;
144  for (map<EventID, vector<pair<bool, const CTPPSRPAlignmentCorrectionsData *> > >::const_iterator tit = bounds.begin();
145  tit != bounds.end();
146  ++tit) {
147  for (const auto &cit : tit->second) {
148  bool add = cit.first;
149  const CTPPSRPAlignmentCorrectionsData *corr = cit.second;
150 
151  if (add)
152  accumulator.insert(corr);
153  else
154  accumulator.erase(corr);
155  }
156 
157  auto tit_next = tit;
158  tit_next++;
159  if (tit_next == bounds.end())
160  break;
161 
162  const EventID &event_first = tit->first;
163  const EventID &event_last = previousLS(tit_next->first);
164 
165  if (verbosity) {
166  LogVerbatim("CTPPSRPAlignmentCorrectionsDataESSourceXML")
169  << ": alignment blocks " << accumulator.size();
170  }
171 
173  for (auto sit : accumulator)
174  corr_sum.addCorrections(*sit);
175 
176  result.insert(edm::ValidityInterval(edm::IOVSyncValue(event_first), edm::IOVSyncValue(event_last)), corr_sum);
177  }
178 
179  return result;
180 }
const EventID & eventID() const
Definition: IOVSyncValue.h:40
Time sequence of alignment corrections. I/O methods have been factored out to: CondFormats/CTPPSReado...
const IOVSyncValue & last() const
static std::string iovValueToString(const edm::IOVSyncValue &)
JetCorrectorParameters corr
Definition: classes.h:5
void addCorrections(const CTPPSRPAlignmentCorrectionsData &, bool sumErrors=true, bool addSh=true, bool addRot=true)
adds (merges) corrections on top of the current values
void insert(const edm::ValidityInterval &iov, const CTPPSRPAlignmentCorrectionsData &data)
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
Container for CTPPS RP alignment corrections. The corrections are stored on two levels - RP and senso...
const IOVSyncValue & first() const
static edm::EventID CTPPSRPAlignmentCorrectionsDataESSourceXML::nextLS ( const edm::EventID src)
inlinestaticprotected

Definition at line 63 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.

References edm::EventID::event(), MainPageGenerator::files, label, edm::EventID::luminosityBlock(), edm::EventID::maxLuminosityBlockNumber(), edm::EventID::maxRunNumber(), Merge(), PrepareSequence(), edm::EventID::run(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by Merge().

63  {
65  if (src.run() == edm::EventID::maxRunNumber())
66  return src;
67 
68  return edm::EventID(src.run() + 1, 0, src.event());
69  }
70 
71  return edm::EventID(src.run(), src.luminosityBlock() + 1, src.event());
72  }
RunNumber_t run() const
Definition: EventID.h:38
EventNumber_t event() const
Definition: EventID.h:40
static RunNumber_t maxRunNumber()
Definition: EventID.h:92
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
static LuminosityBlockNumber_t maxLuminosityBlockNumber()
Definition: EventID.h:94
void CTPPSRPAlignmentCorrectionsDataESSourceXML::PrepareSequence ( const std::string &  label,
CTPPSRPAlignmentCorrectionsDataSequence seq,
const std::vector< std::string > &  files 
) const
protected

builds a sequence of corrections from provided sources and runs a few checks

Definition at line 184 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.

References FrontierConditions_GlobalTag_cff::file, CTPPSRPAlignmentCorrectionsMethods::loadFromXML(), Merge(), and verbosity.

Referenced by CTPPSRPAlignmentCorrectionsDataESSourceXML(), and nextLS().

186  {
187  if (verbosity)
188  LogVerbatim(">> CTPPSRPAlignmentCorrectionsDataESSourceXML")
189  << "CTPPSRPAlignmentCorrectionsDataESSourceXML::PrepareSequence(" << label << ")";
190 
191  vector<CTPPSRPAlignmentCorrectionsDataSequence> sequences;
192  for (const auto &file : files)
193  sequences.emplace_back(CTPPSRPAlignmentCorrectionsMethods::loadFromXML(file));
194 
195  seq = Merge(sequences);
196 }
CTPPSRPAlignmentCorrectionsDataSequence Merge(const std::vector< CTPPSRPAlignmentCorrectionsDataSequence > &) const
merges an array of sequences to one
static CTPPSRPAlignmentCorrectionsDataSequence loadFromXML(const std::string &fileName)
loads sequence of alignment corrections from XML file
char const * label
static edm::EventID CTPPSRPAlignmentCorrectionsDataESSourceXML::previousLS ( const edm::EventID src)
inlinestaticprotected

Definition at line 53 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.

References edm::EventID::event(), edm::EventID::luminosityBlock(), edm::EventID::maxLuminosityBlockNumber(), edm::EventID::maxRunNumber(), and edm::EventID::run().

Referenced by Merge(), and setIntervalFor().

53  {
55  return src;
56 
57  if (src.luminosityBlock() == 0)
59 
60  return edm::EventID(src.run(), src.luminosityBlock() - 1, src.event());
61  }
RunNumber_t run() const
Definition: EventID.h:38
EventNumber_t event() const
Definition: EventID.h:40
static RunNumber_t maxRunNumber()
Definition: EventID.h:92
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
static LuminosityBlockNumber_t maxLuminosityBlockNumber()
Definition: EventID.h:94
std::unique_ptr< CTPPSRPAlignmentCorrectionsData > CTPPSRPAlignmentCorrectionsDataESSourceXML::produceMeasured ( const CTPPSRPAlignmentCorrectionsDataRcd iRecord)

Definition at line 200 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.

References acMeasured.

Referenced by CTPPSRPAlignmentCorrectionsDataESSourceXML().

201  {
202  return std::make_unique<CTPPSRPAlignmentCorrectionsData>(acMeasured);
203 }
std::unique_ptr< CTPPSRPAlignmentCorrectionsData > CTPPSRPAlignmentCorrectionsDataESSourceXML::produceMisaligned ( const RPMisalignedAlignmentRecord iRecord)

Definition at line 214 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.

References acMisaligned.

Referenced by CTPPSRPAlignmentCorrectionsDataESSourceXML().

215  {
216  return std::make_unique<CTPPSRPAlignmentCorrectionsData>(acMisaligned);
217 }
std::unique_ptr< CTPPSRPAlignmentCorrectionsData > CTPPSRPAlignmentCorrectionsDataESSourceXML::produceReal ( const RPRealAlignmentRecord iRecord)

Definition at line 207 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.

References acReal.

Referenced by CTPPSRPAlignmentCorrectionsDataESSourceXML().

208  {
209  return std::make_unique<CTPPSRPAlignmentCorrectionsData>(acReal);
210 }
void CTPPSRPAlignmentCorrectionsDataESSourceXML::setIntervalFor ( const edm::eventsetup::EventSetupRecordKey key,
const edm::IOVSyncValue iosv,
edm::ValidityInterval valInt 
)
overrideprotectedvirtual

Implements edm::EventSetupRecordIntervalFinder.

Definition at line 221 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.

References acMeasured, acMisaligned, acReal, acsMeasured, acsMisaligned, acsReal, DEFINE_FWK_EVENTSETUP_SOURCE, edm::IOVSyncValue::endOfTime(), edm::IOVSyncValue::eventID(), Exception, edm::ValidityInterval::first(), CTPPSRPAlignmentCorrectionsMethods::iovValueToString(), edm::ValidityInterval::last(), edm::EventID::luminosityBlock(), edm::EventID::maxLuminosityBlockNumber(), edm::EventID::maxRunNumber(), edm::eventsetup::EventSetupRecordKey::name(), previousLS(), edm::EventID::run(), edm::IOVSyncValue::time(), edm::Timestamp::unixTime(), and verbosity.

223  {
224  if (verbosity) {
225  time_t unixTime = iosv.time().unixTime();
226  char timeStr[50];
227  strftime(timeStr, 50, "%F %T", localtime(&unixTime));
228 
229  LogVerbatim("CTPPSRPAlignmentCorrectionsDataESSourceXML")
230  << ">> CTPPSRPAlignmentCorrectionsDataESSourceXML::setIntervalFor(" << key.name() << ")";
231 
232  LogVerbatim("CTPPSRPAlignmentCorrectionsDataESSourceXML")
233  << " event=" << iosv.eventID() << ", UNIX timestamp=" << unixTime << " (" << timeStr << ")";
234  }
235 
236  // // determine what sequence and corrections should be used
238  CTPPSRPAlignmentCorrectionsData *p_corr = nullptr;
239 
240  if (strcmp(key.name(), "CTPPSRPAlignmentCorrectionsDataRcd") == 0) {
241  p_seq = &acsMeasured;
242  p_corr = &acMeasured;
243  }
244 
245  if (strcmp(key.name(), "RPRealAlignmentRecord") == 0) {
246  p_seq = &acsReal;
247  p_corr = &acReal;
248  }
249 
250  if (strcmp(key.name(), "RPMisalignedAlignmentRecord") == 0) {
251  p_seq = &acsMisaligned;
252  p_corr = &acMisaligned;
253  }
254 
255  if (p_corr == nullptr)
256  throw cms::Exception("CTPPSRPAlignmentCorrectionsDataESSourceXML::setIntervalFor")
257  << "Unknown record " << key.name();
258 
259  // // find the corresponding interval
260  bool next_exists = false;
261  const edm::EventID &event_curr = iosv.eventID();
263 
264  for (const auto &it : *p_seq) {
265  const auto &it_event_first = it.first.first().eventID();
266  const auto &it_event_last = it.first.last().eventID();
267 
268  bool it_contained_lo = ((it_event_first.run() < event_curr.run()) ||
269  ((it_event_first.run() == event_curr.run()) &&
270  (it_event_first.luminosityBlock() <= event_curr.luminosityBlock())));
271 
272  bool it_contained_up = ((it_event_last.run() > event_curr.run()) ||
273  ((it_event_last.run() == event_curr.run()) &&
274  (it_event_last.luminosityBlock() >= event_curr.luminosityBlock())));
275 
276  if (it_contained_lo && it_contained_up) {
277  valInt = it.first;
278  *p_corr = it.second;
279 
280  if (verbosity) {
281  LogVerbatim("CTPPSRPAlignmentCorrectionsDataESSourceXML")
282  << " setting validity interval [" << CTPPSRPAlignmentCorrectionsMethods::iovValueToString(valInt.first())
284  }
285 
286  return;
287  }
288 
289  bool it_in_future = ((it_event_first.run() > event_curr.run()) ||
290  ((it_event_first.run() == event_curr.run() &&
291  (it_event_first.luminosityBlock() > event_curr.luminosityBlock()))));
292 
293  if (it_in_future) {
294  next_exists = true;
295  if (event_next_start > it_event_first)
296  event_next_start = it_event_first;
297  }
298  }
299 
300  // no interval found, set empty corrections
302 
303  if (!next_exists) {
304  valInt = ValidityInterval(iosv, iosv.endOfTime());
305  } else {
306  const EventID &event_last = previousLS(event_next_start);
307  valInt = ValidityInterval(iosv, IOVSyncValue(event_last));
308  }
309 
310  if (verbosity) {
311  LogVerbatim("CTPPSRPAlignmentCorrectionsDataESSourceXML")
312  << " setting validity interval [" << CTPPSRPAlignmentCorrectionsMethods::iovValueToString(valInt.first())
314  << "] (empty alignment corrections)";
315  }
316 }
RunNumber_t run() const
Definition: EventID.h:38
static RunNumber_t maxRunNumber()
Definition: EventID.h:92
const EventID & eventID() const
Definition: IOVSyncValue.h:40
Time sequence of alignment corrections. I/O methods have been factored out to: CondFormats/CTPPSReado...
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:17
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
const IOVSyncValue & last() const
static LuminosityBlockNumber_t maxLuminosityBlockNumber()
Definition: EventID.h:94
static std::string iovValueToString(const edm::IOVSyncValue &)
unsigned int unixTime() const
Time in seconds since January 1, 1970.
Definition: Timestamp.h:40
Container for CTPPS RP alignment corrections. The corrections are stored on two levels - RP and senso...
const Timestamp & time() const
Definition: IOVSyncValue.h:42
const IOVSyncValue & first() const

Member Data Documentation

CTPPSRPAlignmentCorrectionsData CTPPSRPAlignmentCorrectionsDataESSourceXML::acMeasured
protected
CTPPSRPAlignmentCorrectionsData CTPPSRPAlignmentCorrectionsDataESSourceXML::acMisaligned
protected
CTPPSRPAlignmentCorrectionsData CTPPSRPAlignmentCorrectionsDataESSourceXML::acReal
protected

Definition at line 47 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.

Referenced by produceReal(), and setIntervalFor().

CTPPSRPAlignmentCorrectionsDataSequence CTPPSRPAlignmentCorrectionsDataESSourceXML::acsMeasured
protected
CTPPSRPAlignmentCorrectionsDataSequence CTPPSRPAlignmentCorrectionsDataESSourceXML::acsMisaligned
protected
CTPPSRPAlignmentCorrectionsDataSequence CTPPSRPAlignmentCorrectionsDataESSourceXML::acsReal
protected
unsigned int CTPPSRPAlignmentCorrectionsDataESSourceXML::verbosity
protected