slic/src
diff -u -r1.42 -r1.43
--- TrajectoryManager.cc 19 Oct 2005 22:51:18 -0000 1.42
+++ TrajectoryManager.cc 5 Apr 2006 20:36:21 -0000 1.43
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/src/TrajectoryManager.cc,v 1.42 2005/10/19 22:51:18 jeremy Exp $
+// $Header: /cvs/lcd/slic/src/TrajectoryManager.cc,v 1.43 2006/04/05 20:36:21 jeremy Exp $
// slic
#include "TrajectoryManager.hh"
@@ -38,13 +38,14 @@
m_currentTrack = aTrack;
m_currentTrackID = aTrack->GetTrackID();
- // DEBUG: print track ID
+ // DEBUG: print track info
#ifdef SLIC_VERBOSE
if ( verbose() ) {
- std::cout << "TrajectoryManager::preTracking() - trackID <"
- << aTrack->GetTrackID()
- << ">"
- << std::endl;
+ std::cout << "TrajectoryManager::preTracking()" << std::endl
+ << "trackID <" << aTrack->GetTrackID() << ">" << std::endl
+ << "particle <" << aTrack->GetDefinition()->GetParticleName() << ">" << std::endl
+ << "volume <" << aTrack->GetVolume()->GetName() << ">" << std::endl;
+ printStatusFlags(aTrack);
}
#endif
@@ -99,6 +100,12 @@
void TrajectoryManager::postTracking(const G4Track* aTrack)
{
+#ifdef SLIC_VERBOSE
+ if ( verbose() ) {
+ std::cout << "TrajectoryManager::postTracking()" << std::endl;
+ }
+#endif
+
// check if needs manual setup
if ( needsManualTrajectorySetup( aTrack ) ) {
@@ -276,8 +283,6 @@
// create new track info
TrackInformation* newTrkInfo = new TrackInformation( aTrack );
- //if ( oldTrkInfo ) {
-
// copy vtxnotendp flag from old trkInfo
newTrkInfo->setVertexIsNotEndpointOfParent( oldTrkInfo->getVertexIsNotEndpointOfParent() );
@@ -286,7 +291,6 @@
*/
delete oldTrkInfo;
oldTrkInfo = 0;
- //}
/*
Set original tracking status; it must be tracking, because otherwise