/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FastSimulation/Event/interface/FBaseSimEvent.icc
33 строки
1 KB
Cms Build
Clang-Format
24 май 2019, 00:14
24 май 2019, 00:14
740c44a
Код
Авторство
О чём код?
#include "FastSimulation/Event/interface/FSimTrack.h" #include "FastSimulation/Event/interface/FSimVertex.h" #include "FastSimDataFormats/NuclearInteractions/interface/FSimVertexType.h" inline FSimTrack& FBaseSimEvent::track(int i) const { if (i < 0 || i >= (int)nTracks()) { throw cms::Exception("FastSim") << "Index for FSimTracks out of range, please contact FastSim developers" << std::endl; } return (*theSimTracks)[i]; } inline FSimVertex& FBaseSimEvent::vertex(int i) const { if (i < 0 || i >= (int)nVertices()) { throw cms::Exception("FastSim") << "Index for FSimVertex out of range, please contact FastSim developers" << std::endl; } return (*theSimVertices)[i]; } inline FSimVertexType& FBaseSimEvent::vertexType(int i) const { if (i < 0 || i >= (int)nVertices()) { throw cms::Exception("FastSim") << "Index for FSimVertexType out of range, please contact FastSim developers" << std::endl; } return (*theFSimVerticesType)[i]; } inline const SimTrack& FBaseSimEvent::embdTrack(int i) const { return (*theSimTracks)[i].simTrack(); } inline const SimVertex& FBaseSimEvent::embdVertex(int i) const { return (*theSimVertices)[i].simVertex(); } inline const FSimVertexType& FBaseSimEvent::embdVertexType(int i) const { return (*theFSimVerticesType)[i]; }