Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-08-30 22:38:35

0001 // -*- C++ -*-
0002 //
0003 // Package:    EcalFEDErrorFilter
0004 // Class:      EcalFEDErrorFilter
0005 //
0006 /**\class EcalFEDErrorFilter EcalFEDErrorFilter.cc filter/EcalFEDErrorFilter/src/EcalFEDErrorFilter.cc
0007 
0008 Description: <one line class summary>
0009 
0010 Implementation:
0011 <Notes on implementation>
0012 */
0013 //
0014 // Original Author:  Giovanni FRANZONI
0015 //         Created:  Tue Jan 22 13:55:00 CET 2008
0016 //
0017 //
0018 
0019 // system include files
0020 #include <memory>
0021 
0022 // user include files
0023 #include "FWCore/Framework/interface/Frameworkfwd.h"
0024 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0025 
0026 #include "FWCore/Framework/interface/Event.h"
0027 #include "FWCore/Framework/interface/MakerMacros.h"
0028 
0029 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0030 #include "FWCore/Utilities/interface/InputTag.h"
0031 
0032 #include <string>
0033 #include <iostream>
0034 #include <vector>
0035 #include <iomanip>
0036 
0037 #include <DataFormats/FEDRawData/interface/FEDRawData.h>
0038 #include <DataFormats/FEDRawData/interface/FEDRawDataCollection.h>
0039 #include <DataFormats/FEDRawData/interface/FEDNumbering.h>
0040 //
0041 // class declaration
0042 //
0043 
0044 class EcalFEDErrorFilter : public HLTFilter {
0045 public:
0046   explicit EcalFEDErrorFilter(const edm::ParameterSet&);
0047   ~EcalFEDErrorFilter() override;
0048 
0049 private:
0050   bool hltFilter(edm::Event&,
0051                  const edm::EventSetup&,
0052                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0053 
0054   // ----------member data ---------------------------
0055 
0056   edm::EDGetTokenT<FEDRawDataCollection> dataToken_;
0057   std::vector<int> fedUnpackList_;
0058 };