Go to the documentation of this file.00001 #ifndef L1TdeCSCTF_h
00002 #define L1TdeCSCTF_h
00003
00004 #include "FWCore/Framework/interface/Frameworkfwd.h"
00005 #include "FWCore/PluginManager/interface/ModuleDef.h"
00006 #include "FWCore/Framework/interface/MakerMacros.h"
00007
00008 #include "FWCore/Framework/interface/EDAnalyzer.h"
00009 #include "FWCore/Framework/interface/Event.h"
00010 #include "DataFormats/Common/interface/Handle.h"
00011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00012 #include "FWCore/Framework/interface/EventSetup.h"
00013 #include "FWCore/Framework/interface/ESHandle.h"
00014 #include "FWCore/Utilities/interface/InputTag.h"
00015 #include "CondFormats/L1TObjects/interface/L1MuTriggerScales.h"
00016 #include "L1Trigger/CSCTrackFinder/interface/CSCSectorReceiverLUT.h"
00017 #include <L1Trigger/CSCTrackFinder/interface/CSCTFPtLUT.h>
00018
00019 #include "DQMServices/Core/interface/DQMStore.h"
00020 #include "DQMServices/Core/interface/MonitorElement.h"
00021 #include "FWCore/ServiceRegistry/interface/Service.h"
00022 #include <L1Trigger/CSCTrackFinder/src/CSCTFDTReceiver.h>
00023
00024 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00025
00026 #include <iostream>
00027 #include <fstream>
00028 #include <vector>
00029 #include <memory>
00030 #include <unistd.h>
00031
00032 #include "TTree.h"
00033 #include "TFile.h"
00034
00035 class L1TdeCSCTF : public edm::EDAnalyzer {
00036 private:
00037 edm::InputTag lctProducer, dataTrackProducer, emulTrackProducer, dataStubProducer, emulStubProducer;
00038
00039 const L1MuTriggerScales *ts;
00040 CSCTFPtLUT* ptLUT_;
00041 edm::ParameterSet ptLUTset;
00042 CSCTFDTReceiver* my_dtrc;
00043
00044
00046 DQMStore * dbe;
00047 MonitorElement* phiComp, *etaComp, *occComp, *ptComp, *qualComp;
00048 MonitorElement* pt1Comp, *pt2Comp, *pt3Comp, *pt4Comp, *pt5Comp, *pt6Comp;
00049 MonitorElement* dtStubPhi, *badDtStubSector;
00050
00051 MonitorElement* phiComp_1d, *etaComp_1d, *occComp_1d, *ptComp_1d, *qualComp_1d;
00052 MonitorElement* pt1Comp_1d, *pt2Comp_1d, *pt3Comp_1d, *pt4Comp_1d, *pt5Comp_1d, *pt6Comp_1d;
00053 MonitorElement* dtStubPhi_1d;
00054
00055
00057 std::string m_dirName;
00058 std::string outFile;
00059
00060
00061 public:
00062 void analyze(edm::Event const& e, edm::EventSetup const& iSetup);
00063 void endJob(void);
00064 void beginJob();
00065
00066 explicit L1TdeCSCTF(edm::ParameterSet const& pset);
00067 virtual ~L1TdeCSCTF() {}
00068 };
00069
00070 #endif
00071