CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloMCTruthTreeProducer.h
Go to the documentation of this file.
1 #ifndef CALO_MCTRUTH_TREE_PRODUCER_H
2 #define CALO_MCTRUTH_TREE_PRODUCER_H
3 
4 #include "TTree.h"
5 #include "TFile.h"
7 
8 //namespace cms
9 //{
11 {
12  public:
13  explicit CaloMCTruthTreeProducer(edm::ParameterSet const& cfg);
14  virtual void beginJob();
15  virtual void analyze(edm::Event const& e, edm::EventSetup const& iSetup);
16  virtual void endJob();
18 
19  private:
20  std::string histogramFile_;
21  std::string jets_;
22  std::string genjets_;
23  TFile* file_;
24  TTree* mcTruthTree_;
26  int rank_;
27 };
28 //}
29 
30 #endif
CaloMCTruthTreeProducer(edm::ParameterSet const &cfg)
virtual void analyze(edm::Event const &e, edm::EventSetup const &iSetup)