/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Calibration/Tools/interface/CalibElectron.h
35 строк
1 KB
Shahzad Malik Muzaffar
[ALCA] Changes suggested by new llvm18 clang-format
05 сен 2024, 17:03
05 сен 2024, 17:03
dfd2283
Код
Авторство
О чём код?
#ifndef CALIBELECTRON_H #define CALIBELECTRON_H #include <TROOT.h> #include <TLorentzVector.h> #include <vector> #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h" #include "DataFormats/EgammaCandidates/interface/GsfElectron.h" #include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h" namespace calib { class CalibElectron { public: CalibElectron(); CalibElectron(const reco::GsfElectron* ele, const EcalRecHitCollection* theHits, const EcalRecHitCollection* theEEHits) : theElectron_(ele), theHits_(theHits), theEEHits_(theEEHits) {} ~CalibElectron() {} std::vector<std::pair<int, float> > getCalibModulesWeights(TString calibtype); const reco::GsfElectron* getRecoElectron() { return theElectron_; } const EcalRecHitCollection* getRecHits() { return theHits_; } const EcalRecHitCollection* getEERecHits() { return theEEHits_; } private: const reco::GsfElectron* theElectron_; const EcalRecHitCollection* theHits_; const EcalRecHitCollection* theEEHits_; }; } // namespace calib #endif