CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/L1Trigger/CSCTrackFinder/plugins/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 "DataFormats/Common/interface/Handle.h"
00007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00008 #include "FWCore/Framework/interface/EventSetup.h"
00009 #include "FWCore/Framework/interface/ESHandle.h"
00010 #include "FWCore/Utilities/interface/InputTag.h"
00011 #include "CondFormats/L1TObjects/interface/L1MuTriggerScales.h"
00012 
00013 #include "TTree.h"
00014 #include "TFile.h"
00015 
00016 class CSCTFanalyzer : public edm::EDAnalyzer {
00017 private:
00018         edm::InputTag lctProducer, mbProducer, dataTrackProducer, emulTrackProducer;
00019         TTree *tree;
00020         TFile *file;
00021         int nDataMuons, nEmulMuons, verbose;
00022         double dphi1, deta1; int dpt1, dch1, dbx1;
00023         double dphi2, deta2; int dpt2, dch2, dbx2;
00024         double dphi3, deta3; int dpt3, dch3, dbx3;
00025         int drank1, drank2, drank3;
00026         int dmode1, dmode2, dmode3;
00027         int dlcts1, dlcts2, dlcts3;
00028         double ephi1, eeta1; int ept1, ech1, ebx1;
00029         double ephi2, eeta2; int ept2, ech2, ebx2;
00030         double ephi3, eeta3; int ept3, ech3, ebx3;
00031         int erank1, erank2, erank3;
00032         int emode1, emode2, emode3;
00033 
00034         const L1MuTriggerScales *ts;
00035 
00036 public:
00037         virtual void analyze(edm::Event const& e, edm::EventSetup const& iSetup);
00038         virtual void endJob(void);
00039         virtual void beginJob(){}
00040 
00041         explicit CSCTFanalyzer(edm::ParameterSet const& pset);
00042         virtual ~CSCTFanalyzer(void) {}
00043 };
00044 
00045 #endif
00046