From e6d659789e73b9c31d85e3cba9b6cc0326561402 Mon Sep 17 00:00:00 2001 From: Alexandru Bercuci <abercuci@niham.nipne.ro> Date: Thu, 10 Mar 2022 01:10:14 +0200 Subject: [PATCH] fix code format --- .../detectors/trd/unpack/CbmTrdUnpackFaspMonitor.cxx | 12 +++++------- reco/detectors/trd/unpack/CbmTrdUnpackFaspMonitor.h | 2 +- reco/detectors/trd/unpack/CbmTrdUnpackMonitor.h | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/reco/detectors/trd/unpack/CbmTrdUnpackFaspMonitor.cxx b/reco/detectors/trd/unpack/CbmTrdUnpackFaspMonitor.cxx index 2175a7f86c..8860363d1f 100644 --- a/reco/detectors/trd/unpack/CbmTrdUnpackFaspMonitor.cxx +++ b/reco/detectors/trd/unpack/CbmTrdUnpackFaspMonitor.cxx @@ -164,24 +164,22 @@ void CbmTrdUnpackFaspMonitor::createHisto(eDigiHistos kHisto) break; case eDigiHistos::kCharge: - newhisto = - std::make_shared<TH2I>(histoname.data(), Form("%s %d", histoname.data(), modId), 2 * nchs, -0.5, - (nchs - 0.5), 4095, 0.5, 4095.5); + newhisto = std::make_shared<TH2I>(histoname.data(), Form("%s %d", histoname.data(), modId), 2 * nchs, -0.5, + (nchs - 0.5), 4095, 0.5, 4095.5); newhisto->SetXTitle("Pad-Id"); newhisto->SetYTitle("Sgn [ADU]"); newhisto->SetZTitle("Yield"); break; case eDigiHistos::kChannel: - newhisto = std::make_shared<TH2I>(histoname.data(), Form("%s %d", histoname.data(), modId), NFASPMOD, -0.5, + newhisto = std::make_shared<TH2I>(histoname.data(), Form("%s %d", histoname.data(), modId), NFASPMOD, -0.5, (NFASPMOD - 0.5), NFASPCH, -0.5, NFASPCH - 0.5); newhisto->SetXTitle("FASP-Id"); newhisto->SetYTitle("FASP-Ch"); newhisto->SetZTitle("Yield"); break; case eDigiHistos::kDigiDeltaT: - newhisto = - std::make_shared<TH2I>(histoname.data(), Form("%s %d", histoname.data(), modId), 2 * nchs, -0.5, - (nchs - 0.5), 1000, 0, 1e2); + newhisto = std::make_shared<TH2I>(histoname.data(), Form("%s %d", histoname.data(), modId), 2 * nchs, -0.5, + (nchs - 0.5), 1000, 0, 1e2); newhisto->SetXTitle("Pad-Id"); newhisto->SetYTitle("Rate_{SGN} [kHz]"); newhisto->SetZTitle("Yield"); diff --git a/reco/detectors/trd/unpack/CbmTrdUnpackFaspMonitor.h b/reco/detectors/trd/unpack/CbmTrdUnpackFaspMonitor.h index aee51c0352..3dce9adbdc 100644 --- a/reco/detectors/trd/unpack/CbmTrdUnpackFaspMonitor.h +++ b/reco/detectors/trd/unpack/CbmTrdUnpackFaspMonitor.h @@ -19,8 +19,8 @@ #define CbmTrdUnpackFaspMonitor_H #include "CbmTrdDigi.h" -#include "CbmTrdParSetAsic.h" #include "CbmTrdParModDigi.h" +#include "CbmTrdParSetAsic.h" #include "CbmTrdUnpackMonitor.h" #include <MicrosliceDescriptor.hpp> diff --git a/reco/detectors/trd/unpack/CbmTrdUnpackMonitor.h b/reco/detectors/trd/unpack/CbmTrdUnpackMonitor.h index 9ba2c04ece..10445c2007 100644 --- a/reco/detectors/trd/unpack/CbmTrdUnpackMonitor.h +++ b/reco/detectors/trd/unpack/CbmTrdUnpackMonitor.h @@ -22,8 +22,8 @@ #define CbmTrdUnpackMonitor_H #include "CbmTrdDigi.h" -#include "CbmTrdParSetDigi.h" #include "CbmTrdParSetAsic.h" +#include "CbmTrdParSetDigi.h" #include "CbmTrdRawMessageSpadic.h" #include "CbmTrdSpadic.h" -- GitLab