/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/L1TGlobal/interface/AXOL1TLScore.h
71 строка
2 KB
Melissa Quinnan
removed previous checksums, removed class intitialization with ibxInEvent
22 июн 2024, 00:14
22 июн 2024, 00:14
9ee1dd8
Код
Авторство
О чём код?
#ifndef DataFormats_L1TGlobal_AXOL1TLScore_h #define DataFormats_L1TGlobal_AXOL1TLScore_h /** * \class AXOL1TLScore * * * Description: L1 micro Global Trigger - Extra NN score emulation information for AXOL1TL. * * * \author: Melissa Quinnan - UC San Diego * * */ // system include files #include <vector> #include <iostream> #include <iomanip> // user include files #include "FWCore/Utilities/interface/typedefs.h" #include "DataFormats/L1Trigger/interface/L1Candidate.h" #include "DataFormats/L1Trigger/interface/BXVector.h" #include "DataFormats/L1Trigger/interface/L1TObjComparison.h" // forward declarations // namespace l1t { class AXOL1TLScore; typedef BXVector<AXOL1TLScore> AXOL1TLScoreBxCollection; typedef l1t::ObjectRef<AXOL1TLScore> AXOL1TLScoreRef; typedef l1t::ObjectRefBxCollection<AXOL1TLScore> AXOL1TLScoreRefBxCollection; // typedef l1t::ObjectRefPair<AXOL1TLScore> AXOL1TLScoreRefPair; // typedef l1t::ObjectRefPairBxCollection<AXOL1TLScore> AXOL1TLScoreRefPairBxCollection; //dont think pair part is needed // class interface class AXOL1TLScore { public: /// constructors AXOL1TLScore(); //empty constructor AXOL1TLScore(int bxInEvent); AXOL1TLScore(int bxInEvent, float score); /// destructor virtual ~AXOL1TLScore(); ///set/get axo score and other simple members void setAXOScore(float score) { axoscore_ = score; } void setbxInEventNr(int bxNr) { m_bxInEvent = bxNr; } inline float const& getAXOScore() const { return axoscore_; } inline const int getbxInEventNr() const { return m_bxInEvent; } void reset(); private: /// bunch cross in the GT event record (E,F,0,1,2) int m_bxInEvent; //axo score value float axoscore_; //store version or type of network? // std::string nnversion; }; //} l1t namespace #endif /*DataFormats_L1TGlobal_AXOL1TLScore_h*/