CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Validation/DTRecHits/plugins/DTSegment2DSLPhiQuality.h

Go to the documentation of this file.
00001 #ifndef Validation_DTSegment2DSLPhi_H
00002 #define Validation_DTSegment2DSLPhi_H
00003 
00013 #include "FWCore/Framework/interface/EDAnalyzer.h"
00014 #include "Histograms.h"
00015 
00016 #include <vector>
00017 #include <map>
00018 #include <string>
00019 
00020 namespace edm {
00021   class ParameterSet;
00022   class Event;
00023   class EventSetup;
00024 }
00025 
00026 class TFile;
00027 
00028 class DTSegment2DSLPhiQuality : public edm::EDAnalyzer {
00029 public:
00031   DTSegment2DSLPhiQuality(const edm::ParameterSet& pset);
00032 
00034   virtual ~DTSegment2DSLPhiQuality();
00035 
00036   // Operations
00037 
00039   void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
00040   // Write the histos to file
00041   void endJob();
00042 
00043 protected:
00044 
00045 private: 
00046 
00047   // The file which will store the histos
00048   TFile *theFile;
00049   // Switch for debug output
00050   bool debug;
00051   // Root file name
00052   std::string rootFileName;
00053   //Labels to read from event
00054   std::string simHitLabel;
00055   std::string segment4DLabel;
00056   //Sigma resolution on position
00057   double sigmaResPos;
00058   //Sigma resolution on angle
00059   double sigmaResAngle;
00060 
00061   HRes2DHit *h2DHitSuperPhi;
00062   HEff2DHit *h2DHitEff_SuperPhi;
00063 };
00064 #endif