/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/L1Trigger/interface/Jet.h
61 строка
2 KB
Matti Kortelainen
Move stored types in io_v1 namespace, reset class versions to 3
22 май 2026, 18:18
22 май 2026, 18:18
909f324
Код
Авторство
О чём код?
#ifndef DataFormats_L1Trigger_Jet_h #define DataFormats_L1Trigger_Jet_h #include "DataFormats/L1Trigger/interface/L1Candidate.h" #include "DataFormats/L1Trigger/interface/BXVector.h" #include "DataFormats/L1Trigger/interface/L1TObjComparison.h" namespace l1t { namespace io_v1 { class Jet : public L1Candidate { public: Jet() { clear_extended(); } Jet(const LorentzVector& p4, int pt = 0, int eta = 0, int phi = 0, int qual = 0); Jet(const PolarLorentzVector& p4, int pt = 0, int eta = 0, int phi = 0, int qual = 0); ~Jet() override; void setTowerIEta(short int ieta); // ieta of seed tower void setTowerIPhi(short int iphi); // iphi of seed tower void setRawEt(short int et); // raw (uncalibrated) cluster sum void setSeedEt(short int et); void setPUEt(short int et); void setPUDonutEt(unsigned int i, short int et); short int towerIEta() const; short int towerIPhi() const; short int rawEt() const; short int seedEt() const; short int puEt() const; short int puDonutEt(int i) const; bool operator==(const l1t::io_v1::Jet& rhs) const; inline bool operator!=(const l1t::io_v1::Jet& rhs) const { return !(operator==(rhs)); }; private: using L1Candidate::operator==; using L1Candidate::operator!=; // additional hardware quantities common to L1 global jet void clear_extended(); short int towerIEta_; short int towerIPhi_; short int rawEt_; short int seedEt_; short int puEt_; short int puDonutEt_[4]; }; } // namespace io_v1 using Jet = io_v1::Jet; typedef BXVector<Jet> JetBxCollection; typedef edm::Ref<JetBxCollection> JetRef; typedef edm::RefVector<JetBxCollection> JetRefVector; typedef std::vector<JetRef> JetVectorRef; typedef ObjectRefBxCollection<Jet> JetRefBxCollection; typedef ObjectRefPair<Jet> JetRefPair; typedef ObjectRefPairBxCollection<Jet> JetRefPairBxCollection; } // namespace l1t #endif