Commit 50543b17 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Adapt to allcaps transformation

parent f9353fb4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ namespace allpix::physicslists {
     */
    inline G4VModularPhysicsList* getList(const std::string& list_name) {

        if(list_name == "microelec-sionly") {
        if(list_name == "MICROELEC-SIONLY") {
            // Downcasting from a G4VUserPhysicsList* to a G4VModularPhysicsList
            return dynamic_cast<G4VModularPhysicsList*>(new MicroElecSiPhysics());
        }
+1 −1
Original line number Diff line number Diff line
@@ -222,7 +222,7 @@ void DepositionGeant4Module::initialize() {

    // If the specified physics list is one of the microelec variations, apply a target region to the volumes with silicon
    // materials
    if(physics_list == "microelec" || physics_list == "microelec-sionly") {
    if(physics_list == "MICROELEC" || physics_list == "MICROELEC-SIONLY") {
        // Create target region
        auto* region = new G4Region("Target");