Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:25

0001 /****************************************************************************
0002  *
0003  * This is a part of TOTEM offline software.
0004  * Authors:
0005  *  Jan Kašpar (jan.kaspar@gmail.com)
0006  *
0007  ****************************************************************************/
0008 
0009 #ifndef CondFormats_PPSObjects_CTPPSRPAlignmentCorrectionsDataSequence
0010 #define CondFormats_PPSObjects_CTPPSRPAlignmentCorrectionsDataSequence
0011 
0012 #include <vector>
0013 
0014 #include "FWCore/Framework/interface/ValidityInterval.h"
0015 
0016 #include "CondFormats/PPSObjects/interface/CTPPSRPAlignmentCorrectionsData.h"
0017 
0018 /**
0019  *\brief Time sequence of alignment corrections.
0020  * I/O methods have been factored out to:
0021  *   CondFormats/PPSObjects/interface/CTPPSRPAlignmentCorrectionsMethods.h
0022  */
0023 class CTPPSRPAlignmentCorrectionsDataSequence
0024     : public std::vector<std::pair<edm::ValidityInterval, CTPPSRPAlignmentCorrectionsData> > {
0025 public:
0026   CTPPSRPAlignmentCorrectionsDataSequence() {}
0027 
0028   void insert(const edm::ValidityInterval &iov, const CTPPSRPAlignmentCorrectionsData &data) {
0029     emplace_back(iov, data);
0030   }
0031 };
0032 
0033 #endif