diff --git a/src/TRestDetectorGas.cxx b/src/TRestDetectorGas.cxx index c989fe86..8cbd281d 100644 --- a/src/TRestDetectorGas.cxx +++ b/src/TRestDetectorGas.cxx @@ -494,13 +494,13 @@ void TRestDetectorGas::GetGasWorkFunction() { #endif } -//Get the fano factor from Garfield::MediumMagboltz -//User need to have installed the last version of -//Garfield to this to work +// Get the fano factor from Garfield::MediumMagboltz +// User need to have installed the last version of +// Garfield to this to work -Double_t TRestDetectorGas::GetGasFanoFactor(){ +Double_t TRestDetectorGas::GetGasFanoFactor() { #if defined USE_Garfield - if(fStatus != RESTGAS_GASFILE_LOADED){ + if (fStatus != RESTGAS_GASFILE_LOADED) { RESTDebug << "-- Error : " << __PRETTY_FUNCTION__ << RESTendl; RESTDebug << "-- Error : Gas file was not loaded!" << RESTendl; return 0; @@ -510,13 +510,13 @@ Double_t TRestDetectorGas::GetGasFanoFactor(){ Double_t F; F = fGasMedium->GetFanoFactor(); - if (F == 0.){ + if (F == 0.) { std::cout << "Fano Factor is 0! This REST is not compiled with the last " - "version of Garfield" + "version of Garfield" << std::endl; std::cout << "To use Garfield Fano factors, please compile REST " - " with the latest Garfield version!" - << std::endl; + " with the latest Garfield version!" + << std::endl; } return F; #else @@ -526,7 +526,6 @@ Double_t TRestDetectorGas::GetGasFanoFactor(){ std::cout << "Please define the Fano factor in each process!" << std::endl; return 0; #endif - } /////////////////////////////////////////////