CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/Validation/TrackingMCTruth/interface/TrackingTruthValid.h

Go to the documentation of this file.
00001 #ifndef TrackingTruthValid_h
00002 #define TrackingTruthValid_h
00003 
00004 #include "FWCore/Framework/interface/Frameworkfwd.h"
00005 #include "FWCore/Framework/interface/EDAnalyzer.h"
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00008 
00009 #include "DQMServices/Core/interface/DQMStore.h"
00010 
00011 #include "FWCore/ServiceRegistry/interface/Service.h"
00012 #include "FWCore/Utilities/interface/InputTag.h"
00013 
00014 #include <iostream>
00015 #include <string>
00016 #include <TH1F.h>
00017 #include <TH2F.h>
00018 #include "DQMServices/Core/interface/MonitorElement.h"
00019 
00020 class TrackingTruthValid  : public edm::EDAnalyzer {
00021  public:
00022   //Constructor
00023   explicit TrackingTruthValid(const edm::ParameterSet& conf) ;
00024   //Destructor
00025   ~TrackingTruthValid(){} ;
00026   
00027   virtual void analyze(const edm::Event&, const edm::EventSetup& );
00028 
00029   void beginJob(const edm::ParameterSet& conf);
00030   void endJob();
00031   
00032  private:
00033   DQMStore* dbe_;
00034   edm::ParameterSet conf_;
00035   std::string outputFile;
00036   edm::InputTag src_;
00037   
00038   MonitorElement* meTPMass;
00039   MonitorElement* meTPCharge; 
00040   MonitorElement* meTPId;
00041   MonitorElement* meTPProc;
00042   MonitorElement* meTPAllHits;
00043   MonitorElement* meTPMatchedHits;
00044   MonitorElement* meTPPt;
00045   MonitorElement* meTPEta;
00046   MonitorElement* meTPPhi;
00047   MonitorElement* meTPVtxX;
00048   MonitorElement* meTPVtxY;
00049   MonitorElement* meTPVtxZ; 
00050   MonitorElement* meTPtip;
00051   MonitorElement* meTPlip;
00052   
00053 };
00054 
00055 #endif