Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:35

0001 #ifndef RazorVarAnalyzer_h
0002 #define RazorVarAnalyzer_h
0003 
0004 #include "DQM/DataScouting/interface/ScoutingAnalyzerBase.h"
0005 
0006 #include "DataFormats/EgammaCandidates/interface/ElectronFwd.h"
0007 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0008 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidate.h"
0009 
0010 class RazorVarAnalyzer : public ScoutingAnalyzerBase {
0011 public:
0012   explicit RazorVarAnalyzer(const edm::ParameterSet &);
0013   ~RazorVarAnalyzer() override;
0014   void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0015   void analyze(const edm::Event &, const edm::EventSetup &) override;
0016 
0017 private:
0018   edm::InputTag m_eleCollectionTag;
0019   edm::InputTag m_jetCollectionTag;
0020   edm::InputTag m_muCollectionTag;
0021   edm::InputTag m_razorVarCollectionTag;
0022 
0023   // inclusive histograms by jet number
0024   MonitorElement *m_rsqMRFullyInc;
0025   MonitorElement *m_rsqMRInc4J;
0026   MonitorElement *m_rsqMRInc6J;
0027   MonitorElement *m_rsqMRInc8J;
0028   MonitorElement *m_rsqMRInc10J;
0029   MonitorElement *m_rsqMRInc12J;
0030   MonitorElement *m_rsqMRInc14J;
0031 
0032   // per box histograms
0033   MonitorElement *m_rsqMREleMu;
0034   MonitorElement *m_rsqMRMuMu;
0035   MonitorElement *m_rsqMREleEle;
0036   MonitorElement *m_rsqMRMu;
0037   MonitorElement *m_rsqMREle;
0038   MonitorElement *m_rsqMRHad;
0039 
0040   // now per box multijet
0041   MonitorElement *m_rsqMRMuMJ;
0042   MonitorElement *m_rsqMREleMJ;
0043   MonitorElement *m_rsqMRHadMJ;
0044 
0045   // define Token(-s)
0046   edm::EDGetTokenT<reco::CaloJetCollection> m_jetCollectionTagToken_;
0047   edm::EDGetTokenT<std::vector<reco::RecoChargedCandidate>> m_muCollectionTagToken_;
0048   edm::EDGetTokenT<reco::ElectronCollection> m_eleCollectionTagToken_;
0049   edm::EDGetTokenT<std::vector<double>> m_razorVarCollectionTagToken_;
0050 };
0051 #endif