File indexing completed on 2024-04-06 12:12:17
0001 #ifndef Framework_TestFailuresAnalyzer_h
0002 #define Framework_TestFailuresAnalyzer_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include "FWCore/Framework/interface/global/EDAnalyzer.h"
0023
0024
0025
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
0037 const int whichFailure_;
0038 const unsigned long long eventToThrow_;
0039 };
0040
0041 #endif