/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/EgammaReco/interface/PreshowerClusterShape.h
51 строка
1 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_EgammaReco_PreshowerClusterShape_h #define DataFormats_EgammaReco_PreshowerClusterShape_h /* * PreshowerShape cluster class * * \author Aris Kyriakis (NCSR "Demokritos") */ // #include "DataFormats/EgammaReco/interface/PreshowerClusterShapeFwd.h" #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h" namespace reco { namespace io_v1 { class PreshowerClusterShape { public: /// default constructor PreshowerClusterShape() {} virtual ~PreshowerClusterShape(); /// constructor from strip energies PreshowerClusterShape(const std::vector<float>& stripEnergies, const int plane); /// Copy contructor PreshowerClusterShape(const PreshowerClusterShape&); /// Preshower plane int plane() const { return plane_; } /// Associated SuperCluster; SuperClusterRef superCluster() const { return sc_ref_; } /// Energies of component strips virtual std::vector<float> getStripEnergies() const { return stripEnergies_; } void setSCRef(const SuperClusterRef& r) { sc_ref_ = r; } private: int plane_; /// Associated super cluster; SuperClusterRef sc_ref_; /// used strip energies std::vector<float> stripEnergies_; }; } // namespace io_v1 using PreshowerClusterShape = io_v1::PreshowerClusterShape; } // namespace reco #endif