ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/GenEventAnalyzer.h
Revision: 1.1
Committed: Thu Feb 26 15:06:14 2009 UTC (16 years, 2 months ago) by echabert
Content type: text/plain
Branch: MAIN
Log Message:
First draft of TopTreeProducer. Compile but trouble when executing

File Contents

# User Rev Content
1 echabert 1.1 #ifndef GenEventAnalyzer_h
2     #define GenEventAnalyzer_h
3    
4     // system include files
5     #include <iostream>
6    
7     // user include files
8     #include "FWCore/Framework/interface/Event.h"
9     #include "FWCore/ParameterSet/interface/ParameterSet.h"
10     #include "FWCore/Framework/interface/ESHandle.h"
11    
12     #include "AnalysisDataFormats/TopObjects/interface/TtGenEvent.h"
13    
14     #include "../interface/TRootGenEvent.h"
15    
16     #include "TClonesArray.h"
17     #include "TLorentzVector.h"
18    
19     class GenEventAnalyzer{
20    
21     public:
22     GenEventAnalyzer(const edm::ParameterSet& producersNames);
23     GenEventAnalyzer(const edm::ParameterSet& producersNames, int verbosity);
24     GenEventAnalyzer(const edm::ParameterSet& producersNames, const edm::ParameterSet& myConfig, int verbosity);
25     ~GenEventAnalyzer();
26     void SetVerbosity(int verbosity) {verbosity_ = verbosity; };
27     void Process(const edm::Event& iEvent, TClonesArray* rootGenEvent);
28    
29     private:
30     int verbosity_;
31     std::string dataType_ ;
32     edm::InputTag genEventProducer_;
33     ///
34     };
35    
36     #endif