CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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"
10 
11 //namespace cms
12 //{
14 public:
16  void beginJob() override;
17  void analyze(edm::Event const& e, edm::EventSetup const& iSetup) override;
18  void endJob() override;
19  ~CaloMCTruthTreeProducer() override;
20 
21 private:
26  TFile* file_;
27  TTree* mcTruthTree_;
29  int rank_;
30 };
31 //}
32 
33 #endif
tuple cfg
Definition: looper.py:296
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_