CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFMCTruthTreeProducer.h
Go to the documentation of this file.
1 #ifndef PF_MCTRUTH_TREE_PRODUCER_H
2 #define PF_MCTRUTH_TREE_PRODUCER_H
3 
4 #include "TTree.h"
5 #include "TFile.h"
7 
8 //namespace cms
9 //{
11 {
12  public:
13  explicit PFMCTruthTreeProducer(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:
23  TFile* file_;
24  TTree* mcTruthTree_;
27 };
28 //}
29 
30 #endif
virtual void analyze(edm::Event const &e, edm::EventSetup const &iSetup)
PFMCTruthTreeProducer(edm::ParameterSet const &cfg)