Newer
Older
Markus Frank
committed
//==========================================================================
Markus Frank
committed
//--------------------------------------------------------------------------
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
Markus Frank
committed
// All rights reserved.
Markus Frank
committed
// For the licensing terms see $DD4hepINSTALL/LICENSE.
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
Markus Frank
committed
// Author : M.Frank
//
//==========================================================================
// Framework include files
#include "DDG4/Geant4TrackInformation.h"
using namespace std;
using namespace dd4hep;
using namespace dd4hep::sim;
/// Default constructor
Geant4TrackInformation::Geant4TrackInformation()
Markus Frank
committed
: G4VUserTrackInformation(), m_flags(0) {
}
/// Standard destructor
Geant4TrackInformation::~Geant4TrackInformation() {
}
/// Access flag if track should be stored
Geant4TrackInformation& Geant4TrackInformation::storeTrack(bool value) {
value ? m_flags |= STORE : m_flags &= ~STORE;
return *this;
}