/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/TrackReco/interface/SeedStopInfo.h
23 строки
729 B
Matti Kortelainen
Add candidates/seed to SeedStopInfo and propagate to TrackingNtuple
08 сен 2017, 17:53
08 сен 2017, 17:53
f99b5fb
Код
Авторство
О чём код?
#ifndef DataFormats_TrackReco_SeedStopInfo_h #define DataFormats_TrackReco_SeedStopInfo_h #include "DataFormats/TrackReco/interface/SeedStopReason.h" class SeedStopInfo { public: SeedStopInfo() {} ~SeedStopInfo() = default; void setCandidatesPerSeed(unsigned short value) { candidatesPerSeed_ = value; } unsigned short candidatesPerSeed() const { return candidatesPerSeed_; } void setStopReason(SeedStopReason value) { stopReason_ = value; } SeedStopReason stopReason() const { return stopReason_; } unsigned char stopReasonUC() const { return static_cast<unsigned char>(stopReason_); } private: unsigned short candidatesPerSeed_ = 0; SeedStopReason stopReason_ = SeedStopReason::UNINITIALIZED; }; #endif