Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:13

0001 // -*- C++ -*-
0002 //
0003 // Package:    DumpGctDigis
0004 // Class:      DumpGctDigis
0005 //
0006 /**\class DumpGctDigis DumpGctDigis.cc L1Trigger/GlobalCaloTrigger/test/DumpGctDigis.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 DumpGctDigis : public edm::one::EDAnalyzer<> {
0035 public:
0036   explicit DumpGctDigis(const edm::ParameterSet&);
0037   ~DumpGctDigis() override;
0038 
0039   void analyze(const edm::Event&, const edm::EventSetup&) override;
0040 
0041   void doRctEM(const edm::Event&, const edm::InputTag& label);
0042   void doEM(const edm::Event&, const edm::InputTag& label);
0043   void doRegions(const edm::Event&, const edm::InputTag& label);
0044   void doJets(const edm::Event&, const edm::InputTag& label);
0045   void doInternEM(const edm::Event&, const edm::InputTag& label);
0046   void doFibres(const edm::Event&, const edm::InputTag& label);
0047   void doEnergySums(const edm::Event&, const edm::InputTag& label);
0048 
0049 private:
0050   // ----------member data ---------------------------
0051 
0052   edm::InputTag rawLabel_;
0053   edm::InputTag emuRctLabel_;
0054   edm::InputTag emuGctLabel_;
0055   std::string outFilename_;
0056 
0057   bool doHW_;
0058   bool doEmu_;
0059   bool doRctEM_;
0060   bool doEM_;
0061   bool doRegions_;
0062   bool doJets_;
0063   bool doInternEM_;
0064   bool doFibres_;
0065   bool doEnergySums_;
0066 
0067   unsigned rctEmMinRank_;
0068 
0069   std::ofstream outFile_;
0070 };
0071 
0072 //
0073 // constants, enums and typedefs
0074 //
0075 
0076 //
0077 // static data member definitions
0078 //
0079 
0080 //