/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
L1Trigger/DTTriggerPhase2/interface/LateralityProvider.h
58 строк
2 KB
Javier
Forward port to 13_3_0 of branch AMv2
16 окт 2023, 18:02
16 окт 2023, 18:02
53fccbb
Код
Авторство
О чём код?
#ifndef Phase2L1Trigger_DTTrigger_LateralityProvider_h #define Phase2L1Trigger_DTTrigger_LateralityProvider_h #include "FWCore/Utilities/interface/ESGetToken.h" #include "FWCore/Framework/interface/ConsumesCollector.h" #include "FWCore/Framework/interface/FrameworkfwdMostUsed.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/Framework/interface/Run.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "L1Trigger/DTTriggerPhase2/interface/MuonPath.h" #include "L1Trigger/DTTriggerPhase2/interface/constants.h" #include <iostream> #include <fstream> // =============================================================================== // Previous definitions and declarations // =============================================================================== // =============================================================================== // Class declarations // =============================================================================== using latcomb = std::vector<short>; using lat_vector = std::vector<latcomb>; class LateralityProvider { public: // Constructors and destructor LateralityProvider(const edm::ParameterSet& pset, edm::ConsumesCollector& iC); virtual ~LateralityProvider(); // Main methods virtual void initialise(const edm::EventSetup& iEventSetup); virtual void run(edm::Event& iEvent, const edm::EventSetup& iEventSetup, MuonPathPtrs& inMpath, std::vector<lat_vector>& lateralities) = 0; virtual void finish(); // Other public methods // Public attributes lat_vector LAT_VECTOR_NULL = {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}}; private: // Private methods // Private attributes const bool debug_; }; #endif