Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:55

0001 // -*- C++ -*-
0002 //
0003 // Package:    L1GctTestAnalyzer
0004 // Class:      L1GctTestAnalyzer
0005 //
0006 /**\class L1GctTestAnalyzer L1GctTestAnalyzer.cc L1Trigger/GlobalCaloTrigger/test/L1GctTestAnalyzer.cc
0007 
0008  Description: <one line class summary>
0009 
0010  Implementation:
0011      <Notes on implementation>
0012 */
0013 //
0014 // Original Author:  Jim Brooke
0015 //         Created:  Thu May 18 16:45:23 CEST 2006
0016 //
0017 //
0018 
0019 // user include files
0020 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0021 
0022 #include "FWCore/Framework/interface/Event.h"
0023 
0024 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0025 #include "FWCore/Utilities/interface/InputTag.h"
0026 
0027 #include <iostream>
0028 #include <fstream>
0029 
0030 //
0031 // class decleration
0032 //
0033 
0034 class L1GctTestAnalyzer : public edm::one::EDAnalyzer<> {
0035 public:
0036   explicit L1GctTestAnalyzer(const edm::ParameterSet&);
0037   ~L1GctTestAnalyzer() override;
0038 
0039   void analyze(const edm::Event&, const edm::EventSetup&) override;
0040 
0041   void doRctEM(const edm::Event&, edm::InputTag label);
0042   void doInternEM(const edm::Event&, edm::InputTag label);
0043   void doEM(const edm::Event&, edm::InputTag label);
0044   void doJets(const edm::Event&, edm::InputTag label);
0045   void doEnergySums(const edm::Event&, edm::InputTag label);
0046 
0047 private:
0048   // ----------member data ---------------------------
0049 
0050   edm::InputTag rawLabel_;
0051   edm::InputTag emuLabel_;
0052   std::string outFilename_;
0053   std::ofstream outFile_;
0054 
0055   bool doHW_;
0056   bool doEmu_;
0057   bool doRctEM_;
0058   bool doInternEM_;
0059   bool doEM_;
0060   bool doJets_;
0061   bool doEnergySums_;
0062 
0063   unsigned rctEmMinRank_;
0064 };
0065 
0066 //
0067 // constants, enums and typedefs
0068 //
0069 
0070 //
0071 // static data member definitions
0072 //
0073 
0074 //