Skip to content

Commit 438a23a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4a1282f commit 438a23a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/TRestDetectorSignalToRawSignalProcess.cxx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ TRestEvent* TRestDetectorSignalToRawSignalProcess::ProcessEvent(TRestEvent* inpu
365365
} else if (fTriggerMode == "fixed") {
366366
startTimeNoOffset = fTriggerFixedStartTime;
367367
} else {
368-
cerr << "TRestDetectorSignalToRawSignalProcess::ProcessEvent: "
369-
<< "Trigger mode not recognized" << RESTendl;
368+
cerr << "TRestDetectorSignalToRawSignalProcess::ProcessEvent: " << "Trigger mode not recognized"
369+
<< RESTendl;
370370
exit(1);
371371
}
372372

@@ -376,8 +376,8 @@ TRestEvent* TRestDetectorSignalToRawSignalProcess::ProcessEvent(TRestEvent* inpu
376376
string type = signal->GetSignalType();
377377
// Check type is in the map
378378
if (fParametersMap.find(type) == fParametersMap.end()) {
379-
RESTWarning << "TRestDetectorSignalToRawSignalProcess::ProcessEvent: "
380-
<< "type " << type << " not found in parameters map" << RESTendl;
379+
RESTWarning << "TRestDetectorSignalToRawSignalProcess::ProcessEvent: " << "type " << type
380+
<< " not found in parameters map" << RESTendl;
381381
type = "";
382382
}
383383

@@ -618,8 +618,8 @@ void TRestDetectorSignalToRawSignalProcess::InitProcess() {}
618618

619619
Double_t TRestDetectorSignalToRawSignalProcess::GetEnergyFromADC(Double_t adc, const string& type) const {
620620
if (fParametersMap.find(type) == fParametersMap.end()) {
621-
RESTWarning << "TRestDetectorSignalToRawSignalProcess::GetEnergyFromADC: "
622-
<< "type " << type << " not found in parameters map" << RESTendl;
621+
RESTWarning << "TRestDetectorSignalToRawSignalProcess::GetEnergyFromADC: " << "type " << type
622+
<< " not found in parameters map" << RESTendl;
623623
return 0;
624624
}
625625
const auto gain = fParametersMap.at(type).calibrationGain;
@@ -629,8 +629,8 @@ Double_t TRestDetectorSignalToRawSignalProcess::GetEnergyFromADC(Double_t adc, c
629629

630630
Double_t TRestDetectorSignalToRawSignalProcess::GetADCFromEnergy(Double_t energy, const string& type) const {
631631
if (fParametersMap.find(type) == fParametersMap.end()) {
632-
RESTWarning << "TRestDetectorSignalToRawSignalProcess::GetEnergyFromADC: "
633-
<< "type " << type << " not found in parameters map" << RESTendl;
632+
RESTWarning << "TRestDetectorSignalToRawSignalProcess::GetEnergyFromADC: " << "type " << type
633+
<< " not found in parameters map" << RESTendl;
634634
return 0;
635635
}
636636
const auto gain = fParametersMap.at(type).calibrationGain;
@@ -640,8 +640,8 @@ Double_t TRestDetectorSignalToRawSignalProcess::GetADCFromEnergy(Double_t energy
640640

641641
Double_t TRestDetectorSignalToRawSignalProcess::GetTimeFromBin(Double_t bin, const string& type) const {
642642
if (fParametersMap.find(type) == fParametersMap.end()) {
643-
RESTWarning << "TRestDetectorSignalToRawSignalProcess::GetEnergyFromADC: "
644-
<< "type " << type << " not found in parameters map" << RESTendl;
643+
RESTWarning << "TRestDetectorSignalToRawSignalProcess::GetEnergyFromADC: " << "type " << type
644+
<< " not found in parameters map" << RESTendl;
645645
return 0;
646646
}
647647
const auto sampling = fParametersMap.at(type).sampling;
@@ -650,8 +650,8 @@ Double_t TRestDetectorSignalToRawSignalProcess::GetTimeFromBin(Double_t bin, con
650650

651651
Double_t TRestDetectorSignalToRawSignalProcess::GetBinFromTime(Double_t time, const string& type) const {
652652
if (fParametersMap.find(type) == fParametersMap.end()) {
653-
RESTWarning << "TRestDetectorSignalToRawSignalProcess::GetEnergyFromADC: "
654-
<< "type " << type << " not found in parameters map" << RESTendl;
653+
RESTWarning << "TRestDetectorSignalToRawSignalProcess::GetEnergyFromADC: " << "type " << type
654+
<< " not found in parameters map" << RESTendl;
655655
return 0;
656656
}
657657
const auto sampling = fParametersMap.at(type).sampling;

0 commit comments

Comments
 (0)