Go to the documentation of this file.00001
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include <memory>
00018 #include <string>
00019
00020
00021 #include "FWCore/Framework/interface/Frameworkfwd.h"
00022 #include "FWCore/Framework/interface/EDFilter.h"
00023 #include "FWCore/Framework/interface/MakerMacros.h"
00024 #include "FWCore/Utilities/interface/InputTag.h"
00025
00026
00027
00028
00029
00030 class CSCWireDigi;
00031 class CSCStripDigi;
00032 class CSCComparatorDigi;
00033 class CSCCLCTDigi;
00034 class CSCALCTDigi;
00035 class CSCCorrelatedLCTDigi;
00036 class CSCDetId;
00037 class CSCChamberMap;
00038
00039 class CSCDigiValidator : public edm::EDFilter {
00040 public:
00041 explicit CSCDigiValidator(const edm::ParameterSet&);
00042 ~CSCDigiValidator();
00043
00044 private:
00045 virtual void beginJob() ;
00046 virtual bool filter(edm::Event&, const edm::EventSetup&);
00047 virtual void endJob() ;
00048
00049 std::vector<CSCWireDigi>
00050 sanitizeWireDigis(std::vector<CSCWireDigi>::const_iterator,
00051 std::vector<CSCWireDigi>::const_iterator);
00052 std::vector<CSCStripDigi>
00053 relabelStripDigis(const CSCChamberMap*,CSCDetId,
00054 std::vector<CSCStripDigi>::const_iterator,
00055 std::vector<CSCStripDigi>::const_iterator);
00056 std::vector<CSCStripDigi>
00057 sanitizeStripDigis(std::vector<CSCStripDigi>::const_iterator,
00058 std::vector<CSCStripDigi>::const_iterator);
00059 std::vector<CSCStripDigi>
00060 zeroSupStripDigis(std::vector<CSCStripDigi>::const_iterator,
00061 std::vector<CSCStripDigi>::const_iterator);
00062 std::vector<CSCComparatorDigi>
00063 relabelCompDigis(const CSCChamberMap* m, CSCDetId _id,
00064 std::vector<CSCComparatorDigi>::const_iterator b,
00065 std::vector<CSCComparatorDigi>::const_iterator e);
00066 std::vector<CSCComparatorDigi>
00067 zeroSupCompDigis(std::vector<CSCComparatorDigi>::const_iterator,
00068 std::vector<CSCComparatorDigi>::const_iterator);
00069
00070
00071 edm::InputTag wire1,strip1,comp1,clct1,alct1,lct1,csctf1,csctfstubs1;
00072 edm::InputTag wire2,strip2,comp2,clct2,alct2,lct2,csctf2,csctfstubs2;
00073
00074 bool reorderStrips;
00075 };
00076