/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimGeneral/TrackingAnalysis/interface/PSimHitSelector.h
40 строк
1 KB
Sunanda
Remove some compilation warnings in SimGeneral/TrackingAnalysis
27 дек 2021, 20:16
27 дек 2021, 20:16
159c28c
Код
Авторство
О чём код?
#ifndef TrackingAnalysis_PSimHitSelector_h #define TrackingAnalysis_PSimHitSelector_h #include <map> #include <string> #include <vector> #include "FWCore/Framework/interface/ConsumesCollector.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "SimDataFormats/TrackingHit/interface/PSimHit.h" //! PSimHitSelector class class PSimHitSelector { public: typedef std::vector<PSimHit> PSimHitCollection; //! Constructor by pset. /* Creates a MuonPSimHitSelector with association given by pset. /param[in] pset with the configuration values */ PSimHitSelector(edm::ParameterSet const &, edm::ConsumesCollector &); std::string mixLabel_; //! Virtual destructor. virtual ~PSimHitSelector() = default; //! Select the psimhit add them to a PSimHitCollection virtual void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const; protected: typedef std::map<std::string, std::vector<std::string>> PSimHitCollectionMap; PSimHitCollectionMap pSimHitCollectionMap_; }; #endif