CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/EventFilter/CSCTFRawToDigi/interface/CSCTFAnalyzer.h

Go to the documentation of this file.
00001 #ifndef CSCTFAnalyzer_h
00002 #define CSCTFAnalyzer_h
00003 
00004 #include "FWCore/Framework/interface/EDAnalyzer.h"
00005 #include "FWCore/Framework/interface/Event.h"
00006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00007 #include "FWCore/Framework/interface/EventSetup.h"
00008 #include "FWCore/Utilities/interface/InputTag.h"
00009 #include <TTree.h>
00010 #include <TFile.h>
00011 
00012 class CSCTFAnalyzer : public edm::EDAnalyzer {
00013 private:
00014         edm::InputTag mbProducer, lctProducer, trackProducer, statusProducer;
00015         TTree *tree;
00016         TFile *file;
00017         int dtPhi[12][2];
00018 
00019 public:
00020         void analyze(const edm::Event& e, const edm::EventSetup& c);
00021 
00022         explicit CSCTFAnalyzer(const edm::ParameterSet &conf);
00023         ~CSCTFAnalyzer(void){ file->cd(); tree->Write(); file->Close(); }
00024 };
00025 
00026 #endif