/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Alignment/LaserAlignmentSimulation/src/LaserTrackingAction.cc
31 строка
1 KB
Cms Build
Clang-Format
04 май 2019, 10:54
04 май 2019, 10:54
d42c8c8
Код
Авторство
О чём код?
/** \file LaserTrackingAction.cc * * * $Date: Mon Mar 19 12:21:52 CET 2007 $ * $Revision: 1.1 $ * \author Maarten Thomas */ #include "Alignment/LaserAlignmentSimulation/interface/LaserTrackingAction.h" LaserTrackingAction::LaserTrackingAction(edm::ParameterSet const &theConf) {} LaserTrackingAction::~LaserTrackingAction() {} void LaserTrackingAction::PreUserTrackingAction(const G4Track *theTrack) { /* *********************************************************************** */ /* This code is called every time a new Track is created */ /* *********************************************************************** */ if (theTrack->GetParentID() == 0) { fpTrackingManager->SetStoreTrajectory(true); } else { fpTrackingManager->SetStoreTrajectory(true); } } void LaserTrackingAction::PostUserTrackingAction(const G4Track *theTrack) { /* *********************************************************************** */ /* This code is called every time a new Track is destroyed */ /* *********************************************************************** */ }