00001 #ifndef HLTMCTRUTH_H
00002 #define HLTMCTRUTH_H
00003
00004 #include "TH1.h"
00005 #include "TH2.h"
00006 #include "TFile.h"
00007 #include "TNamed.h"
00008 #include <vector>
00009 #include <map>
00010 #include "TROOT.h"
00011 #include "TChain.h"
00012
00013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00014 #include "SimDataFormats/HepMCProduct/interface/HepMCProduct.h"
00015 #include "DataFormats/Candidate/interface/Candidate.h"
00016
00017 #include "DataFormats/METReco/interface/CaloMETCollection.h"
00018
00019 typedef std::vector<std::string> MyStrings;
00020
00027 class HLTMCtruth {
00028 public:
00029 HLTMCtruth();
00030
00031 void setup(const edm::ParameterSet& pSet, TTree* tree);
00032
00034 void analyze(const edm::Handle<CandidateView> & mctruth,
00035 const edm::Handle<double> & pthat,
00036 TTree* tree);
00037
00038 private:
00039
00040
00041 float *mcvx, *mcvy, *mcvz, *mcpt, *mceta, *mcphi;
00042 int *mcpid, *mcstatus;
00043 int nmcpart,nmu3,nel3,nab,nbb,nwenu,nwmunu,nzee,nzmumu;
00044 float pthatf;
00045 float ptEleMax,ptMuMax;
00046
00047 bool _Monte,_Debug;
00048
00049 };
00050
00051 #endif