Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:59:34

0001 // -*- C++ -*-
0002 //
0003 // Package:    SimpleTestPrintOutPixelCalibAnalyzer
0004 // Class:      SimpleTestPrintOutPixelCalibAnalyzer
0005 //
0006 /**\class SimpleTestPrintOutPixelCalibAnalyzer CalibTracker/SiPixelGainCalibration/test/SimpleTestPrintOutPixelCalibAnalyzer.cc
0007 
0008  Description: <one line class summary>
0009 
0010  Implementation:
0011      <Notes on implementation>
0012 */
0013 //
0014 // Original Author:  Freya Blekman
0015 //         Created:  Mon Nov  5 16:56:35 CET 2007
0016 //
0017 //
0018 
0019 // system include files
0020 #include <memory>
0021 
0022 // user include files
0023 #include "FWCore/Framework/interface/global/EDAnalyzer.h"
0024 
0025 #include "FWCore/Framework/interface/Event.h"
0026 #include "FWCore/Framework/interface/MakerMacros.h"
0027 
0028 #include "DataFormats/Common/interface/DetSetVector.h"
0029 #include "DataFormats/SiPixelDigi/interface/SiPixelCalibDigi.h"
0030 
0031 //
0032 // class decleration
0033 //
0034 
0035 class SimpleTestPrintOutPixelCalibAnalyzer : public edm::global::EDAnalyzer<> {
0036 public:
0037   explicit SimpleTestPrintOutPixelCalibAnalyzer(const edm::ParameterSet&);
0038   ~SimpleTestPrintOutPixelCalibAnalyzer() = default;
0039 
0040 private:
0041   virtual void analyze(edm::StreamID, edm::Event const& event, edm::EventSetup const&) const override;
0042   virtual void printInfo(const edm::Event&, const edm::EventSetup&)
0043       const;  // print method added by Freya, this way the analyzer stays clean
0044   // ----------member data ---------------------------
0045   edm::EDGetTokenT<edm::DetSetVector<SiPixelCalibDigi> > tPixelCalibDigi;
0046 };