Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-12-16 00:33:31

0001 #ifndef TrackingTruthValid_h
0002 #define TrackingTruthValid_h
0003 
0004 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0005 #include "FWCore/Framework/interface/Frameworkfwd.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007 #include "DQMServices/Core/interface/DQMStore.h"
0008 
0009 #include <string>
0010 
0011 class TrackingParticle;
0012 
0013 class TrackingTruthValid : public DQMEDAnalyzer {
0014 public:
0015   typedef std::vector<TrackingParticle> TrackingParticleCollection;
0016   // Constructor
0017   explicit TrackingTruthValid(const edm::ParameterSet &conf);
0018   // Destructor
0019   ~TrackingTruthValid() override{};
0020 
0021   void analyze(const edm::Event &, const edm::EventSetup &) override;
0022 
0023   void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &run, const edm::EventSetup &es) override;
0024 
0025 private:
0026   bool runStandalone;
0027   std::string outputFile;
0028 
0029   DQMStore *dbe_;
0030   MonitorElement *meTPMass;
0031   MonitorElement *meTPCharge;
0032   MonitorElement *meTPId;
0033   MonitorElement *meTPProc;
0034   MonitorElement *meTPAllHits;
0035   MonitorElement *meTPMatchedHits;
0036   MonitorElement *meTPPt;
0037   MonitorElement *meTPEta;
0038   MonitorElement *meTPPhi;
0039   MonitorElement *meTPVtxX;
0040   MonitorElement *meTPVtxY;
0041   MonitorElement *meTPVtxZ;
0042   MonitorElement *meTPtip;
0043   MonitorElement *meTPlip;
0044 
0045   edm::EDGetTokenT<TrackingParticleCollection> vec_TrackingParticle_Token_;
0046 };
0047 
0048 #endif