Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:37:40

0001 
0002 /*----------------------------------------------------------------------
0003 
0004 Toy EDAnalyzer for testing purposes only.
0005 
0006 ----------------------------------------------------------------------*/
0007 
0008 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0009 #include "FWCore/Framework/interface/Event.h"
0010 
0011 #include "FWCore/Framework/interface/EventSetup.h"
0012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0013 
0014 #include <string>
0015 
0016 namespace edmtest {
0017   class DTTimeUtility : public edm::one::EDAnalyzer<> {
0018   public:
0019     explicit DTTimeUtility(edm::ParameterSet const& p);
0020     explicit DTTimeUtility(int i);
0021     ~DTTimeUtility() override = default;
0022     void analyze(const edm::Event& e, const edm::EventSetup& c) override;
0023 
0024   private:
0025     int year;
0026     int month;
0027     int day;
0028     int hour;
0029     int min;
0030     int sec;
0031     long long int condTime;
0032     long long int coralTime;
0033   };
0034 }  // namespace edmtest