Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn users of deprecated classes #255

Merged
merged 3 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/physics/ELLookupTable.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
//
// This class describes the generation of the EL light.
//
// ****************************** WARNING *******************************
// ******************* This class has been deprecated *******************
// **********************************************************************
//
// The NEXT Collaboration
// ----------------------------------------------------------------------------

Expand Down
4 changes: 4 additions & 0 deletions source/physics/ELLookupTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
//
// This class describes the generation of the EL light.
//
// ****************************** WARNING *******************************
// ******************* This class has been deprecated *******************
// **********************************************************************
//
// The NEXT Collaboration
// ----------------------------------------------------------------------------

Expand Down
4 changes: 4 additions & 0 deletions source/physics/RadiusDependentDriftField.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
//
// Drift field varying with radial coordinate.
//
// ****************************** WARNING *******************************
// ***************** This class has not been implemented ****************
// **********************************************************************
//
// The NEXT Collaboration
// ----------------------------------------------------------------------------

Expand Down
4 changes: 4 additions & 0 deletions source/physics/RadiusDependentDriftField.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
//
// Drift field varying with radial coordinate.
//
// ****************************** WARNING *******************************
// ***************** This class has not been implemented ****************
// **********************************************************************
//
// The NEXT Collaboration
// ----------------------------------------------------------------------------

Expand Down
4 changes: 4 additions & 0 deletions source/physics/WavelengthShifting.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
// from a wls_absorption length property but through a probability property,
// thus independent from the material thickness.
//
// ****************************** WARNING *******************************
// ******************* This class has been deprecated *******************
// **********************************************************************
//
// The NEXT Collaboration
// ----------------------------------------------------------------------------

Expand Down
4 changes: 4 additions & 0 deletions source/physics/WavelengthShifting.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
// from a wls_absorption length property but through a probability property,
// thus independent from the material thickness.
//
// ****************************** WARNING *******************************
// ******************* This class has been deprecated *******************
// **********************************************************************
//
// The NEXT Collaboration
// ----------------------------------------------------------------------------

Expand Down
10 changes: 0 additions & 10 deletions source/physics_lists/NexusPhysics.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "IonizationClustering.h"
#include "IonizationDrift.h"
#include "Electroluminescence.h"
#include "WavelengthShifting.h"
#include "OpPhotoelectricEffect.h"

#include <G4GenericMessenger.hh>
Expand Down Expand Up @@ -75,15 +74,6 @@ namespace nexus {
{
G4ProcessManager* pmanager = 0;

// Add our own wavelength shifting process for the optical photon
pmanager = G4OpticalPhoton::Definition()->GetProcessManager();
if (!pmanager) {
G4Exception("[NexusPhysics]", "ConstructProcess()", FatalException,
"G4OpticalPhoton without a process manager.");
}
WavelengthShifting* wls = new WavelengthShifting();
pmanager->AddDiscreteProcess(wls);

pmanager = IonizationElectron::Definition()->GetProcessManager();
if (!pmanager) {
G4Exception("[NexusPhysics]", "ConstructProcess()", FatalException,
Expand Down
Loading