File indexing completed on 2024-04-06 12:20:13
0001 #ifndef L1GCTANALYZER_TIMINGANALYZER_H
0002 #define L1GCTANALYZER_TIMINGANALYZER_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #include "FWCore/Framework/interface/Frameworkfwd.h"
0022 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0023
0024 #include "FWCore/Framework/interface/Event.h"
0025 #include "FWCore/Framework/interface/MakerMacros.h"
0026
0027 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0028
0029
0030 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
0031 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCollections.h"
0032
0033 #include <iostream>
0034 #include <fstream>
0035
0036 class GctTimingAnalyzer : public edm::one::EDAnalyzer<> {
0037 public:
0038 explicit GctTimingAnalyzer(const edm::ParameterSet&);
0039 ~GctTimingAnalyzer() override;
0040
0041 private:
0042 void analyze(const edm::Event&, const edm::EventSetup&) override;
0043
0044 std::string m_outputFileName;
0045 std::ofstream m_outputFile;
0046
0047 edm::InputTag m_gctSource;
0048 edm::InputTag m_isoEmSource;
0049 edm::InputTag m_nonIsoEmSource;
0050 edm::InputTag m_cenJetsSource;
0051 edm::InputTag m_forJetsSource;
0052 edm::InputTag m_tauJetsSource;
0053
0054 bool m_doInternal;
0055 bool m_doElectrons;
0056 bool m_doJets;
0057 bool m_doHFRings;
0058 bool m_doESums;
0059
0060 unsigned m_evtNum;
0061 };
0062
0063 #endif