/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Validation/TrackingMCTruth/interface/TrackingTruthValid.h
47 строк
1 KB
Christopher Jones
Replace forward declaration with TrackingParticleFwd.h
20 фев 2026, 00:39
20 фев 2026, 00:39
e495485
Код
Авторство
О чём код?
#ifndef TrackingTruthValid_h #define TrackingTruthValid_h #include "DQMServices/Core/interface/DQMEDAnalyzer.h" #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "DQMServices/Core/interface/DQMStore.h" #include "SimDataFormats/TrackingAnalysis/interface/TrackingParticleFwd.h" #include <string> class TrackingTruthValid : public DQMEDAnalyzer { public: typedef std::vector<TrackingParticle> TrackingParticleCollection; // Constructor explicit TrackingTruthValid(const edm::ParameterSet &conf); // Destructor ~TrackingTruthValid() override {} void analyze(const edm::Event &, const edm::EventSetup &) override; void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &run, const edm::EventSetup &es) override; private: bool runStandalone; std::string outputFile; DQMStore *dbe_; MonitorElement *meTPMass; MonitorElement *meTPCharge; MonitorElement *meTPId; MonitorElement *meTPProc; MonitorElement *meTPAllHits; MonitorElement *meTPMatchedHits; MonitorElement *meTPPt; MonitorElement *meTPEta; MonitorElement *meTPPhi; MonitorElement *meTPVtxX; MonitorElement *meTPVtxY; MonitorElement *meTPVtxZ; MonitorElement *meTPtip; MonitorElement *meTPlip; edm::EDGetTokenT<TrackingParticleCollection> vec_TrackingParticle_Token_; }; #endif