/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimDataFormats/Vertex/src/SimVertex.cc
25 строк
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
Код
Авторство
О чём код?
#include "SimDataFormats/Vertex/interface/SimVertex.h" namespace io_v1 { SimVertex::SimVertex() : itrack(-1), vtxId(0), procType(0) {} SimVertex::SimVertex(const math::XYZVectorD& v, float tof) : Core(v, tof), itrack(-1), vtxId(0), procType(0) {} SimVertex::SimVertex(const math::XYZVectorD& v, float tof, int it) : Core(v, tof), itrack(it), vtxId(0), procType(0) {} SimVertex::SimVertex(const CoreSimVertex& v, int it) : Core(v), itrack(it), vtxId(0), procType(0) {} SimVertex::SimVertex(const math::XYZVectorD& v, float tof, unsigned int vId) : Core(v, tof), itrack(-1), vtxId(vId), procType(0) {} SimVertex::SimVertex(const math::XYZVectorD& v, float tof, int it, unsigned int vId) : Core(v, tof), itrack(it), vtxId(vId), procType(0) {} SimVertex::SimVertex(const CoreSimVertex& v, int it, unsigned int vId) : Core(v), itrack(it), vtxId(vId), procType(0) {} std::ostream& operator<<(std::ostream& o, const SimVertex& v) { return o << (SimVertex::Core)(v) << ", " << v.parentIndex() << ", " << v.vertexId(); } } // namespace io_v1