/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/HeavyIonEvent/interface/ClusterCompatibility.h
42 строки
1 KB
Cms Build
Clang-Format
03 июн 2019, 06:43
03 июн 2019, 06:43
2b2acc7
Код
Авторство
О чём код?
#ifndef DataFormats_ClusterCompatibility_h #define DataFormats_ClusterCompatibility_h #include <vector> namespace reco { class ClusterCompatibility { public: ClusterCompatibility(); virtual ~ClusterCompatibility(); /// Number of valid pixel clusters int nValidPixelHits() const { return nValidPixelHits_; } /// Number of vertex-position hypotheses tested int size() const { return z0_.size(); } /// Vertex z position for the i-th vertex-position hypothesis float z0(int i) const { return z0_[i]; } /// Number of compatible non-edge pixel-barrel clusters /// for the i-th vertex-position hypothesis int nHit(int i) const { return nHit_[i]; } /// Sum of the difference between the expected and actual /// width of all compatible non-edge pixel-barrel clusters /// for the i-th vertex-position hypothesis float chi(int i) const { return chi_[i]; } void append(float, int, float); void setNValidPixelHits(int nPxl) { nValidPixelHits_ = nPxl; } protected: int nValidPixelHits_; std::vector<float> z0_; std::vector<int> nHit_; std::vector<float> chi_; }; } // namespace reco #endif