CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/DQMOffline/PFTau/plugins/PFDQMEventSelector.h

Go to the documentation of this file.
00001 #ifndef PFDQMEventSelector_H
00002 #define PFDQMEventSelector_H
00003 
00004 #include "FWCore/Framework/interface/EDFilter.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006  
00007 class DQMStore;
00008 class PFDQMEventSelector : public edm::EDFilter {
00009 
00010 public:
00011    PFDQMEventSelector( const edm::ParameterSet & );
00012  ~PFDQMEventSelector();
00013 
00014 private:
00015   void beginJob();
00016   bool filter( edm::Event &, edm::EventSetup const& );
00017   void endJob();
00018 
00019   bool openInputFile();
00020 
00021   uint64_t nEvents_, nSelectedEvents_;
00022   bool verbose_;
00023 
00024   std::vector<std::string> folderNames_;
00025   std::string inputFileName_; 
00026   bool fileOpened_; 
00027 
00028   DQMStore* dqmStore_;
00029 };
00030 
00031 #endif