CMS 3D CMS Logo

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"
10 
11 //namespace cms
12 //{
14 {
15  public:
17  void beginJob() override;
18  void analyze(edm::Event const& e, edm::EventSetup const& iSetup) override;
19  void endJob() override;
20  ~CaloMCTruthTreeProducer() override;
21 
22  private:
27  TFile* file_;
28  TTree* mcTruthTree_;
30  int rank_;
31 };
32 //}
33 
34 #endif
edm::EDGetTokenT< GenEventInfoProduct > gen_
CaloMCTruthTreeProducer(edm::ParameterSet const &cfg)
edm::EDGetTokenT< reco::GenJetCollection > genjets_
void analyze(edm::Event const &e, edm::EventSetup const &iSetup) override
edm::EDGetTokenT< reco::CaloJetCollection > jets_