CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/SLHCUpgradeSimulations/L1CaloTrigger/plugins/CaloTriggerAnalyzerOnData.h

Go to the documentation of this file.
00001 //
00002 // Original Author:  Isobel Ojalvo
00003 // U.W. Madison
00004 //
00005 
00006 
00007 
00008 // system include files
00009 #include <memory>
00010 
00011 // user include files
00012 #include "FWCore/Framework/interface/Frameworkfwd.h"
00013 #include "FWCore/Framework/interface/EDAnalyzer.h"
00014 #include "FWCore/Framework/interface/Event.h"
00015 #include "FWCore/Framework/interface/MakerMacros.h"
00016 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00017 #include "DataFormats/Candidate/interface/Candidate.h"
00018 #include "DataFormats/Candidate/interface/CandidateFwd.h"
00019 #include "FWCore/ServiceRegistry/interface/Service.h"
00020 #include "CommonTools/UtilAlgos/interface/TFileService.h"
00021 
00022 #include "TH1F.h"
00023 #include "TProfile.h"
00024 class CaloTriggerAnalyzerOnData : public edm::EDAnalyzer {
00025    public:
00026       explicit CaloTriggerAnalyzerOnData(const edm::ParameterSet&);
00027       ~CaloTriggerAnalyzerOnData();
00028 
00029    private:
00030       virtual void analyze(const edm::Event&, const edm::EventSetup&);
00031 
00032       //Inputs
00033       edm::InputTag SLHCsrc_;
00034       edm::InputTag LHCsrc_;
00035       edm::InputTag LHCisosrc_;
00036       //edm::InputTag ref_;
00037       double iso_;
00038       double DR_;
00039       double threshold_;
00040       double maxEta_;
00041 
00042       float highestGenPt;
00043       float secondGenPt;
00044       float highPt;
00045       float secondPtf;
00046 
00047       TH1F * SLHCpt;
00048       TH1F * LHCpt;
00049 
00050       TH1F * eta;
00051 
00052       TH1F * ptNum;   
00053       TH1F * ptDenom;
00054       TH1F * etaNum;
00055       TH1F * etaDenom;
00056       TH1F * pt;
00057       TH1F * dPt;
00058       TH1F * dEta;
00059       TH1F * dPhi;
00060 
00061       TH1F * LHChighestPt;
00062       TH1F * LHCsecondPt;
00063       TH1F * SLHChighestPt;
00064       TH1F * SLHCsecondPt;
00065 
00066       TH1F * highestPt;
00067       TH1F * secondPt;
00068       TH1F * highestPtGen;
00069       TH1F * secondPtGen;
00070       TH1F * RPt;
00071       TH1F * absEta;
00072       TH1F * dR;
00073       TProfile * RPtEta;
00074       TProfile * RPtEtaFull;
00075 };
00076 
00077 
00078 
00079 
00080