/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Geometry/HcalCommonData/interface/HcalHitRelabeller.h
23 строки
806 B
Sunanda
Try to fix the issue of HCAL hit relabeller
26 июн 2023, 07:59
26 июн 2023, 07:59
9956394
Код
Авторство
О чём код?
#ifndef SimCalorimetry_HcalSimProducers_HcalHitRelabeller_h #define SimCalorimetry_HcalSimProducers_HcalHitRelabeller_h 1 #include <vector> #include "SimDataFormats/CaloHit/interface/PCaloHit.h" #include "DataFormats/DetId/interface/DetId.h" #include "Geometry/HcalCommonData/interface/HcalDDDRecConstants.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" class HcalHitRelabeller { public: HcalHitRelabeller(bool nd = false); void process(std::vector<PCaloHit>& hcalHits); void setGeometry(const HcalDDDRecConstants*&); DetId relabel(const uint32_t testId) const; static DetId relabel(const uint32_t testId, const HcalDDDRecConstants* theRecNumber); double energyWt(const uint32_t testId) const; private: const HcalDDDRecConstants* theRecNumber; bool neutralDensity_; }; #endif