CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/EventFilter/CSCRawToDigi/interface/CSCDigiValidator.h

Go to the documentation of this file.
00001 
00008 //
00009 // Original Author:  Lindsey Gray
00010 //         Created:  Tue Jul 28 18:04:11 CEST 2009
00011 // $Id: CSCDigiValidator.h,v 1.1 2009/11/09 20:29:43 lgray Exp $
00012 //
00013 //
00014 
00015 
00016 // system include files
00017 #include <memory>
00018 #include <string>
00019 
00020 // user include files
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 // class decleration
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       // ----------member data ---------------------------
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