ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/LJMet/Utils/interface/Benchmark.h
Revision: 1.1
Committed: Fri Oct 9 19:56:45 2009 UTC (15 years, 6 months ago) by kukartse
Content type: text/plain
Branch: MAIN
CVS Tags: V00-00-02, V00-00-01_BeamSplash09, gak110409, HEAD
Log Message:
*** empty log message ***

File Contents

# Content
1 // -*- C++ -*-
2 #ifndef Bench_mark
3 #define Bench_mark
4 //
5 // Package: Benchmark
6 // Class: Benchmark
7 //
8 /**\class Benchmark Benchmark.h LJMet/Utils/interface/Benchmark.h
9
10 Description: times various aspects of data processing
11
12 Implementation:
13 Keep this class as simple and fast as possible
14 */
15 //
16 // Original Author: "Gennadiy Kukartsev"
17 // Created: Tue Oct 6 13:39:12 CDT 2009
18 // $Id: Benchmark.h,v 1.1 2009/10/08 22:51:48 kukartse Exp $
19 //
20 //
21
22
23 #include <memory>
24 #include "FWCore/Framework/interface/Frameworkfwd.h"
25 #include "FWCore/Framework/interface/EDAnalyzer.h"
26 #include "FWCore/Framework/interface/Event.h"
27 #include "FWCore/Framework/interface/MakerMacros.h"
28 #include "FWCore/ParameterSet/interface/ParameterSet.h"
29 #include "LJMet/Utils/interface/MeanCounter.h"
30
31
32 class Benchmark : public edm::EDAnalyzer {
33 public:
34 explicit Benchmark(const edm::ParameterSet&);
35 ~Benchmark();
36
37
38 private:
39 virtual void beginJob() ;
40 virtual void analyze(const edm::Event&, const edm::EventSetup&);
41 virtual void endJob() ;
42 MeanCounter * counter;
43 };
44
45 #endif