Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:17

0001 #ifndef Framework_TestFailuresAnalyzer_h
0002 #define Framework_TestFailuresAnalyzer_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     test
0006 // Class  :     TestFailuresAnalyzer
0007 //
0008 /**\class TestFailuresAnalyzer TestFailuresAnalyzer.h Framework/test/interface/TestFailuresAnalyzer.h
0009 
0010  Description: <one line class summary>
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Chris Jones
0018 //         Created:  Fri Sep  2 14:17:17 EDT 2005
0019 //
0020 
0021 // system include files
0022 #include "FWCore/Framework/interface/global/EDAnalyzer.h"
0023 // user include files
0024 
0025 // forward declarations
0026 class TestFailuresAnalyzer : public edm::global::EDAnalyzer<> {
0027 public:
0028   explicit TestFailuresAnalyzer(const edm::ParameterSet&);
0029 
0030   void analyze(edm::StreamID, const edm::Event&, const edm::EventSetup&) const final;
0031 
0032   void beginJob() final;
0033   void endJob() final;
0034 
0035 private:
0036   // ----------member data ---------------------------
0037   const int whichFailure_;
0038   const unsigned long long eventToThrow_;
0039 };
0040 
0041 #endif /* test_TestFailuresAnalyzer_h */