ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/Analyzers/src/None.cc
Revision: 1.1
Committed: Wed Oct 21 13:28:11 2009 UTC (15 years, 6 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_012c, Mit_012b, Mit_012a, Mit_012
Log Message:
Added an analyzer that does nothing so that one can easily comment out a sequence.

File Contents

# User Rev Content
1 loizides 1.1 // $Id$
2    
3     #include "FWCore/Framework/interface/Frameworkfwd.h"
4     #include "FWCore/Framework/interface/EDAnalyzer.h"
5     #include "FWCore/Framework/interface/Event.h"
6     #include "FWCore/Framework/interface/MakerMacros.h"
7     #include "FWCore/ParameterSet/interface/ParameterSet.h"
8    
9     class None : public edm::EDAnalyzer {
10     public:
11     explicit None(const edm::ParameterSet&) {}
12     ~None() {};
13    
14     private:
15     virtual void beginJob() {}
16     virtual void analyze(const edm::Event&, const edm::EventSetup&) {}
17     virtual void endJob() {}
18     };
19    
20     //define this as a plug-in
21     DEFINE_FWK_MODULE(None);