CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SiPixelDetInfoFileWriter.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiPixelESProducers_SiPixelDetInfoFileWriter_h
2 #define CalibTracker_SiPixelESProducers_SiPixelDetInfoFileWriter_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelDetInfoFileWriter
6 // Class: SiPixelDetInfoFileWriter
7 //
15 //
16 // Original Author: Vincenzo Chiochia
17 // Created: Mon Nov 20 10:04:31 CET 2006
18 //
19 //
20 
24 #include <string>
25 #include <iostream>
26 #include <fstream>
27 
28 class SiPixelDetInfoFileWriter : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
29 public:
31  ~SiPixelDetInfoFileWriter() override;
32 
33 private:
34  void beginJob() override;
35  void beginRun(const edm::Run &, const edm::EventSetup &) override;
36  void analyze(const edm::Event &, const edm::EventSetup &) override;
37  void endRun(const edm::Run &, const edm::EventSetup &) override{};
38 
39 private:
41  std::ofstream outputFile_;
43 };
44 #endif
void endRun(const edm::Run &, const edm::EventSetup &) override
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomTokenBeginRun_
void analyze(const edm::Event &, const edm::EventSetup &) override
void beginRun(const edm::Run &, const edm::EventSetup &) override
SiPixelDetInfoFileWriter(const edm::ParameterSet &)
Definition: Run.h:45